Merge pull request #356 from OrganicPanda/patch-1

Reorder cleanup commands
pull/359/head
drduh 2022-12-26 10:07:53 -08:00 committed by GitHub
commit 0666a2b38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1808,10 +1808,10 @@ Ensure you have:
Reboot or [securely delete](http://srm.sourceforge.net/) `$GNUPGHOME` and remove the secret keys from the GPG keyring: Reboot or [securely delete](http://srm.sourceforge.net/) `$GNUPGHOME` and remove the secret keys from the GPG keyring:
```console ```console
$ sudo srm -r $GNUPGHOME || sudo rm -rf $GNUPGHOME
$ gpg --delete-secret-key $KEYID $ gpg --delete-secret-key $KEYID
$ sudo srm -r $GNUPGHOME || sudo rm -rf $GNUPGHOME
$ unset GNUPGHOME $ unset GNUPGHOME
``` ```