GPG Encrypting & Decrypting

Manual: https://www.gnupg.org/gph/en/manual/x56.html

To create a gpg key

gpg --gen-key

List your public keyring

gpg --list-keys

Exporting a public key to send to someone

gpg --output alice.gpg --export [email protected]

Adding a key to your public keyring

gpg --import blake.gpg

Encrypting a doc

gpg --output doc.gpg --encrypt --recipient [email protected] doc

Decrypting a doc

gpg --output doc --decrypt doc.gpg

Github GPG

Github has a way of displaying signed commits:

Sourcetree can sign these for you but you need to install these dependancies.

brew install gpg2 && brew install pinentry-mac

In the settings for this specific sourcetree repo you can enable it here:

 

Ensure you have configured the path to the gpg2 bin folder in global sourcetree settings
Details
Updated: 14th April 2016

Play Blokr Now FREE!
blokr.io the web game where you can eat other blocks!