From: Daiki Ueno <ueno@gnu.org>
To: Richard Stallman <rms@gnu.org>
Cc: Werner Koch <wk@gnupg.org>, 21274@debbugs.gnu.org
Subject: bug#21274: 25.0.50; epa doesn't understand GPG's default-key option
Date: Mon, 17 Aug 2015 17:08:17 +0900 [thread overview]
Message-ID: <m3r3n28hhq.fsf-ueno@gnu.org> (raw)
In-Reply-To: <m3d1ymabwg.fsf-ueno@gnu.org> (Daiki Ueno's message of "Mon, 17 Aug 2015 11:26:07 +0900")
Daiki Ueno <ueno@gnu.org> writes:
> Richard Stallman <rms@gnu.org> writes:
>
>> Someone sent me gpg-encrypted mail using the throw-keyids option,
>> which I think means it doesn't say which person each key belongs to.
>> The result was I was asked for a passphrase for each key until
>> mine came up.
>>
>> I'm told the recommend way to deal with receiving such mail
>> is to specify default-key in gpg.conf. I have that setting,
>> so it looks like EPA doesn't recognize it.
>
> According to the GnuPG manual, --default-key is used for signing, not
> for decrypting a message encrypted with --throw-keyids or
> --hidden-recipient. IMO, it sounds like a natural extension for
> --default-key to support that use-case. Werner, what do you think?
Apparently, this has already been implemented in GnuPG 2.1, but not in
GnuPG 2.0 nor 1.4:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=54591341
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=g10/getkey.c;h=ad7e71cf7ddca38a917756b8a0675b665c3eddec;hb=54591341#l2565
Maybe good to update the documentation and possibly backport it to other
branches?
Regards,
--
Daiki Ueno
next prev parent reply other threads:[~2015-08-17 8:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-16 13:12 bug#21274: 25.0.50; epa doesn't understand GPG's default-key option Richard Stallman
2015-08-17 2:26 ` Daiki Ueno
2015-08-17 8:08 ` Daiki Ueno [this message]
2015-08-18 3:39 ` Richard Stallman
2015-08-18 3:51 ` Daiki Ueno
2015-08-19 1:24 ` Richard Stallman
2015-08-19 1:39 ` Daiki Ueno
2015-08-19 18:15 ` Richard Stallman
2015-08-20 2:59 ` Daiki Ueno
2015-08-21 12:42 ` Richard Stallman
2015-08-18 3:44 ` Daiki Ueno
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=m3r3n28hhq.fsf-ueno@gnu.org \
--to=ueno@gnu.org \
--cc=21274@debbugs.gnu.org \
--cc=rms@gnu.org \
--cc=wk@gnupg.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).