Forrest logo
back to the gpg tool

gpg:ai:c5281

change expiration of primary key
$ gpg --edit-key ${key-id} expire
try on your machine

This command will open the key for editing, where you can change the expiration date of the primary key

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • change expiration of primary key?
back to the gpg tool