[PGPNET] Jerome

Grant Olson kgo at grant-olson.net
Sat Mar 26 20:44:47 CET 2011


On 03/26/2011 02:16 PM, Lance W. Haverkamp wrote:
> On 03/26/2011 11:23 AM, Jerome Baum wrote:
>> Werner Koch <wk at gnupg.org> writes:
>>
>>> On Sat, 26 Mar 2011 16:50, jerome at jeromebaum.com said:
>>
>>>> summarize: gpg-agent seems to have problems handling thrown keyids.
>>
>>> You mean the current development version?  Quite possible; that is for
>>> what development versions are for.
>>
>> I don't know which version -- some guys in PGPNET are reporting this.
>>
>>> For 2.0.x there can't be a problem because gpg-agent does not know
>>> anything about keyids because it is only used as a passphrase caching
>>> agent.
>>
>> Again, I don't know anything about this. As you can see in my original
>> email (the part where I quoted myself), I use gpg1.
>>
> 
> 
> Pretty simple:
> 
> Receiving messages with GPG 2.0.14 (Ubuntu Maverick, via Mint Linux):
> When messages to multiple recipients have the key ID's thrown, gpg-agent
> (?) sequentially requests passwords for all secret key many, many, many
> times, but fails to decrypt with any key---even the correct one.
> 

Can you create an easy reproducible?  Does something like this exhibit
the same broken behavior on your system?

grant at johnyaya:~$ echo foo | gpg2 --throw-keyids -r kgo at grant-olson.net
-r Lance at TheHaverkamps.net --encrypt --armor | gpg2 --decrypt -vvvv
gpg: using character set `utf-8'
gpg: armor: BEGIN PGP MESSAGE
Version: GnuPG v2.0.18-git1226772 (GNU/Linux)
:pubkey enc packet: version 3, algo 16, keyid 0000000000000000
	data: [4095 bits]
	data: [4096 bits]
gpg: armor header:
gpg: public key is 00000000
:pubkey enc packet: version 3, algo 1, keyid 0000000000000000
	data: [2048 bits]
gpg: public key is 00000000
gpg: anonymous recipient; trying secret key 6A8F7CF6 ...
gpg: okay, we are the anonymous recipient.
gpg: public key encrypted data: good DEK
:encrypted data packet:
	length: 63
	mdc_method: 2
gpg: encrypted with ELG key, ID 00000000
gpg: encrypted with RSA key, ID 00000000
gpg: AES256 encrypted data
:compressed packet: algo=2
:literal data packet:
	mode b (62), created 1301168561, name="",
	raw data: 4 bytes
gpg: original file name=''
foo
gpg: decryption okay



-- 
-Grant

"Look around! Can you construct some sort of rudimentary lathe?"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 565 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20110326/5609496d/attachment.pgp>


More information about the Gnupg-users mailing list