14Mar
GPG deleted key/disassociation
I had a key that I accidentally deleted from the keyring a while ago and I'd like to dissociate my name from it. I still have the key as well as the revocation certificate. I made another keypair since then with an entirely different passphrase and I'd like to remove my name from the old one.
Update: When going to revoke the UID I wish to be rid of using the revuid command I am met with this message:
gpg --edit-key 0x123456789
sec rsa4096/XXXXXXXXX
created: 2029-03-14 expires: 2031-03-14 usage: SC
trust: unknown validity: unknown
ssb rsa4096/YYYYYYYYY
created: 2029-03-14 expires: 2030-03-14 usage: E
[ unknown] (1)* Name lastname (Hello) <example@email.com>
gpg> revuid
Really revoke this user ID? (y/N) y
Please select the reason for the revocation:
0 = No reason specified
4 = User ID is no longer valid
Q = Cancel
(Probably you want to select 4 here)
Your decision? 4
Enter an optional description; end it with an empty line:
>
Reason for revocation: User ID is no longer valid
(No description given)
Is this okay? (y/N) y
gpg: Cannot revoke the last valid user ID.
I suspect it has to do with the trust level of the UID I wish to revoke.