Created
May 6, 2020 02:19
-
-
Save stevemk14ebr/34b1b963fe3a8bf07bfd8e0597c508fa to your computer and use it in GitHub Desktop.
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
# make a key | |
gpg --full-generate-key | |
# make it > 4096 | |
gpg --list-secret-keys --keyid-format LONG | |
# key id is numbers on asc line after / | |
gpg --armor --export <key id> | |
# add to github | |
git config --global user.signingkey <key id> | |
# export keys | |
gpg --export-secret-keys -a keyid > my_private_key.asc | |
gpg --export -a keyid > my_public_key.asc | |
# import keys | |
gpg --import my_private_key.asc | |
gpg --import my_public_key.asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment