From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2516 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.user Subject: Re: pgpmime & sign: gnus requests wrong address Date: Sun, 18 May 2003 18:08:02 +0200 Message-ID: References: <86ptn1tix3.fsf@shadowprint.de> <86vfw82uk8.fsf@shadowprint.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668920 15416 80.91.229.2 (31 Jan 2006 00:55:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:55:20 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:49 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: fnatte.nada.kth.se Original-X-Trace: quimby.gnus.org 1053274557 5134 130.237.226.103 (18 May 2003 16:15:57 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 18 May 2003 16:15:57 GMT User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:61Qw7x2EkpBEFsBXFXHdPvrO5ME= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2656 Original-Lines: 37 X-Gnus-Article-Number: 2656 Tue Jan 17 17:30:49 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2516 Archived-At: Daniel Hofmann writes: > Simon Josefsson writes: > >> Daniel Hofmann 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?