My GunPG key got obliterated when I formatted my Ubuntu box. So today, I went about the task of setting up a new key. While playing around with Cryptophane, I noticed the documentation is a little sparse. So I am going to run through a quick tutorial about creating and using the program.
Cryptophane is a GUI frontend for the GnuPG encryption framework. Do a quick Google search to download it. It saves a lot of messy command line work, and works quite well. It allows you to create GnuPG keys, import/export keys and sign keys. This guide outlines how to set up and use the keys.
I am not going to explain the technicalities behind how GnuPG keys work (nor do I understand them). Wikipedia has all that info.
Generating Key Pairs
Generating key pairs is pretty simple.
Go menu > keys > generate secret key
Enter all the information is asks. Remember to write down your pass phrase. If you forget it, you will be unable to decrypt any items encrypted with your public key.
Set an expiry date if you wish. This is not necessary. Whatever works for you.
Encrypting
Create a .txt file containing the data you wish to encrypt.
Open Cryptophane, right click your public key > “Encrypt To”.
Navigate to your file.
Click Process on the menu that comes up.
The selected file will now be encrypted.
Decrypting
To decrypt a file encrypted with your public key right click on the .txt file you want to decrypt.
Click open with Cryptophane.
Select a file name and location for the decrypted document.
Enter your private key paraphrase when prompted.
That’s all there is to it! If you have any questions/comments/concerns, use comment form below!