Expiration Confusion

David Shaw dshaw@jabberwocky.com
Wed Jul 2 15:22:04 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jul 01, 2003 at 02:07:17PM -0500, Allan McGuire wrote:
> When creating my key, it was originally for testing purposes and I set
> an expiration date.  Well, it became permanent and now I want to change
> the expiration date to "never".
> 
> I have been able to set the "pub" key and the "sec" key and "ssb" key to
> "never" but not the "sub" key.  The manual seems to say "The expiration
> time is updated by deleting the old self-signature and adding a new
> self-signature".  How do I delete the old signature?  Do I need to 
> "expire" the "sub" key?  If so, how do I select it to do that?

You can select the subkey via the "key" command.  So:

gpg --edit-key (thekey)
key 1  <-- selects the subkey.  If you have more than one, use 2, 3, 4, etc.
expire

GnuPG does all the self-signature work underneath the hood.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3rc1 (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc

iD8DBQE/Atyv4mZch0nhy8kRAme3AJ4xoqTvYnkc8cxYjiDDi357sNGJ7wCgwYCB
X6ZAGndRsiFTfmbhy5xcEms=
=c1na
-----END PGP SIGNATURE-----