unset GNUPGHOME variable

if not done, in the next step you get error: 
gpg: keyblock resource '/home/..../gnupg-workspace/pubring.kbx': No such file or directory
gpg: no writable keyring found: Not found
pull/211/head
Rudy Gevaert 4 years ago committed by GitHub
parent 6e2109ea46
commit 547c1267bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1500,6 +1500,8 @@ Reboot or [securely delete](http://srm.sourceforge.net/) `$GNUPGHOME` and remove
$ sudo srm -r $GNUPGHOME || sudo rm -rf $GNUPGHOME
$ gpg --delete-secret-key $KEYID
$ unset GNUPGHOME
```
**Important** Make sure you have securely erased all generated keys and revocation certificates if an ephemeral enviroment was not used!

Loading…
Cancel
Save