[Techtalk] gpg key editing

Malcolm Tredinnick malcolm at commsecure.com.au
Thu Jun 12 16:37:16 EST 2003

On Thu, 2003-06-12 at 11:53, Subba Rao wrote:
> I am trying to edit my gpg keys and export them back to the keyservers.  These
> keys have not been used in a while.  However I would like to maintain the same
> keys.  So far, I have used the "--edit-keys" option and have changed the
> expiration date to a new date in the future.  The key listing has "pub" and
> "sub" IDs.  The expiration changes are reflected only on the "pub" key and not
> on the "sub" key.
> pub  1024D/5A3F71F3  created: 2001-08-20 expires: 2006-06-11 trust: -/-
> sub  1024g/3D2AE96C  created: 2001-08-20 expires: 2002-08-20
> (1)* Subba Rao (Linuxite) <subba9 at cablespeed.com>
> How do I change (or do I need to change) the expiration date on the "sub" key?
> Thank you in advance for any help.

When you get to the "Command>" prompt after "gpg --edit-key...", type
"sub 1" to indicate that you want to work on the subkey. Then change the
expiration date as before.


More information about the Techtalk mailing list