GPG vs SSH keys

后端 未结 1 1936
悲哀的现实
悲哀的现实 2021-01-31 01:31

On GitHub, I want to add a key to associate my computer with my account and I am given two options: create an SSH or a GPG key.

What is the difference between the two k

1条回答
  •  离开以前
    2021-01-31 02:22

    I want to add a key to associate my computer with my account and I am given two options

    You will need at least the SSH one, if you want to push back to your repository, using an SSH URL (since the public SSH key will authenticate you).
    Start with SSH. See "Connecting to GitHub with SSH".

    Later, you can use GPG to sign commits.

    0 讨论(0)
提交回复
热议问题