How to create a key
You can use default for everything, but make the keysize as
large as possible (e.g. 4096). Your key does not have to expire.
How to add email address to your key
Type your name
gpg --edit-key ExistingEmail
Type your new email address
Type comments (I put my website address)
If everything is alright type "O" for okay.
Now you can trust yourself:
Upload your key to a server
gpg --list-keys firstname.lastname@example.org
gpg --keyserver pgp.mit.edu --send-keys keyID
your keyID is after the slash in the output of the first command. E.g.
pub 4096R/keyID 2012-05-13
Integration with thunderbird
Install the add-on Enigmail.
Thunderbird -> Tools -> Add-ons
search and install Enigmail.
or the windows equivalent here
sudo apt-get install encfs
Create folder ~/PATH/DECRYPTED and sync the decrypted content of ~/PATH/encrypted in it.
encfs ~/PATH/encrypted ~/PATH/DECRYPTED
Close the synced decrypted folder and remove it.
fusermount -u ~/PATH/DECRYPTED
Duplicity (encrypted backup)
To backup a folder
duplicity --encrypt-key AD786AC5 /home/dude/ file:///media/dude/backupDisk/dude/
To restore a specific file:
duplicity --file-to-restore /home/dude file:///media/dude/backupDisk/dude /home/dude
Duplicity - secure incremental backup using GPG
Encrypted Backups using rsync and duplicity with GPG and SSH on Linux/BSD
Back to the main site