Last active
November 4, 2016 05:17
-
-
Save tjmonsi/19a58d9b2f6a6c9a8816ccdd111fffea to your computer and use it in GitHub Desktop.
List of commands in order to create GPG for signing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create gpg | |
gpg --gen-key | |
# set RSA and RSA | |
# set 4096 | |
# set 0 (doesn't expire) | |
# enter name, email, and comment add which system you are using | |
# enter passphrase | |
# make random movements | |
# list gpg keys | |
gpg --list-secret-keys --keyid-format LONG | |
# copy gpg id | |
# set to git local | |
git config --global user.signingkey <gpg id> | |
git config commit.gpgsign true | |
git config --global commit.gpgsign true | |
# get gpg public key | |
gpg --armor --export <gpg key> | |
# copy key | |
# go to settings in github | |
# add key | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment