From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54739 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: PGG with multiple GnuPG keys Date: Sun, 09 Nov 2003 05:04:33 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068350706 27288 80.91.224.253 (9 Nov 2003 04:05:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2003 04:05:06 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M3280@lists.math.uh.edu Sun Nov 09 05:05:04 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 1AIgoy-0000ka-00 for ; Sun, 09 Nov 2003 05:05:04 +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 1AIgok-0004Fq-00; Sat, 08 Nov 2003 22:04:50 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AIgog-0004Fl-00 for ding@lists.math.uh.edu; Sat, 08 Nov 2003 22:04:46 -0600 Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by justine.libertine.org (Postfix) with ESMTP id AF1F53A0070 for ; Sat, 8 Nov 2003 22:04:43 -0600 (CST) Original-Received: from latte (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.10/8.12.10) with ESMTP id hA944f1L010149 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 9 Nov 2003 05:04:42 +0100 Original-To: Satyaki Das Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:031109:satyakid@stanford.edu:2ef016cdcbbde998 X-Hashcash: 0:031109:satyakid@stanford.edu:2ef016cdcbbde998 X-Payment: hashcash 1.2 0:031109:ding@gnus.org:1fb9cca1ea239951 X-Hashcash: 0:031109:ding@gnus.org:1fb9cca1ea239951 In-Reply-To: (Satyaki Das's message of "Sat, 08 Nov 2003 13:43:34 -0800") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54739 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54739 Satyaki Das writes: > I've two GPG keys, the older one being a revoked key of > length 768. However with PGG, I can't decrypt any of the > messages that were encrypted for the older key. The problem is > that PGG feeds the pass phrase of my new key when trying to > decrypt messages with the old key. > > The attached patch solves this by checking the message to be > decrypted to find the secret key in the user's ring that it > was encrypted for. Then the passphrase of this key is prompted > for, or read from the cache, and the correct passphrase given > to gpg. > > Such functionality in PGG would be very helpful. I believe this fixes a bug I mentioned earlier in the key passphrase revamp, so I have installed this despite the feature freeze. Thanks!