diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/share/common | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/common b/src/share/common index 7bacd4e..914fffa 100644 --- a/src/share/common +++ b/src/share/common @@ -1177,9 +1177,11 @@ process_authorized_user_ids() { # fingerprints, one per line: list_primary_fingerprints() { local fake=$(msmktempdir) + trap "rm -rf $fake" EXIT GNUPGHOME="$fake" gpg --no-tty --quiet --import GNUPGHOME="$fake" gpg --with-colons --fingerprint --list-keys | \ awk -F: '/^fpr:/{ print $10 }' + trap - EXIT rm -rf "$fake" } |