Skip to content

Instantly share code, notes, and snippets.

@sirodoht
Last active June 1, 2018 16:35
Show Gist options
  • Save sirodoht/850192edbf332251bda3e7fd5036bbef to your computer and use it in GitHub Desktop.
Save sirodoht/850192edbf332251bda3e7fd5036bbef to your computer and use it in GitHub Desktop.
GPG update key expiration https://www.gnupg.org/gph/en/manual.html
$ gpg --list-secret-keys
$ gpg --edit-key XXX
gpg> expire
gpg> key 1
gpg> expire
gpg> save
$ gpg --list-secret-keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment