When I run the command:

gpg --list-secret-keys
<snip>
/home/repo-owner/.gnupg/secring.gpg
-----------------------------------
sec   2048R/XXXXXXXXX 2014-10-30 [expires: 2016-10-29]
</snip>

It shows the expiration date as: [expires: 2016-10-2.

But then when I edit the key with:

gpg --edit-key XXXXXXXXX
gpg (GnuPG) 1.4.16; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Secret key is available.

pub  2048R/XXXXXXXXX  created: 2014-10-30  expires: 2017-10-31  usage: SC
                               trust: ultimate      validity: ultimate
sub  2048R/XXXXXXXXX  created: 2014-10-30  expires: 2017-10-31  usage: E

The keys show: expires: 2017-10-31 (which is what I expected).

I had done to extend:

# extend the expiration date on your key (Be sure to review sub keys).
$ gpg --edit-key <key id>
gpg> expire
gpg> save
# extend the expiration date on your sub key
$ gpg --edit-key <subkey id>
gpg> key <key #>
gpg> expire
gpg> save

I just want to be safe that my key expiration was updated properly.

Thank you in advance.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to