From 547c1267bca2579b7f8d96b1c613b07ff278a1c3 Mon Sep 17 00:00:00 2001 From: Rudy Gevaert <66934+rgevaert@users.noreply.github.com> Date: Tue, 1 Sep 2020 14:20:32 +0200 Subject: [PATCH] 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 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f84f660..6d48413 100644 --- a/README.md +++ b/README.md @@ -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!