Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > GPG HOW-To ...

GPG HOW-To ...
Thread Tools
Ludovic Hirlimann
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
May 23, 2003, 02:08 PM
 
Hi,

I'll explain how to use GPG with Mail.app. This will allow you to crypt and digitally sign mails.

1): Install gpg via fink :
fink install gnupg[br]
2): Create your private and public keys:
  • gpg
  • gpg --gen-key

    select 1.
    select 1024.
    Choose expiration date.
    Add you valid E-mail Adress.
    Put a password on your keys.
  • gpg --list-keys.
    [grisreve:~] ludo% gpg --list-keys
    /Users/ludo/.gnupg/pubring.gpg
    ------------------------------
    pub 1024D/CB53D761 2002-10-03 Ludovic Hirlimann <[email protected]>
    etc ..
3) Export your keys , import keys.
note that CB53D761 is my key.[br]
Edit ~/.gnupg/options and add the following line :[br]
keyserver wwwkeys.us.pgp.net
  • gpg --send-key CB53D761
    will send the key to the gpg.net server, where other pgp users will be able to see it, use it.
  • gpg --recv-keys CB53D761
    will update my key based on what others have said on it.

Now you need to find your recipient's key add it to your keys in order to encrypt your mails.

You need to download GPGMail and install it to be abel to use pgp with mail.app.
     
snerdini
Senior User
Join Date: Jun 2001
Location: Merry Land
Status: Offline
Reply With Quote
May 23, 2003, 03:58 PM
 
Very cool! Thanks a lot!
     
Garrett Smith
Fresh-Faced Recruit
Join Date: Sep 2001
Location: Boston
Status: Offline
Reply With Quote
May 23, 2003, 04:42 PM
 
What is my public key?

http://pgp.mit.edu/

Public Key Server -- Error

Error decoding keyblock

Code:
[Garrett-Smiths-Computer:~] garrett% gpg --send-key 687A2F63 gpg: no keyserver known (use option --keyserver) [Garrett-Smiths-Computer:~] garrett%
I'm guessing that 687A2F63, but I don't know.
     
Ludovic Hirlimann  (op)
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
May 24, 2003, 12:56 AM
 
Originally posted by Garrett Smith:
What is my public key?

http://pgp.mit.edu/

Public Key Server -- Error

Error decoding keyblock

Code:
[Garrett-Smiths-Computer:~] garrett% gpg --send-key 687A2F63 gpg: no keyserver known (use option --keyserver) [Garrett-Smiths-Computer:~] garrett%
I'm guessing that 687A2F63, but I don't know.
What's the output of gpg --list-keys ?
     
Ludovic Hirlimann  (op)
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
May 24, 2003, 01:02 AM
 
Code:
[Garrett-Smiths-Computer:~] garrett% gpg --send-key 687A2F63 gpg: no keyserver known (use option --keyserver) [Garrett-Smiths-Computer:~] garrett%
You need to tell gpg which keyserver to use. So you can add the following switch to your command --keyserver wwwkeys.us.gpg.net. If you're lazy you will add a ligne to the $HOME/.gnupg/option file which tells which keyserver to use.
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:21 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,