Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: pgpmime & sign: gnus requests wrong address
       [not found]   ` <86vfw82uk8.fsf@shadowprint.de>
@ 2003-05-18 16:08     ` Simon Josefsson
  0 siblings, 0 replies; only message in thread
From: Simon Josefsson @ 2003-05-18 16:08 UTC (permalink / raw)


Daniel Hofmann <usenet@shadowprint.de> writes:

> Simon Josefsson <jas@extundo.com> writes:
>
>> Daniel Hofmann <usenet@shadowprint.de> writes:
>>
>>> Hi,
>>>
>>> when I am trying to use a pgp/mime signature (secure method=pgpmime
>>> mode=sign), gnus asks for the wrong passphrase: for the systemuser I
>>> am logged in as, not the one according to the From: - field.
>>
>> Set `pgg-default-user-id' to your real user id.  By default, it uses
>> whatever the OpenPGP implementation thinks is best, which may be
>> incorrect.  Another solution is to specify a default key in the
>> OpenPGP implementation.
>>
>>> Using plain pgp (secure method=pgp mode=sign) works fine. 
>>
>> This was a bug, will be fixed in the next release.
>>
>> The problem is that using From: as a source of key id is not reliable,
>> some people do not have a key id matching the From: address they use,
>> and this would force them to specify a MML sender= tag.  Instead, Gnus
>> will in the future not assume anything about the key ID unless
>> specified by the user.
>>
>> Suggestions on this are welcome, it still isn't very mature.
>
> As I am handling several email - identities I found the bug with plain
> pgp was actually a feature. But I understand the trouble with it. Is
> there a way to handle different pgp user id's with
> gnus-posting-styles?

Have it insert a MML sender= tag corresponding to the user id you use?

Or bind a buffer local pgg-default-user-id to the right pgp user id?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-18 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <86ptn1tix3.fsf@shadowprint.de>
     [not found] ` <iluof2h8ba5.fsf@latte.josefsson.org>
     [not found]   ` <86vfw82uk8.fsf@shadowprint.de>
2003-05-18 16:08     ` pgpmime & sign: gnus requests wrong address Simon Josefsson

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 NNTP newsgroup(s).