4 ms·
So I can upload my public key, and GitHub will associated it with my commits. Do I sign it locally with my private key? This below doc indicates "no" but if no
by mooreds 4y ago
So I can upload my public key, and GitHub will associated it with my commits. Do I sign it locally with my private key?
This below doc indicates "no" but if not then, when?
> To set your SSH signing key in Git, paste the text below, substituting the contents of your clipboard [which contains the public key] for the key you'd like to use. Since the key contains spaces, you must wrap it in quotes:
https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key#telling-git-about-your-ssh-key https://docs.github.com/en/authentication/managing-commit-si...
Or am I missing something?
- akerl_ 4y agoYou sign with your private key. You’re using the public key as an identifier to tell your git client which key to use, since git can use the public key to confirm it’s using the right private key.
- mooreds 4y agoAh, thanks!
- mirekrusin 4y agoWhen you push to git via ssh which uses this key?