Skip to content

Instantly share code, notes, and snippets.

@belachkar
Created August 16, 2020 02:15
Show Gist options
  • Save belachkar/45703d86fd535a994bcc41ae07386a0b to your computer and use it in GitHub Desktop.
Save belachkar/45703d86fd535a994bcc41ae07386a0b to your computer and use it in GitHub Desktop.

GPG commands and tips

GPG extend signature time

gpg --edit-key <ID>
gpg> expire
...
gpg> save

Subkeys

gpg --edit-key 0x12345678
gpg> key 1
gpg> expire
...
gpg> key 1
gpg> key 2
gpg> expire
...
gpg> save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment