[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12696: 24.2.50; epa bug with gpg-agent
From: |
Daiki Ueno |
Subject: |
bug#12696: 24.2.50; epa bug with gpg-agent |
Date: |
Wed, 14 Nov 2012 04:53:38 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Andreas Schwab <schwab@linux-m68k.org> writes:
> Daiki Ueno <ueno@unixuser.org> writes:
>
>> set up (one is DSA used for signing and one is ElGamal used for
>> encryption):
>>
>> - Richard Stallman (Chief GNUisance) <rms@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
- bug#12696: 24.2.50; epa bug with gpg-agent, Richard Stallman, 2012/11/05
- bug#12696: 24.2.50; epa bug with gpg-agent, Richard Stallman, 2012/11/12
- bug#12696: 24.2.50; epa bug with gpg-agent, Daiki Ueno, 2012/11/13
- bug#12696: 24.2.50; epa bug with gpg-agent, Andreas Schwab, 2012/11/13
- bug#12696: 24.2.50; epa bug with gpg-agent,
Daiki Ueno <=
- bug#12696: 24.2.50; epa bug with gpg-agent, Richard Stallman, 2012/11/13
- bug#12696: 24.2.50; epa bug with gpg-agent, Daiki Ueno, 2012/11/13
- bug#12696: 24.2.50; epa bug with gpg-agent, Richard Stallman, 2012/11/14
- bug#12696: 24.2.50; epa bug with gpg-agent, Daiki Ueno, 2012/11/14
- bug#12696: 24.2.50; epa bug with gpg-agent, Richard Stallman, 2012/11/14