From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53956 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Entering passphrase twice when sending PGP signed message Date: Sun, 14 Sep 2003 17:06:33 +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 1063552006 22942 80.91.224.253 (14 Sep 2003 15:06:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2003 15:06:46 +0000 (UTC) Cc: hniksic@xemacs.org Original-X-From: ding-owner+M2496@lists.math.uh.edu Sun Sep 14 17:06:44 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 19yYSa-0004Pw-00 for ; Sun, 14 Sep 2003 17:06:44 +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 19yYS9-0004B5-00; Sun, 14 Sep 2003 10:06:17 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19yYS1-0004Ax-00 for ding@lists.math.uh.edu; Sun, 14 Sep 2003 10:06:09 -0500 Original-Received: (qmail 15105 invoked by alias); 14 Sep 2003 15:06:08 -0000 Original-Received: (qmail 15100 invoked from network); 14 Sep 2003 15:06:08 -0000 Original-Received: from mxout.iskon.hr (qmailr@213.191.128.10) by sclp3.sclp.com with SMTP; 14 Sep 2003 15:06:08 -0000 Original-Received: (qmail 2449 invoked from network); 14 Sep 2003 17:06:05 +0200 Original-Received: from mx.iskon.hr (213.191.128.12) by mxout.iskon.hr with SMTP; 14 Sep 2003 17:06:05 +0200 Original-Received: (qmail 3029 invoked from network); 14 Sep 2003 17:06:04 +0200 Original-Received: from hniksic.iskon.hr (213.191.139.17) by mx.iskon.hr with SMTP; 14 Sep 2003 17:06:04 +0200 Original-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Sun, 14 Sep 2003 14:05:23 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53956 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53956 Simon Josefsson writes: > Sorry if I gave the wrong impression, I (incorrectly) jumped to the > assumption that you wanted GPG to only be run once, thus removing the > need for two passphrase inputs. That assumption is not entirely incorrect: that was indeed my first reaction. But I've understood why it's not technically possible to run GPG once, and I'd be more than willing to settle for passphrase caching (which I even suggested!) > The passphrase cache should work by default, both for signing and > encrypting IMHO, so if this was your only concern, it is only a > Small Matter Of Bugfixing. Excellent. I'll try to figure out what's going on there when I get the time. > On further thought, one could argue that it should be possible to > customize the passphrase cache to a mode where decryption happens > automatically using the passphrase cache, but signing do require > password input every time, or at least a yes-or-no-p. Since I use > an infinite passphrase cache lifetime, to be able to read encrypted > messages easily, I'd want this to make sure I don't sign something I > wasn't aware of. yes-no-p would be fine, but requiring the password every time is going a bit too far. Entering the passphrase and answering yes-no-p are IMHO orthogonal. Thanks for clearing things up.