Encryption with expired key?

Werner Koch wk@gnupg.org
Fri Jul 18 11:51:01 2003

On Fri, 18 Jul 2003 09:50:24 +0100, Geraint Paul Bevan said:

> pub  1024R/<number>  created: 2003-03-12 expires: 2003-03-12 trust: -/e
> sub  1024R/<number>  created: 2003-03-12 expires: 2006-03-11

> Is gpg giving me correct behaviour, or is this a bug? More
> importantly, how can I encrypt a message with this key?

You can't because the key expired on March 12.  The expiration date of
the primary key (pub) always takes precedence over that of a subkey.

Werner Koch                                      <wk@gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe	                 http://fsfeurope.org