LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Beginner site/howto for gpg in Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/beginner-site-howto-for-gpg-in-linux-4175425265/)

szboardstretcher 09-02-2012 10:37 AM

Beginner site/howto for gpg in Linux?
 
I've never used gpg. Im reaching out to the community to see if there is a good step-by-step beginners guide out there for .. Fedora i guess.

Things I would like explained is; Initial Setup of keys, how to use them in Evolution or gmail, how and what to back up?

Thanks all

KinnowGrower 09-02-2012 11:43 AM

Try this http://fedoraproject.org/wiki/Using_...th_Thunderbird

iamwilliam 09-02-2012 12:03 PM

Hi,

Here's what you need to do to get started.

Generate your public/private key pair.

Code:

gpg --gen-key
Determine the key-id for your key-pair and use it to publish the public key to a keyserver.
Code:

gpg --send-keys DEADBEEF
If you would like to send an encrypted message to another user. You first need to import their public key into your keyring.

Import keys from a keyserver:
Code:

gpg --search-keys user2@otherdomain.com
Encrypting a file for user2:
Code:

gpg -ae secretfile.txt
This would output the encrypted file secretfile.txt.asc
Most email clients allow you to specify the key-id to use for encrypting and/or signing email. I also remember having tried a FireFox plugin(FireGPG) that worked with Gmail.

With regards to backup, I would suggest making a copy of both your public/private keys as follows:

Code:

gpg -a --export-secret-keys user@domain.com > secretkey.asc
gpg -a --export user@domain.com > publickey.asc


chrism01 09-02-2012 05:58 PM

http://www.gnupg.org/gph/en/manual.html - background + basic howto keys/certs
http://www.gnupg.org/documentation/manuals/gnupg/ - HOWTO
http://www.enigmail.net/home/index.php - secure email


All times are GMT -5. The time now is 06:13 PM.