GNU bug report logs - #12696
24.2.50; epa bug with gpg-agent

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 21 Oct 2012 16:43:01 UTC

Severity: normal

Found in version 24.2.50

Done: Daiki Ueno <ueno <at> unixuser.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daiki Ueno <ueno <at> unixuser.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12696 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: bug#12696: 24.2.50; epa bug with gpg-agent
Date: Wed, 14 Nov 2012 04:53:38 +0900
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Daiki Ueno <ueno <at> unixuser.org> writes:
>
>> set up (one is DSA used for signing and one is ElGamal used for
>> encryption):
>>
>>  - Richard Stallman (Chief GNUisance) <rms <at> gnu.org>
>>  - 624DC565135EA668 1024bits DSA
>> 	Created: 2001-03-05
>> 	Capabilities: sign certify authentication
>> 	Fingerprint: 6F818B215E159EF3FA26B0BE624DC565135EA668
>>  - 879A7C37B1B10ED6 1024bits ELGAMAL_E
>> 	Created: 2001-03-05
>> 	Capabilities: encrypt
>> 	Fingerprint: 04C26DD3834A1AB3A3CAB2D4879A7C37B1B10ED6
>
> That is normal, the second one is a subkey of the first one.  Nowadays
> gpg always creates such a subkey and it should handle that
> transparently.

Then, it might be a gpg-agent issue.  Currently gpg-agent seems to think
separate passphrase is needed for each subkey.

You can try:

$ eval `gpg-agent --daemon`

$ gpg --use-agent -u <your main key-id> --output /dev/null --sign < /dev/null
# gpg-agent asks passphrase

$ gpg --use-agent -u <your main key-id> --output /dev/null --sign < /dev/null
# gpg-agent DOES NOT ask passphrase

$ gpg --use-agent -r <your main key-id> --output foo.gpg --encrypt < /dev/null
# gpg-agent DOES NOT ask passphrase

$ gpg --use-agent < foo.gpg
# gpg-agent asks passphrase

$ gpg --use-agent < foo.gpg
# gpg-agent DOES NOT ask passphrase

Regards,
-- 
Daiki Ueno




This bug report was last modified 12 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.