Problem with multiple encryption subkeys

Holger Sesterhenn Holger.Sesterhenn at smgwtest.aachen.utimaco.de
Wed Oct 15 14:06:08 CEST 2003


Hi,

I would like to encrypt to a public key which have two ELGamal encryption
subkeys (11111111,22222222). Because I don't know which of the subkeys is
valid I encrypt to both!

This is my command:

gpg --armor --recipient 0x11111111 --recipient 0x22222222 \
	--output file.txt.asc --encrypt file.txt

GnuPG 1.2.3 says something like "0x1111111, Public key already there, skipped!"

If I use 0x22222222 as first recipient this keyid is shown in the message.

Why?

Does GnuPG detect the keyid of the primary (signing) key which of course is
the same because its the same key (certificate)?

-- 
Best Regards,

Holger Sesterhenn
====
Internet   http://www.utimaco.com




More information about the Gnupg-users mailing list