Find yourself with an expired GPG key? Here is how to extend it.
First list your keys and pick the expired one with the following commands:
gpg --list-keys
gpg --edit-key keyid@example.com
Part of the output will indicated something similar to this, showing the expired key as picked above.
...
[ expired] (1). Your Name <keyid@example.com>
You can follow this with the command gpg> key 1 and then the command gpg> expire. Now you will be prompted to choose how long you want to extend the key. And finally save and exit the gpg> save.