Skip to content

Instantly share code, notes, and snippets.

@midnite81
Last active June 20, 2020 23:59
Show Gist options
  • Save midnite81/7cb984e8dcf24d08ae5effdd16cb93d1 to your computer and use it in GitHub Desktop.
Save midnite81/7cb984e8dcf24d08ae5effdd16cb93d1 to your computer and use it in GitHub Desktop.
GPG Commands

List Keys

gpg --list-secret-keys --keyid-format LONG

Set Global Singing Key

git config --global user.signingkey <keyId>

Change password

gpg --edit-key <keyId>
gpg> passwd
gpg> save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment