From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47135 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: pgg doesn't mention that the signature is untrusted Date: Fri, 11 Oct 2002 06:17:41 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87y995vmeu.fsf@mail.paradoxical.net> <87it09ep8f.fsf@mail.paradoxical.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034309904 4080 127.0.0.1 (11 Oct 2002 04:18:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 04:18:24 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zrFk-00012x-00 for ; Fri, 11 Oct 2002 06:18:20 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17zrFV-0002lj-00; Thu, 10 Oct 2002 23:18:05 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 10 Oct 2002 23:18:48 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA21388 for ; Thu, 10 Oct 2002 23:18:34 -0500 (CDT) Original-Received: (qmail 19821 invoked by alias); 11 Oct 2002 04:17:46 -0000 Original-Received: (qmail 19816 invoked from network); 11 Oct 2002 04:17:45 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 11 Oct 2002 04:17:45 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g9B4HhFu000963 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 11 Oct 2002 06:17:43 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Hashcash: 0:021011:ding@gnus.org:b7044d46fdde9d22 In-Reply-To: <87it09ep8f.fsf@mail.paradoxical.net> (Josh Huber's message of "Thu, 10 Oct 2002 21:30:40 -0400") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47135 Josh Huber writes: > Simon Josefsson writes: > >> Not here, it seems to be a bug; PGG stores the passphrase on the key >> ID actually used by GnuPG to sign something, but it later looks up >> the passphrase using the first private key ID from >> --list-secret-keys. This didn't work for me as I have many secret >> keys. Hm. Shouldn't be difficult to fix, I think. > > Perhaps it works for me because of this configuration? > > (setq jmh::primary-key "6B21489A") > (setq pgg-passphrase-cache-expiry 300) > (setq pgg-default-user-id jmh::primary-key) Yes, I leave the `pgg-default-user-id' to its default value "jas", which matches several keys and PGG picks the first one which turns out to be a expired key I don't use anymore. PGG should handle this without additional configuration IMHO. I added it to my TODO list..