|
|
GPG HOW-To ...
|
|
|
|
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jun 2001
Location: Merry Land
Status:
Offline
|
|
Very cool! Thanks a lot!
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Sep 2001
Location: Boston
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status:
Offline
|
|
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 ?
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status:
Offline
|
|
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 Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|