GnuPG User ID expiry

Jens Lechtenboerger lechten at
Fri Sep 25 09:49:48 CEST 2015

Hi there,

I tried to generate test keys with expired user IDs (under faked
system time), but I failed, with gpg 1.4 as well as 2.1.8.  I tried
to use the options default-sig-expire and default-cert-expire as
well as ask-sig-expire and ask-cert-expire when adding user IDs via

However, gpg --list-options show-sig-expire --list-sigs
indicates that the signatures expire “never”.

How can I generate/add user IDs with expiration dates or change the
expiration date of user IDs?

Best wishes

More information about the Gnupg-users mailing list