Skip to content

Instantly share code, notes, and snippets.

@konsumer
Created April 8, 2026 00:50
Show Gist options
  • Select an option

  • Save konsumer/a05c0d5f91dc77d02e85d6fdb663ec75 to your computer and use it in GitHub Desktop.

Select an option

Save konsumer/a05c0d5f91dc77d02e85d6fdb663ec75 to your computer and use it in GitHub Desktop.
I want to just use my SSH key to have "Verified" commits on Github. This is a quick setup, on Mac.
ssh-keygen

git config --global gpg.format ssh
git config --global user.signingKey ~/.ssh/id_ed25519.pub
git config --global commit.gpgsign true
git config --global gpg.ssh.program /usr/bin/ssh-keygen

cat ~/.ssh/id_ed25519.pub

Then add your key (the cat above) as both an SSH "Signing" and "Authentication" key (it's in the dropdown when you add a new SSH key.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment