From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54287 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: Fri, 17 Oct 2003 23:44:03 +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 1066427061 19922 80.91.224.253 (17 Oct 2003 21:44:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2003 21:44:21 +0000 (UTC) Original-X-From: ding-owner+M2828@lists.math.uh.edu Fri Oct 17 23:44:19 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 1AAcOR-0000jk-00 for ; Fri, 17 Oct 2003 23:44:19 +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 1AAcOJ-0000qy-00; Fri, 17 Oct 2003 16:44:11 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AAcOF-0000qs-00 for ding@lists.math.uh.edu; Fri, 17 Oct 2003 16:44:07 -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 D3F6D3A004E for ; Fri, 17 Oct 2003 16:44:06 -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 h9HLi51e014349 for ; Fri, 17 Oct 2003 23:44:05 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:031017:ding@gnus.org:46517743ff671e1c X-Hashcash: 0:031017:ding@gnus.org:46517743ff671e1c In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 17 Oct 2003 20:03:37 +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:54287 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54287 Lars Magne Ingebrigtsen writes: > Anyway, what was the conclusion to the double-pass-phrasing when > sending? If it's only a matter of caching the pass phrase during a > `C-c C-c', that function could just bind a variable > `message-pass-phrase' and use that when it's non-nil. (The idea > being that when the function passes out of the scope, the variable > becomes unbound again, thereby being kinda difficult to snoop.) 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.