Skip to content

Commit

Permalink
Merge branch 'master' into issue-5681-replace-ossar-with-eslint-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
martgil authored May 24, 2024
2 parents 21ee7a4 + 034b77a commit 59bcea4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/js/common/core/crypto/pgp/openpgp-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export class OpenPGPKey {
const message = await opgp.createMessage({ text });
return await opgp.sign({ message, format: 'armored', signingKeys: [signingPrv], detached });
}
text = text ? text : '\n';
const message = await opgp.createCleartextMessage({ text });
return await opgp.sign({ message, signingKeys: [signingPrv] });
}
Expand Down

0 comments on commit 59bcea4

Please sign in to comment.