From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54745 Path: main.gmane.org!not-for-mail From: "Satyaki Das" Newsgroups: gmane.emacs.gnus.general Subject: Re: PGG with multiple GnuPG keys Date: Sun, 09 Nov 2003 12:16:32 -0800 Sender: ding-owner@lists.math.uh.edu Message-ID: <13408.1068408992@chicory.stanford.edu> References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1068409025 23899 80.91.224.253 (9 Nov 2003 20:17:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2003 20:17:05 +0000 (UTC) Original-X-From: ding-owner+M3286@lists.math.uh.edu Sun Nov 09 21:17:03 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AIvzb-0004qT-00 for ; Sun, 09 Nov 2003 21:17:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AIvzR-00070n-00; Sun, 09 Nov 2003 14:16:53 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AIvzK-00070h-00 for ding@lists.math.uh.edu; Sun, 09 Nov 2003 14:16:46 -0600 Original-Received: from smtp9.Stanford.EDU (smtp9.Stanford.EDU [171.67.16.36]) by justine.libertine.org (Postfix) with ESMTP id 770953A0073 for ; Sun, 9 Nov 2003 14:16:45 -0600 (CST) Original-Received: from cs2.Stanford.EDU (cs2.Stanford.EDU [172.24.64.21]) by smtp9.Stanford.EDU (8.12.10/8.12.10) with ESMTP id hA9KGgUR013578 for ; Sun, 9 Nov 2003 12:16:42 -0800 (PST) Original-Received: from mail by cs2.Stanford.EDU with spam-scanned (Exim 4.24) id 1AIvzE-0002Pf-Lv for ding@gnus.org; Sun, 09 Nov 2003 12:16:41 -0800 Original-Received: from dnab4046e4.stanford.edu ([171.64.70.228] helo=troodon.stanford.edu) by cs2.Stanford.EDU with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AIvzE-0002Pc-KE for ding@gnus.org; Sun, 09 Nov 2003 12:16:40 -0800 Original-Received: from [127.0.0.1] (helo=chicory.stanford.edu) by troodon.stanford.edu with esmtp (Exim 4.12) id 1AIvz7-0003UM-00 for ding@gnus.org; Sun, 09 Nov 2003 12:16:33 -0800 Original-To: ding In-Reply-To: X-Mailer: MH-E 7.4.2+cvs; nmh 1.1; GNU Emacs 21.3.50.2 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54745 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54745 Simon Josefsson writes: > I believe this fixes a bug I mentioned earlier in the key passphrase > revamp, so I have installed this despite the feature freeze. Thanks! Thanks for the quick fix! I have discovered another minor problem. With current CVS and no customization, pgg asks for the passphrase of "satyaki" when I try to sign a message. Then when I receive encrypted mail, it asks me for the passphrase of 7C06BDD9, which is the same key as "satyaki". I was about to produce a patch which would only store (key-id,passphrase) tuples in the passphrase cache. But this time I read the gnus.ding archives and found your post that said that pgg-lookup-key was buggy and sometimes returns expired keys. So I have now customized pgg-default-user-id to 7C06BDD9 and that avoids the repeated queries for my passphrase. Is this the right solution? Thanks, Satyaki