From: Daiki Ueno <ueno@unixuser.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 12696@debbugs.gnu.org, rms@gnu.org
Subject: bug#12696: 24.2.50; epa bug with gpg-agent
Date: Wed, 14 Nov 2012 04:53:38 +0900 [thread overview]
Message-ID: <8762599t4t.fsf-ueno@unixuser.org> (raw)
In-Reply-To: <m27gppb9ep.fsf@igel.home> (Andreas Schwab's message of "Tue, 13 Nov 2012 20:16:46 +0100")
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
next prev parent reply other threads:[~2012-11-13 19:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-21 16:40 bug#12696: 24.2.50; epa bug with gpg-agent Richard Stallman
2012-10-25 9:45 ` Daiki Ueno
2012-10-26 1:33 ` Richard Stallman
2012-10-26 1:55 ` Daiki Ueno
2012-10-27 1:14 ` Richard Stallman
2012-11-13 5:53 ` Daiki Ueno
2012-11-13 19:16 ` Andreas Schwab
2012-11-13 19:53 ` Daiki Ueno [this message]
2012-11-14 0:46 ` Richard Stallman
2012-11-14 1:30 ` Daiki Ueno
2012-11-14 7:13 ` Richard Stallman
2012-11-15 2:51 ` Daiki Ueno
2012-11-14 7:14 ` Richard Stallman
2012-10-27 1:14 ` Richard Stallman
2012-10-27 1:14 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762599t4t.fsf-ueno@unixuser.org \
--to=ueno@unixuser.org \
--cc=12696@debbugs.gnu.org \
--cc=rms@gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).