-
Generate a new SSH key.
ssh-keygen -t ed25519 -c "your_comment"
-
Configure Git.
git config gpg.format ssh git config user.signingKey "~/.ssh/id_ed25519.pub" git config commit.gpgsign true
-
Add the SSH public key to GitHub.
You should select the key type as Signing Key.cat ~/.ssh/id_ed25519.pub # GitHub > Settings > SSH and GPG keys > New SSH key
-
Notifications
You must be signed in to change notification settings - Fork 0
cseteram/github-ssh-signing
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.