Delete secret key without public key

vedaal at hush.com vedaal at hush.com
Tue Mar 23 15:18:48 CET 2010


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

>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 
keyring.

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

vedaal




More information about the Gnupg-users mailing list