UID of secret key gone (OT)

Jörg Ziefle joerg.ziefle at studbox.uni-stuttgart.de
Thu Jan 20 10:59:10 CET 2000


Hello,

My apologies if this is OT, but I am quite desperate 'bout the problem and
no one at gnupg-users could help me. So here we go:

After accidentially copying pubring.pgp~ over pubring.pgp (which had other
user ids the original didn't have), I had to discover that my GPG secret
key had lost it's User ID (so that I can't sign with it in most
applications):

joerg at norad:~/.gnupg > gpg --list-secret-key
/home/joerg/.gnupg/secring.gpg
------------------------------
sec  1024D/68FBD67F 2000-01-18 
ssb  1024g/CB70CD4D 2000-01-18

However the public key has still its UID:

/home/joerg/.gnupg/pubring.gpg
------------------------------
pub  1024D/68FBD67F 2000-01-18 Joerg Ziefle <joerg.ziefle at gmx.de>
sub  1024g/CB70CD4D 2000-01-18

Is there a way to recover the secret key, that means to edit the secret
key to get back its User ID?

Many thanks in advance,

Joerg

-- 
Jörg Ziefle             email:   joerg.ziefle@(web.de|gmx.(de|net))
Allmandring 20 D 35     Phone:                   +49 (0)177 4389721
D-70569 Vaihingen       WWW  :   http://129.69.164.234:20104/~joerg
PGP Fingerprint:   D9 13 E5 1F 10 3F 85 C7  A7 8A 4F 9A B5 6F 5B 80




More information about the Gnupg-devel mailing list