bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21274: 25.0.50; epa doesn't understand GPG's default-key option


From: Daiki Ueno
Subject: bug#21274: 25.0.50; epa doesn't understand GPG's default-key option
Date: Mon, 17 Aug 2015 17:08:17 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]