Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

github gpg

unel answered on August 4, 2023 Popularity 9/10 Helpfulness 7/10

Contents


More Related Answers

  • git config gpg sign program

  • github gpg

    7

    --------------------------------------------------

    create gpg key

    --------------------------------------------------

    Download and install gpg (in ubuntu gpg is alredy installed)

    select RSA and RSA (default)

    select 4096 keysize

    specify how long the key should be valid (0 default)

    enter your name (id github exemple)

    enter your email address (like github email adress /!\ important)

    veryfy with O

    enter paraphrase

    copy the id of rsa key

    for get your gpg key:

    past this id in this command:


    Copy your GPG key, beginning with -----BEGIN PGP PUBLIC KEY BLOCK----- and ending with -----END PGP PUBLIC KEY BLOCK-----.


    --------------------------------------------------

    add to your github account

    --------------------------------------------------

    In the upper-right corner of any page, click your profile photo, then click Settings.

    In the "Access" section of the sidebar, click SSH and GPG keys.

    Next to the "GPG keys" header, click New GPG key.

    In the "Title" field, type a name for your GPG key.

    In the "Key" field, paste the GPG key you copied at precedent step.

    Click Add GPG key.

    To confirm the action, authenticate to your GitHub account.

    --------------------------------------------------

    Telling Git about your signing key

    --------------------------------------------------

    Optionally, to configure Git to sign all commits by default, enter the following command:


    initial tuto : here

    please like this answer

    Popularity 9/10 Helpfulness 7/10 Language cpp
    Source: Grepper
    Tags: add c++ github key
    Link to this answer
    Share Copy Link
    Contributed on Aug 04 2023
    unel
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.