1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-12-22 16:38:56 +00:00

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

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 $ sudo srm -r $GNUPGHOME || sudo rm -rf $GNUPGHOME
$ gpg --delete-secret-key $KEYID $ 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! **Important** Make sure you have securely erased all generated keys and revocation certificates if an ephemeral enviroment was not used!