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
This commit is contained in:
Rudy Gevaert 2020-09-01 14:20:32 +02:00 committed by GitHub
parent 6e2109ea46
commit 547c1267bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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!