[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mail encryption, possible problem with SEMI
- To: wl-en@ml.gentei.org
- Subject: Mail encryption, possible problem with SEMI
- From: Michael Welle <mwe012008@gmx.net>
- Date: Fri, 30 Jan 2015 18:12:59 +0100
- User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
Hello,
I discovered strange behaviour while trying to encrypt mails (Emacs
24.4.1, SEMI is the current version from the melpa archive). The key
ids that are fed to gpg are mostly totally unrelated to the mail's
recipient. The problem seems to be in mime-edit.el. In
mime-edit-encrypt-pgp-mime a recipient list is calculated. A to-header
like 'foo bar <foo@a.b>' is therefore parsed into three elements 'foo',
'bar' and 'foo@a.b', which results in three key ids (depending on the
contents of your key ring). Unfortunately, the key ids resulting from
'foo' and 'bar' are unrelated to this mail in my case (tons of
different keys can be found for foo). And even the key found for
foo@a.b might not be the one one want to use.
As a work around one can use plain mail addresses like 'foo@a.b'.
Regards
hmw