Skip to content

Commit

Permalink
OpenPGP.js 5.0.0-4
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Jul 23, 2021
1 parent 3eaddb4 commit 4571952
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
34 changes: 17 additions & 17 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -25,7 +25,7 @@
"@actions/core": "^1.2.6",
"@actions/exec": "^1.0.4",
"addressparser": "^1.0.1",
"openpgp": "^5.0.0-3"
"openpgp": "^5.0.0-4"
},
"devDependencies": {
"@types/jest": "^26.0.14",
Expand Down
4 changes: 2 additions & 2 deletions src/openpgp.ts
Expand Up @@ -43,8 +43,8 @@ export const generateKeyPair = async (name: string, email: string, passphrase: s
});

return {
publicKey: keyPair.publicKeyArmored.replace(/\r\n/g, '\n').trim(),
privateKey: keyPair.privateKeyArmored.replace(/\r\n/g, '\n').trim()
publicKey: keyPair.publicKey.replace(/\r\n/g, '\n').trim(),
privateKey: keyPair.privateKey.replace(/\r\n/g, '\n').trim()
};
};

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -2765,10 +2765,10 @@ onetime@^5.1.0:
dependencies:
mimic-fn "^2.1.0"

openpgp@^5.0.0-3:
version "5.0.0-3"
resolved "https://registry.yarnpkg.com/openpgp/-/openpgp-5.0.0-3.tgz#08bbd878edc7c8e3c8443d8ace2c3b2236e3150c"
integrity sha512-5Yzd7hjoCtR0m27yrM6+Li1RcuUPIyVJXKMfR82HJotfst5NEEQHxCyUJvDWc8SqKS53zFyTl0SlPaZ08C2PxA==
openpgp@^5.0.0-4:
version "5.0.0-4"
resolved "https://registry.yarnpkg.com/openpgp/-/openpgp-5.0.0-4.tgz#6945cf5c66bb06213dcb04b4d7ca2b50de9392a3"
integrity sha512-PGfI4arJwXakJKfbb+weVBQ1OFxDfHiX5XmpCWeyTMjYRofU2UsynLxaJo9vs3xKv87eEPHFbVcIvrVCYnfEkQ==
dependencies:
asn1.js "^5.0.0"

Expand Down

0 comments on commit 4571952

Please sign in to comment.