Delete secret key without public key

vedaal at vedaal at
Tue Mar 23 15:18:48 CET 2010

André_Ludwig <andre () bluesalamand ! de> wrote on 2010-03-20 

>I've got a secret key which is useless (ID AB756AEB) and I want to 
>delete it from my keyring. This secret key has no associated 
public key.

It's not useless.

Gnupg secret keys already include the public key and automatically 
extract it when only the secret key is imported.

Try this:

[1] export your secret key
[2] re-import it

Gnupg will automatically extract the public key and add it to your 

(hope it's not too late, and you can still do it from your keyring 
or a backup ;-) )


More information about the Gnupg-users mailing list