This commit is contained in:
CrazyMax 2020-09-03 21:32:29 +02:00
parent ed149326d5
commit e55ea8984f
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -51,8 +51,6 @@ async function run(): Promise<void> {
await gpg.configureAgent(gpg.agentConfig); await gpg.configureAgent(gpg.agentConfig);
core.info('📌 Getting keygrips'); core.info('📌 Getting keygrips');
const keygrips = await gpg.getKeygrips(privateKey.fingerprint);
for (let keygrip of await gpg.getKeygrips(privateKey.fingerprint)) { for (let keygrip of await gpg.getKeygrips(privateKey.fingerprint)) {
core.info(`🔓 Presetting passphrase for ${keygrip}`); core.info(`🔓 Presetting passphrase for ${keygrip}`);
await gpg.presetPassphrase(keygrip, process.env.PASSPHRASE).then(stdout => { await gpg.presetPassphrase(keygrip, process.env.PASSPHRASE).then(stdout => {