LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 10-04-2008, 01:36 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,505
Blog Entries: 1

Rep: Reputation: 67
Question horde: How are gnupg private keys set up?


I want to use keys on horde. I have already seen that you can setup the public key of people in their item of the address book. However, how do I set up my private key so email that's sent goes out encrypted?

Thanks in advance.
 
Old 10-05-2008, 06:06 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 49
GPG allows you to sign, and optionally encrypt using a pre-arranged secret key or else passphrase. To sign, you need your own *valid* private key and the recipient's public key.

To create a private key: gpg --gen-key
What you choose depends on whether you want to sign only or sign and encrypt.

Have a look at:
http://www.tldp.org/LDP/LGNET/104/oregan3.html
http://tldp.org/LDP/intro-linux/html/sect_09_04.html

Last edited by pinniped; 10-05-2008 at 06:10 AM.
 
Old 10-05-2008, 01:09 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,505
Blog Entries: 1

Original Poster
Rep: Reputation: 67
Thanks for your answer, pinniped.

correct me if I'm wrong. The mechanics of sending encrypted mail is this:
- the recipient generates his/her key pair, publishes his _public_ key to _potential_ senders.
- The sender uses the recipient's _public_ key to encrypt the mail.
- The recipient uses his/her _private_ key to decrypt the mail.

Is that right? That means that I would need to set up people's public keys in horde so that i can encrypt mail sent to them (I've already said that I can do that in the address book items). And I'll need to set my private key so that I can decrypt mail sent to me. How's that done?

Maybe one explanation of the whole process in horde (not generating the keys, as I said) would be pertinent. Anyway,. I've noticed that I need IMP to do this whole thing... so I'll be working on it on monday.

Wait for my follow up. :-)
 
Old 10-05-2008, 04:18 PM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 49
For the public keys, you 'import' them which adds them to your public 'keyring'.

Also, it is best if you set up your keys to expire and allow for publication of a revocation list. If a key is expired or revoked you get messages printed out asking if you're sure you want to decrypt the message. Normally, if a key is revoked you never decrypt the message.

Take time to read the gpg manual (man gpg); practice generating your own keys and an alternate set so you can play with encoding and decoding text files on your own machine and also 'importing' the public keys from the other key list.
 
  


Reply

Tags
gnupg, horde


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Public and Private Keys??? ajeetraina Linux - Server 2 05-10-2008 02:15 PM
psi not detecting any keys generated by seahorse(gnome frontend for gnupg) ashjas Fedora 0 01-21-2008 06:44 PM
SSH public/private key authentication with GnuPG keys? thinksincode Linux - Security 1 02-25-2005 02:33 PM
Enigmail on Thunderbird with GnuPG keys Cyb3rKnyght Linux - Software 1 12-17-2004 09:44 AM
simple gnuPG private key question. qwijibow Linux - Security 1 10-11-2003 05:57 PM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration