Bug: Unusable key

David Shaw dshaw at jabberwocky.com
Thu Feb 5 10:36:04 CET 2004

On Wed, Feb 04, 2004 at 04:35:35PM +0100, Ralph Angenendt wrote:
> Per Tunedal Casual wrote:
> > Hello,
> > I cannot encrypt to my personal key 0xAF351431 today! Maybe it's
> > because it expires today in the year 2012? The key expires: 2012-02-04
> Well, 0xAF351431 can only be used for signing and certification. The key
> you encrypt to is your subkey 0xE3889A13, which expired yesterday:
> pub  1024D/AF351431  created: 2002-02-04 expires: 2012-02-04 trust: -/-
> sub  4096g/E3889A13  created: 2002-02-03 expires: 2004-02-03
> This might be the reason you cannot encrypt to it :)
> But maybe gpg should throw an error showing *why* the key is unusable.

This is a little difficult since the reason is not always easy to say
in a simple error message.  For example, given a key with two subkeys,
one is expired, and one is revoked.  What should the error message


More information about the Gnupg-users mailing list