From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54309 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Entering passphrase twice when sending PGP signed message Date: Sat, 18 Oct 2003 02:04:12 +0200 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 1066435480 766 80.91.224.253 (18 Oct 2003 00:04:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2003 00:04:40 +0000 (UTC) Original-X-From: ding-owner+M2850@lists.math.uh.edu Sat Oct 18 02:04:39 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 1AAeaE-0006eW-00 for ; Sat, 18 Oct 2003 02:04:38 +0200 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 1AAeZz-0002yG-00; Fri, 17 Oct 2003 19:04:23 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AAeZv-0002yB-00 for ding@lists.math.uh.edu; Fri, 17 Oct 2003 19:04:19 -0500 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 3F5663A004E for ; Fri, 17 Oct 2003 19:04:17 -0500 (CDT) 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 h9I04E1e016419 for ; Sat, 18 Oct 2003 02:04:15 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:031018:ding@gnus.org:b0282288e844d293 X-Hashcash: 0:031018:ding@gnus.org:b0282288e844d293 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 18 Oct 2003 00:39:49 +0200") 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:54309 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54309 Lars Magne Ingebrigtsen writes: > Simon Josefsson writes: > >> I believe the conclusion was that the OpenPGP implementation should be >> invoked twice, however the passphrase should be cached. There _is_ >> already a passphrase cache, so it is only a Small Matter Of Debugging. > > Ah, right. In the PGP, er GPG, er, PGG code? Yes, pgg.el. I think the problem is related to the key id guessing somehow (perhaps the cache store each passphrase indexed by key id, and if either at insertion or lookup the wrong key id is used, it will look as if no passphrase was cached).