Merge pull request #171 from crazy-max/dependabot/npm_and_yarn/openpgp-5.9.0

Bump openpgp from 5.8.0 to 5.9.0
This commit is contained in:
CrazyMax 2023-06-26 02:10:25 +02:00 committed by GitHub
commit 3f4ec4ad4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 10 deletions

4
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -25,7 +25,7 @@
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"addressparser": "^1.0.1", "addressparser": "^1.0.1",
"openpgp": "^5.8.0" "openpgp": "^5.9.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^16.18.26", "@types/node": "^16.18.26",

View file

@ -193,7 +193,11 @@ export const getKeygrip = async (fingerprint: string): Promise<string> => {
}; };
export const configureAgent = async (config: string): Promise<void> => { 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) { await fs.writeFile(gpgAgentConf, config, function (err) {
if (err) throw err; if (err) throw err;
}); });

View file

@ -3064,7 +3064,7 @@ __metadata:
eslint-plugin-jest: ^27.2.1 eslint-plugin-jest: ^27.2.1
eslint-plugin-prettier: ^4.2.1 eslint-plugin-prettier: ^4.2.1
jest: ^29.5.0 jest: ^29.5.0
openpgp: ^5.8.0 openpgp: ^5.9.0
prettier: ^2.8.8 prettier: ^2.8.8
ts-jest: ^29.1.0 ts-jest: ^29.1.0
ts-node: ^10.9.1 ts-node: ^10.9.1
@ -4206,12 +4206,12 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"openpgp@npm:^5.8.0": "openpgp@npm:^5.9.0":
version: 5.8.0 version: 5.9.0
resolution: "openpgp@npm:5.8.0" resolution: "openpgp@npm:5.9.0"
dependencies: dependencies:
asn1.js: ^5.0.0 asn1.js: ^5.0.0
checksum: 81eb96bc6df5c7a5eef2b2e2e4602959315e09a1b10ed30326226a12086d4b4aacf981b8329ec3a10b99cf894a14d037b562e62e4b359b27214177704763cd20 checksum: 787e9e5169aa514ac309e1f813699d1c080ebd579db25d6ec89d1f2bf225d7eeb615364ca3ada543e6445d6363ea49ffec90ffa306274033a5cf01694b01632a
languageName: node languageName: node
linkType: hard linkType: hard