aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorMax Mäusezahl <maxmaeusezahl@googlemail.com>2020-05-24 17:53:56 +0200
committerMax Mäusezahl <maxmaeusezahl@googlemail.com>2020-05-24 17:53:56 +0200
commit1cf9656b3343596f0d1a1e97d2942e9d285e2171 (patch)
tree812c2104fbb0d86b833ea6c197db4fddabadae67 /README.md
parentMerge pull request #187 from mikem/rotate-edit-in-expert-mode (diff)
downloadYubiKey-Guide-1cf9656b3343596f0d1a1e97d2942e9d285e2171.tar.gz
Fix order of revocation command.
According to 'man gpg' the order of arguments should be gpg [--homedir name] [--options file] [options] command [args] In this case '--gen-revoke' is the command, '$KEYID' is an argument and '--output $GNUPGHOME/revoke.asc' is an option. Previously this was incorrect (option came first) and would spawn an error.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index e60cb39..5d4d55b 100644
--- a/README.md
+++ b/README.md
@@ -881,7 +881,7 @@ Even worse, we cannot advertise this fact in any way to those that are using our
To create the revocation certificate:
``` console
-$ gpg --gen-revoke $KEYID --output $GNUPGHOME/revoke.asc
+$ gpg --output $GNUPGHOME/revoke.asc --gen-revoke $KEYID
```
The `revoke.asc` certificate file should be stored (or printed) in a (secondary) place that allows retrieval in case the main backup fails.