Skip to content

Instantly share code, notes, and snippets.

@nealfennimore
Created October 28, 2019 14:14
Show Gist options
  • 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 [email protected] # 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 [email protected] # 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