Re: How do I delete secret subkeys correctly?

2019-04-11 Thread Matheus Afonso Martins Moreira
> I think you might be misinterpreting the result > you say you are dealing with revoked subkeys. > Unless you specify "--list-options show-unusable-subkeys", > you might not see those in the keylistings even though they are there. You're right! > The gpg binary only deals with public keys in the

Re: How do I delete secret subkeys correctly?

2019-04-11 Thread Matheus Afonso Martins Moreira
> I was trying to figure out how to do it through the user interface, and > it's pretty clunky, with some scary failure modes. I've opened > https://dev.gnupg.org/T4457 about it. Thank you! > I know that with the version of GnuPG that you're using right now, you > can delete the secret key by le

Re: How do I delete secret subkeys correctly?

2019-04-11 Thread Matheus Afonso Martins Moreira
The --edit-key command did work this time. That's weird. I tried this with my original keys and my experience matches what Peter described. When I tried to delkey my original subkeys, gpg deleted the public key packets, leaving the secret keys intact. Public key list confirmed deletion of the subk

How do I delete secret subkeys correctly?

2019-04-10 Thread Matheus Afonso Martins Moreira
I had some revoked subkeys that I was not going to use anymore. I thought it would be a good idea to delete their secret keys, so I used the gpg --delete-secret-keys command to do it. I ended up accidentally deleting all my keys instead, including my primary key. I'm trying to learn from my mistak