Quick'n easy gpg cheatsheet
-
To create a key:
gpg --full-generate-keygenerally you can select the defaults bygpg --gen-key, or you prefer a rsa4096 encrypted key likegpg --default-new-key-algo rsa4096 --gen-keyNOTE: You "must" to associate your author/commiter email with your GPG key, if you didn't get prompted to enter the email, username, etc. You will need to
gpg --edit-key KeyID- you will see
gpg>, typeadduidand follow the instructions - type
save
-
To export a public key into file public.key: