mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-22 04:50:56 -05:00
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:
commit
3f4ec4ad4b
5 changed files with 14 additions and 10 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue