Skip to content

Commit

Permalink
Merge pull request #171 from crazy-max/dependabot/npm_and_yarn/openpg…
Browse files Browse the repository at this point in the history
…p-5.9.0

Bump openpgp from 5.8.0 to 5.9.0
  • Loading branch information
crazy-max committed Jun 26, 2023
2 parents 6f6401f + a8103d5 commit 3f4ec4a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -25,7 +25,7 @@
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"addressparser": "^1.0.1",
"openpgp": "^5.8.0"
"openpgp": "^5.9.0"
},
"devDependencies": {
"@types/node": "^16.18.26",
Expand Down
6 changes: 5 additions & 1 deletion src/gpg.ts
Expand Up @@ -193,7 +193,11 @@ export const getKeygrip = async (fingerprint: string): Promise<string> => {
};

export const configureAgent = async (config: string): Promise<void> => {
const gpgAgentConf = path.join(await getGnupgHome(), 'gpg-agent.conf');
const gnupgHomeDir = await getGnupgHome();
if (!fs.existsSync(gnupgHomeDir)) {
fs.mkdirSync(gnupgHomeDir, {recursive: true});
}
const gpgAgentConf = path.join(gnupgHomeDir, 'gpg-agent.conf');
await fs.writeFile(gpgAgentConf, config, function (err) {
if (err) throw err;
});
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Expand Up @@ -3064,7 +3064,7 @@ __metadata:
eslint-plugin-jest: ^27.2.1
eslint-plugin-prettier: ^4.2.1
jest: ^29.5.0
openpgp: ^5.8.0
openpgp: ^5.9.0
prettier: ^2.8.8
ts-jest: ^29.1.0
ts-node: ^10.9.1
Expand Down Expand Up @@ -4206,12 +4206,12 @@ __metadata:
languageName: node
linkType: hard

"openpgp@npm:^5.8.0":
version: 5.8.0
resolution: "openpgp@npm:5.8.0"
"openpgp@npm:^5.9.0":
version: 5.9.0
resolution: "openpgp@npm:5.9.0"
dependencies:
asn1.js: ^5.0.0
checksum: 81eb96bc6df5c7a5eef2b2e2e4602959315e09a1b10ed30326226a12086d4b4aacf981b8329ec3a10b99cf894a14d037b562e62e4b359b27214177704763cd20
checksum: 787e9e5169aa514ac309e1f813699d1c080ebd579db25d6ec89d1f2bf225d7eeb615364ca3ada543e6445d6363ea49ffec90ffa306274033a5cf01694b01632a
languageName: node
linkType: hard

Expand Down

0 comments on commit 3f4ec4a

Please sign in to comment.