1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-10-31 18:42:30 +00:00

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.
This commit is contained in:
Max Mäusezahl 2020-05-24 17:53:56 +02:00
parent 0f850c5d2b
commit 1cf9656b33
No known key found for this signature in database
GPG Key ID: E45EFBC320634259

View File

@ -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: To create the revocation certificate:
``` console ``` 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. The `revoke.asc` certificate file should be stored (or printed) in a (secondary) place that allows retrieval in case the main backup fails.