Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump openpgp from 5.8.0 to 5.9.0 #171

Merged
merged 3 commits into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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