Skip to content

Commit

Permalink
Update generated content
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Sep 3, 2020
1 parent e55ea89 commit 0a25c3b
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 40 deletions.
5 changes: 1 addition & 4 deletions __tests__/gpg.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ const userInfo = {
email: '[email protected]',
keyID: 'D523BD50DD70B0BA',
fingerprint: '27571A53B86AF0C799B38BA77D851EB72D73BDA0',
keygrips: [
'3E2D1142AA59E08E16B7E2C64BA6DDC773B1A627',
'BA83FC8947213477F28ADC019F6564A956456163',
]
keygrips: ['3E2D1142AA59E08E16B7E2C64BA6DDC773B1A627', 'BA83FC8947213477F28ADC019F6564A956456163']
};

describe('gpg', () => {
Expand Down
120 changes: 85 additions & 35 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/gpg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ export const importKey = async (key: string): Promise<string> => {
});
};


export const getKeygrips = async (fingerprint: string): Promise<Array<string>> => {
return await exec.exec('gpg', ['--batch', '--with-colons', '--with-keygrip', '--list-secret-keys', fingerprint], true).then(res => {
if (res.stderr != '' && !res.success) {
Expand Down

0 comments on commit 0a25c3b

Please sign in to comment.