Cannot Set the Expiration Date on Secure Subkeys

David Shaw dshaw at
Tue Feb 19 17:06:28 CET 2008

On Mon, Feb 18, 2008 at 05:35:33PM -0800, David Botham wrote:
> All,
> I am having problems setting the expiration date on my private subkey.
> I can set it, however, when I quit and then re-edit the key, the
> expiration date is set to 'never', instead of what I had set it to in
> the previous editing session.  
> I am missing something?

Nope, you're quite right, and it's a bug.

It's a display bug, as the right data makes it into the key packet,
but --edit-key doesn't properly display it.  You can see this by doing
a --list-secret-keys on that particular key, and seeing the proper
expiration is set.


More information about the Gnupg-users mailing list