GPG Encryption in Ubuntu

Posted by zbrom on August 01, 2013 · 1 min read

Create Encrypted Files and Folders in Ubuntu

Seahorse is a front-end for GnuPG (Gnu Guard Program), a tool for secure communication and data storage. With Seahorse extension for Nautilus, you could encrypt a file or folder by right-clicking it and selecting ‘Encrypt’ on nautilus context menu. Files and folders that are encrypted cannot be accessed without the passwords used to encrypt them. It is a another way to protect your sensitive information.

Getting started:

To get started, go to Ubuntu Software Center.

Then search and install ‘Decrypt File’.

Decrypt File

After installing search for Passwords and Keys with Unity search.

Next, click File –> New

Then select ‘PGP Key’ and continue.

Type your name and and email address, then click ‘Create’.

Type your password and confirm.

Log Out and Log back in.

Open Passwords and Keys again

Click My Personal Keys (your private key should appear here)

File –> Export

save the .asc file (aka: ASCII Armored file)

This saves your public key, allowing you to share it with friends so they can share files with you.

How to decrypt

Simply right click on a .pgp file and click decrypt