From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55293 Path: main.gmane.org!not-for-mail From: Norman Walsh Newsgroups: gmane.emacs.gnus.general Subject: Gnus/PGG password problem Date: Sat, 20 Dec 2003 16:17:00 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: <87smjf5gvn.fsf@nwalsh.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1071955247 8511 80.91.224.253 (20 Dec 2003 21:20:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Dec 2003 21:20:47 +0000 (UTC) Original-X-From: ding-owner+M3833@lists.math.uh.edu Sat Dec 20 22:20:35 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 1AXoWZ-0002Eb-00 for ; Sat, 20 Dec 2003 22:20:35 +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 1AXoWL-0001wj-00; Sat, 20 Dec 2003 15:20:21 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AXoWC-0001wb-00 for ding@lists.math.uh.edu; Sat, 20 Dec 2003 15:20:12 -0600 Original-Received: from mxsf13.cluster1.charter.net (mxsf13.cluster1.charter.net [209.225.28.213]) by justine.libertine.org (Postfix) with ESMTP id 377583A0027 for ; Sat, 20 Dec 2003 15:20:11 -0600 (CST) Original-Received: from mercury (cpe-68-112-236-90.ma.charter.com [68.112.236.90]) by mxsf13.cluster1.charter.net (8.12.10/8.12.8) with ESMTP id hBKLHQ1w008123 for ; Sat, 20 Dec 2003 16:17:28 -0500 (EST) (envelope-from ndw@nwalsh.com) Original-Received: from ndw by mercury with local (Exim 3.36 #1 (Debian)) id 1AXoT8-0007fu-00 for ; Sat, 20 Dec 2003 16:17:02 -0500 Original-To: ding@gnus.org X-URL: http://nwalsh.com/ User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55293 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55293 --=-=-= Content-Transfer-Encoding: quoted-printable I've been using mailcrypt for years, but someone recently pointed out that MIME is now the "standard" way to do signing. Fair enough, I'd be happy to make the messages look a little less awkward in non-encryption aware readers anyway. So I'm trying to switch to PGG. I've removed all the mailcrypt stuff from my .gnus file and replaced it with: ;; PGG (require 'pgg) (setq pgg-cache-passphrase t) (setq pgg-passphrase-cache-expiry 3600) ;; Emacs should always decrypt and verify emails automatically (setq mm-verify-option 'always) (setq mm-decrypt-option 'always) ;; Automcatically sign when sending mails (defun will-you-sign () (interactive) (if (y-or-n-p "Do you want to sign this message? ") (mml-secure-message-sign-pgpmime))) (add-hook 'gnus-message-setup-hook 'will-you-sign) In a few minutes I'll probably get around to replacing will-you-sign with sign-always, but that isn't the issue. With the setup above, using Gnus 5.10.2, when I send a signed message, it asks me for my key three times in a row (apparently once for each destination that the message goes to, the outside world, the current group, and the monthly archive group). What's more, if I send another message right away, it asks me three times again. It appears not to be caching the passphrase. Clues, please? Be seeing you, norm --=20 Norman Walsh | The years teach us much which the days http://nwalsh.com/ | never knew.-- Emerson --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/5LxOOyltUcwYWjsRAjxsAJ9hbQCxoaA1gGwO00wTAitvfmcLfwCgneRI dEQDC6fJY84HXsynEDSGuvk= =u4RN -----END PGP SIGNATURE----- --=-=-=--