Fault ?? - Encrypting to Public Key/Revoked UID Allowed

Simon Wood Simon.Wood at pace.co.uk
Tue Feb 27 13:39:03 CET 2001

Reposted from the gnupg-user list as nobody repsonded :-(

Hi all,
A while ago I switched ISP and therefore needed to sort out my private key. I've
generated a new UID on my GnuPG key and revoked the original UID.

However a quick test show that I can still encrypt to the old UID.

The handbook states that you can't encrypt to a revoked key, shouldn't the same
apply for a revoked UID??

I'm GnuPG 1.0.4 on SuSE 6.2,
thanks in advance,
Simon Wood.

---------- screen dump showing (alleged) fault -----------
simon at frostie:~ > gpg --list-keys simon at mungewell.uklinux.net
gpg: Warning: using insecure memory!
pub  1024D/575E8783 2000-02-07 Simon Wood <simon at mungewell.uklinux.net>
uid                            [revoked] Simon Wood (Simon Wood) <simon at mungewell.ndirect.co.uk>
uid                            Simon Wood <simon at mungewell.tele2.co.uk>
sub  1024g/16B75E59 2000-02-07

simon at frostie:~ > gpg --encrypt test
gpg: Warning: using insecure memory!
You did not specify a user ID. (you may use "-r")

Enter the user ID: simon at mungewell.ndirect.co.uk
File `test.gpg' exists. Overwrite (y/N)? y
simon at frostie:~ > 

More information about the Gnupg-devel mailing list