Unable to do a verified sign commits(Using SSH or GPG Key) #129292
Unanswered
Priyanka0312
asked this question in
Pull Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
followed follwoing steps:
ssh-keygen -t ed25519 -C "$USER@cisco.com" -f ~/.ssh/signing_key
Configure signing key
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/signing_key.pub
Automatically sign every commit
git config --global commit.gpgsign true
Copy the public key for GitHub
cat ~/.ssh/signing_key.pub | pbcopy
Configure GitHub to verify your new key
Go to https://github.com/settings/ssh/new
Provide Name
Make sure to set Key Type to "Signing Key"
Insert the public key
After this I tried to commit using command : git commit -S -m "msg" and my commits are showing as "Unverified".
Also, I have disabled Vigilant mode.
Please assist here asap.
Beta Was this translation helpful? Give feedback.
All reactions