Skip to content

Instantly share code, notes, and snippets.

@jralvarezc
Last active August 29, 2023 19:51
Show Gist options
  • Save jralvarezc/9752210296c4b4fb1bd5ec2590973331 to your computer and use it in GitHub Desktop.
Save jralvarezc/9752210296c4b4fb1bd5ec2590973331 to your computer and use it in GitHub Desktop.
$ gpg --output rev-cert-323D.asc --gen-revoke 3660BC4AB81D3472B1FFF0ADC8C71A9539BB323D
sec rsa2048/C8C71A9539BB323D 2003-12-10 Rafael Alvarez <[email protected]>
Create a revocation certificate for this key? (y/N) y
Please select the reason for the revocation:
0 = No reason specified
1 = Key has been compromised
2 = Key is superseded
3 = Key is no longer used
Q = Cancel
(Probably you want to select 1 here)
Your decision? 1
Enter an optional description; end it with an empty line:
>
Reason for revocation: Key has been compromised
(No description given)
Is this okay? (y/N) y
ASCII armored output forced.
Revocation certificate created.
Please move it to a medium which you can hide away; if Mallory gets
access to this certificate he can use it to make your key unusable.
It is smart to print this certificate and store it away, just in case
your media become unreadable. But have some caution: The print system of
your machine might store the data and make it available to others!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment