2 keys with same passwords and email on keyserver(but only 1 secretkey)

David Shaw dshaw at jabberwocky.com
Thu Nov 29 17:12:32 CET 2007

On Tue, Nov 27, 2007 at 11:52:29PM +0100, Peter Lampesberger wrote:
> hey!
> Im a gpg newbie...
> And i did one bad thing: I generated my first key.... and uploaded the 
> public key to the keyserver.
> then i decided to take a better keylength and deleted the old key on my 
> harddisk (and yeah i ignored the warning message.)
> Of course, i didnt generate any revoke-cetifikates...
> And now i generated the second key with the same password and email but 
> with another length and uploaded it again.
> Now I have 2 public keys and only one private key....
> But i tried to send an encrypted mail with my first public key.... And 
> could decrypt it?!?! I deleted my old private key.. so why can i decrypt 
> it?

There isn't enough information here to give a solid answer, but I
suspect that since both keys have the same user ID string, you are
encrypting to the new key, and only think you are encrypting to the
old one.  Or possibly you didn't really delete the old key.


More information about the Gnupg-users mailing list