![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Tall Cafè Ubuntu
![]() Join Date: Feb 2005
Location: Rubyville
Beans: 1,261
|
HOWTO: Quick & Easy GPG Key
Note: For this HOWTO you will need to have basic command line/terminal experience, and you will also need the following installed: gnupg, gnupg-agent. In order to create a key, you will also need a real email address.
This HOWTO will take you through a quick & basic PGP Key creation, submission to key servers, and setup in Evolution. 1. Open a terminal. 2. type in the following code: Code:
gpg --gen-key 4. Type in 1024. Press Enter. 5. Type in 0. Press Enter. 6. Enter a y. Press Enter. 7. Type in your Real Name. Press Enter. 8. Type in your REAL email address. Press Enter. 9. Type in Your First Name, followed by "'s PGP Key". Press Enter. 10. Type O. Press Enter. It will now create your Key. 11. You will have to give it a "Pass Phrase" ... usually a short sentence or phrase that isn't birthdays, names, etc. of people in your family. I will say this to you, because when it comes to pass phrases, they're not easy sometimes... so write it down. Because what you DON'T want to do is forget it!! - When it's finished creating your Key, follow these steps: 1. Open a terminal. 2. Type in the following code: Code:
gpg --export -a "User Name" > public.key 4. Find the file "public.key" in your home directory. 5. Right click on the file, left click on open in text editor. 6. Press CTRL+A, then CTRL+C (Select All, Copy) 7. Open http://pgp.mit.edu in a browser window. 8. In the box under the label, "Submit a key" - right click in the box and then left click on paste. 9. Click on "Submit this key to the keyserver!" 10. Go back to http://pgp.mit.edu 11. Type in your name in the Search String box. 12. Highlight and Copy the section of the result page under "User ID" (It should be your name, comment, and email address.) - Ok, now that your key has been submitted, add it to your evolution profile: 1. Open Evolution. 2. Go to Edit->Preferences. 3. Choose your email account, click on it, and then click Edit. 4. Click on the security tab. 5. In the PGP/GPG Key ID: box, paste the User ID from the web page result. 6. Click OK. Click Close. - If you want to use your key in any new email, simply click on the "Security" menu item in your new mail message, and then click on "PGP Sign" ... That's it. You now have your own GPG key.
__________________
??? :: ubuntu is my OS soul mate UDSF :: Forum Policies :: Unanswered Posts :: Ruby :: Donate official ubuntu member :: ??????? :: so say we all Last edited by kassetra; May 25th, 2005 at 08:18 PM.. |
|
|
|
|
|
#2 |
|
Quad Shot of Ubuntu
![]() |
Re: HOWTO: Quick & Easy GPG Key
great guide! I'll follow it right now. I've always wanted a GPG key, as I've heard about security and stuff involving them...
But how does it work? I've heard about pen drive security and other stuff.. |
|
|
|
|
|
#3 | |
|
Tall Cafè Ubuntu
![]() Join Date: Feb 2005
Location: Rubyville
Beans: 1,261
|
Re: HOWTO: Quick & Easy GPG Key
Quote:
1. You can now "sign" an email / document, similar to when you sign something in the real world, and because you are the master of the secret key, the recipient of the email / document can be fairly sure that it came from you, and 2. You can also encrypt an email / document (usually done along with signing it as well) so that your message isn't viewed in transit.
__________________
??? :: ubuntu is my OS soul mate UDSF :: Forum Policies :: Unanswered Posts :: Ruby :: Donate official ubuntu member :: ??????? :: so say we all |
|
|
|
|
|
|
#4 |
|
May the Ubuntu Be With You!
![]() |
Re: HOWTO: Quick & Easy GPG Key
Why do I sense a new fad coming on?
But I'll give it a whirl. Oh, what would the email look like to the person getting it I wonder? And how would you setup Thunderbird to use this?
__________________
ArchLinux 0.8.0 Associate Member of the Free Software Foundation Last edited by Kyral; May 26th, 2005 at 12:10 PM.. Reason: Add the thing about Thunderbird |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO: Quick & Easy GPG Key
This is interesting HOWTO,I read about Linux Journal that you got a private secret key and a public key.You use secret key to encrypt and then you give your public key to your friend so he/she can decrypt and see your mail using the key. Have to try this myself also
__________________
Registered Linux user #389834 |
|
|
|
|
|
#6 | |
|
Way Too Much Ubuntu
![]() Join Date: May 2005
Location: Sweden
Beans: 232
Ubuntu Jaunty Jackalope (testing)
|
Re: HOWTO: Quick & Easy GPG Key
Quote:
|
|
|
|
|
|
|
#7 | |
|
Just Give Me the Beans!
![]() Join Date: Dec 2004
Beans: 58
|
Re: HOWTO: Quick & Easy GPG Key
Quote:
|
|
|
|
|
|
|
#8 | |
|
Tall Cafè Ubuntu
![]() Join Date: Feb 2005
Location: Rubyville
Beans: 1,261
|
Re: HOWTO: Quick & Easy GPG Key
Quote:
Thunderbird. Hmmmm. I'm wondering if the procedure is similar, maybe with different menu items and such.
__________________
??? :: ubuntu is my OS soul mate UDSF :: Forum Policies :: Unanswered Posts :: Ruby :: Donate official ubuntu member :: ??????? :: so say we all |
|
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: May 2005
Location: Portland, OR
Beans: 23
|
Re: HOWTO: Quick & Easy GPG Key
Excellent guide, thank you!
Does anybody happen to know of a Linux equivalent to PGP's Encrypted Disk? Preferrably something that can be installed via Synaptic. |
|
|
|
|
|
#10 | |
|
Gee! These Aren't Roasted!
![]() |
Quote:
It works by use of the RSA (i beleive) one way function basicly your message is transfored to ascii and then a "one way encryption" is performed, this si done by using modular math and a formula that i wont post because i cant find the book where i learned it from Anyways my question is how do i encrypt the messages :-p i know how it works i just dont know how to make it work. thanks in advance |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|