Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Piotrowski <mxp@dynalabs.de>
To: ding@gnus.org
Subject: Re: epg and expired recipient keys
Date: Mon, 26 Feb 2007 11:37:08 +0100	[thread overview]
Message-ID: <x61wkdb3xn.fsf@eurus.mag.dynalabs.de> (raw)
In-Reply-To: <87649ro899.fsf@wheatstone.g10code.de>

On 2007-02-24, Werner Koch <wk@gnupg.org> wrote:

>> GnuPG automatically selects the right key to use, and avoids the
>> expired ones.
>> 
>> If this is a bug in epg, I'd think that someone must have run into it
>> before--or could this be a local problem?
>
> I had the same problem and discussed this with Ueno.  The reason is
> that epg uses --list-keys to get a list of macthing recinpients and
> picks the first one.  This is obviously not correct, as it should skip
> all revoked and expired keys.  

I thought so :-)

> However, as this is a general problem I am thinking about adding a new
> list mode which selects a useful key the same way gpg does when called
> directly with -r.  I have not come to a conclusion as there are valid
> reasons for MUAs to do their own selection.  For example a MUA might
> keep a list of former contacts and use a fingerpritn directly to
> select a key.

Hmm, while this is perhaps convenient, I'm not sure whether it is
really needed: As far as I can see, --list-keys already gives the
necessary information, and it seems to be trivial to check for "e",
"r", etc. in the appropriate fields.  But maybe I'm missing something.

Greetings

-- 
Michael Piotrowski, M.A.                               <mxp@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt>




  reply	other threads:[~2007-02-26 10:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23 13:02 Michael Piotrowski
2007-02-24 16:00 ` Werner Koch
2007-02-26 10:37   ` Michael Piotrowski [this message]
     [not found]   ` <smutzxbtsam.fsf@linuxpal.mit.edu>
2007-02-26 12:23     ` Werner Koch
2007-02-26 12:49       ` Daiki Ueno
2007-02-26 14:31         ` Werner Koch
2007-02-27 11:23           ` Michael Piotrowski
2007-02-28 22:23           ` Daiki Ueno
2007-03-06  2:19             ` Wolfram Fenske
2007-03-06  4:29               ` Katsumi Yamaoka
2007-03-06  9:41                 ` Wolfram Fenske
2007-03-07 19:19                 ` Miles Bader
2007-03-07 19:25                   ` Miles Bader
2007-03-08  1:06                     ` dolist vs. while-loop (was Re: epg and expired recipient keys) Katsumi Yamaoka
2007-03-08 14:55                       ` Miles Bader
2007-03-06  4:40               ` epg and expired recipient keys Daiki Ueno
2007-03-06  9:37                 ` Wolfram Fenske

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x61wkdb3xn.fsf@eurus.mag.dynalabs.de \
    --to=mxp@dynalabs.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).