Live data from Hacker News

Setup Keybase.io, GPG and Git to sign commits on GitHub

github.com

11–20 of 121 posts

Re: Setup Keybase.io, GPG and Git to sign commits on GitHub

#12
post #5

Anybody here got invitation codes for keybase ?

You don't need keybase to sign your commits. Any standard and key-exchange compatible pgp/gpg client will do. By using keybase you're just adding more work for everyone.

https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work

Re: Setup Keybase.io, GPG and Git to sign commits on GitHub

#18
Thanks for posting this here.

Please note that this was initially written as a reference for myself, being relatively inexperienced with the keybase client and gpg tooling in general. There are certainly different ways to accomplish the same and you don't have to use keybase, but I wanted to. Please keep this in mind.

Ironically, only the first commit is signed.

Re: Setup Keybase.io, GPG and Git to sign commits on GitHub

#19

Thanks for posting this here. Please note that this was initially written as a reference for myself, being relatively inexperienced with the keybase client and gpg tooling in general. There are certainly different ways to accomplish the same and you don't have to use keybase, but I wanted to. Please keep this in mind. Ironically, only the first commit is signed.

>Ironically, only the first commit is signed.

Yeah, and even though I had set this up myself just a few minutes before I submitted PR #3, I ended up committing on the web UI as well, with no signature :D

Re: Setup Keybase.io, GPG and Git to sign commits on GitHub

#20
post #6

Note that you don't need keybase.io to sign your commits: https://help.github.com/articles/signing-commits-using-gpg/

Thanks for saying this. Or in other words, there are two steps:

1. Make git aware of your signing key

git config user.signingkey "..."

2. Sign the commit

git commit -S ...

That's it.

Post reply on HN