Skip to content

Instantly share code, notes, and snippets.

@nealfennimore
Created October 28, 2019 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nealfennimore/ee1eeaff3f6a66e7eea65fc4e203139f to your computer and use it in GitHub Desktop.
Save nealfennimore/ee1eeaff3f6a66e7eea65fc4e203139f to your computer and use it in GitHub Desktop.
Updating PGP key expiration
gpg -k # List keys
gpg --edit-key hi@neal.codes # Or key ID
key 1 # Select expired key
expire # Set new expiration
save
gpg --send-keys # Update keys on server
gpg --armor --output /tmp/key.gpg --export hi@neal.codes # ASCII safe key for Github or another service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment