Dev Blog

./dev



Original theme by orderedlist (CC-BY-SA)


Where applicable, all content is licensed under a CC-BY-SA.
Creative Commons License

Install Dependencies

sudo apt-get install gpa gnupg2

Generate Key Pair

gpg --gen-key

Suggestions

Note: Real name, Email address, Comment and passphrase are needed.

List Keys

gpg --list-keys

Export ASCII Public Key

gpg --armor --export user@example.com

Export Binary Public Key

gpg --output user.gpg --export user@example.com

Export Private Key (careful)

gpg --export-secret-key -a user@example.net > private.key

Add Binary Public Key

gpg --import friend.gpg

Add Private Key

gpg --import private.key

Encrypt Message

gpg -e -u "Sender ID" -r "Recipient ID" plaintext-message

'human readable' ASCII armor encrypted message:

gpg -a -e -u "Sender ID" -r "Recipient ID" plaintext-message

Decrypt Message

gpg -d encrypted-message

Fin

gpg --armor --export abetusk@mechaelephant.com
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1

mQINBFic0RgBEACV328qdNksrQvAY/ilYxsgALaw96jDMBGQldvH9M/oWWs14ll/
p04QhSXuwuAQnhsvFvMrfvMRarsIkyDc3PUpBNh9PR39NvN0c1Lsq9hXq2qW1j3W
zfqJp4rg9eYYLVATLm2aLb+cYwwavthwWfVI3egt3hCq+cP7nTHrH+yeT+lavSfX
UF7q8a0Ku2Y5fZruc1sxggPNMrvPr2bss1QlpJ7d9HAjvtTqo9TXv9jutoDe1iYr
XUcGFgAYgm+ZeCMTbBYn8KrpbS+OWjuZMs7PdkO/IfOdDvL0pYXCHgbj+4NL4i8v
Q8KPJxShfBuMvOE1W6/VrkRKp3FzLiidi8lvpsB4pXXmUS+6Vl37MM74mFFltHbz
FeojGwHMKGJY6vFrFfsIKXbggvVDyzs5y8WYd9MW473Oq4EHcb9M5HCrj+shZ0yP
O/6uB/5OFhV+gk6FWtQtJAlnxkVGtIoj5zWZEAqMGOl1/i5Fk4uqSeffBFhW0l3r
ndYuaXv67tJ0xwUKlOsd515gvIS26gGaqB/u1zfRT7Va7xtGlY35wflmnmnKdpQ8
8t4OFhPu7u7fB68S+8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