> 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
> 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
On Wed 2019-04-10 17:28:54 +0200, Peter Lebbing wrote:
> On 10/04/2019 17:24, Peter Lebbing wrote:
>> gpg> delkey
>
> Sorry, my fatigued head was being silly. That's for deleting the public
> part, not the secret part. I don't think I know the way to delete the
> secret part when you just want to d
On 11/04/2019 16:06, Matheus Afonso Martins Moreira wrote:
> Public key list confirmed deletion of the subkeys from my public key
> but the secret key list still included all my revoked subkeys.
Could you provide an example? I find this rather surprising, that -K
would ever list more than -k.
> T
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
On Wed, Apr 10, 2019, at 5:06 PM, Matheus Afonso Martins Moreira wrote:
> 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
On 10/04/2019 17:24, Peter Lebbing wrote:
> gpg> delkey
Sorry, my fatigued head was being silly. That's for deleting the public
part, not the secret part. I don't think I know the way to delete the
secret part when you just want to delete some subkey.
Sorry,
Peter.
--
I use the GNU Privacy Gua
On 10/04/2019 15:25, Matheus Afonso Martins Moreira wrote:
> If not, what is the correct way to do this?
$ gpg --edit-key [KEYID]
gpg> key N
gpg> delkey
Where N is the number of the subkey you want to delete; they are
numbered 1 for the first one listed and so on. It will indicate with a
"*" next
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