Skip to content

flackoon/dotfiles

Repository files navigation

Apps

Adding GPG signing keys for GitHub

  1. Generate a key - gpg --full-generate-key
  • Select RSA
  • Enter size 4096 bits at least for size
  • Enter length of time
  • Enter your commit name and email (pay attention to the email)
  • Enter passphrase
  1. List your GPG keys - gpg --list-secret-keys --keyid-format=long
  2. Copy the ID - sec 4096R/{THIS_PART} 2022-22-22 [expires: 2024-22-22].
  3. Copy the GPG key - gpg --armor --export {GPG_KEY_ID} | pbcopy
  4. Add it to Github
  5. Make sure you have the following settings in place (you can set these with the --global flag too ofc):
  • git config user.signingkey {GPG_KEY_ID}
  • git config commit.gpgsign true
  • git config gpg.program gpg

About

my uninteresting environment config files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published