No Account Yet?

You are not logged in.

Add to: JBookmarks Add to: Facebook Add to: Windows Live Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Google Information
Install/Configure GPG (GNU Privacy Guard) E-mail
Linux HowTo's - Beginner Linux HowTo's
Written by Tim Inkpen   
Sunday, 25 May 2008 13:13

In this howto, we will show you how to Install/Configure GPG (GNU Privacy Guard)

For CentOS:

Step 1  -Install

As root (su -, then the root password):

yum install gpg

(select y)

It will then install

 


Step 2 –Locate Program

Locate GPG on your system:

whereis gpg

You should get back:

gpg: /usr/bin/gpg

Step 3 –Change user rights

So everyone can use it:

chmod u+s /usr/bin/gpg

Step 4 –Create Files for GPG to Work

/usr/bin/gpg --gen-key [for root]

Step 5 –Configuring Key

Accept the defaults

Step 6- Verify

gpg --list-secret-key

gpg --list-public-key

gpg --list-sig

Step 7 – Create Revocation Certificate

gpg --output revoke.asc --gen-revoke your_email_name@your_service_provider.com [or ca, etc.]

Step 8 –Export Your Public Key

gpg --export --armor > yourname.asc

Step 9 – Import Someone Else’s Key

Download key

gpg --import arnoldSW.asc

Step 10 –Sign Downloaded Key

 gpg –signarnoldSW.asc

 

Create a Signature File

Example .. touch <yourname>
touch yourname

gpg –clearsign yourname

 

Decrypt Files

gpg –decrypt yourfriendsfile.txt.gpg > yourfriendsfile.txt

Encrypt Files

gpg --encrypt --r public_keyname_of_recipientyourfile.txt

 

 

Comments
Search RSS
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Sunday, 01 June 2008 16:19 )