GNU bug report logs - #13551
24.3.50; epa-mail-encrypt chooses wrong key

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Fri, 25 Jan 2013 21:33:01 UTC

Severity: wishlist

Found in version 24.3.50

Full log


Message #8 received at 13551 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: 13551 <at> debbugs.gnu.org
Subject: Re: bug#13551: 24.3.50; epa-mail-encrypt chooses wrong key
Date: Mon, 23 Sep 2019 18:40:49 +0200
Richard Stallman <rms <at> gnu.org> writes:

> I have a public key for martin <at> gnu.org and a key for another martin at
> another host.  When I encrypt a message to `martin' -- which means, in
> my case, `martin <at> gnu.org' -- epa-mail-encrypt picks the other martin.
>
> epa needs to know the default mail hostname so as to pick the correct
> Martin.  It can get that from the value of user-mail-address, and
> maybe have other ways to specify it.

I don't think any security-related software should be guessing based on
incomplete email addresses.  As far as I can tell, it requires a
complete match, which I guess means you have a key for "martin" (without
a domain name) in your key ring.

Choosing this is the right thing to do, I think, so I'm closing this bug
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 122 days ago.

Previous Next


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