From Fedora Project Wiki
fp-wiki>ImportUser (Imported from MoinMoin) |
m (1 revision(s)) |
||
(No difference)
|
Revision as of 16:35, 24 May 2008
Configuring Pine and GPG
taken from http://spevack.org/PineGPG
General Setup
The goal is to be able to use Pine and GPG as follows:
- Send a message that is encrypted, signed, or both signed and encrypted.
- Receive a message that is encrypted, and successfully decrypt it.
- Receive a message that is signed, and successfully verify the signature.
You need:
- pine
- ez-pine-gpg
- gnupg
Install
Pine is packaged as an RPM, and is easily installed. ez-pine-gpg is shipped as a .tgz file -- you should extract it, and run the installation tool that comes with it.
Configuration
You'll have to make some changes to your ~/.pinerc file. Here's a sample of mine:
display-filters=_LEADING("-----BEGIN PGP")_ /home/spevack/bin/ez-pine-gpg-incoming sending-filters=/home/spevack/bin/ez-pine-gpg-sign _INCLUDEALLHDRS_, /home/spevack/bin/ez-pine-gpg-encrypt _RECIPIENTS_ spevack, /home/spevack/bin/ez-pine-gpg-sign-and-encrypt _INCLUDEALLHDRS_ _RECIPIENTS_ spevack
Make the following changes:
- /home/spevack/bin should be replaced with the installation path that you specified.
- In two places, the spevack after _RECIPIENTS_ should be replaced with your GPG public key's identifier. The reason you include your own GPG identifier here is so that if you send an encrypted message to "Alice", that message is also encrypted with your public key -- if you don't do this, then you will not be able to open that message in your sent-mail folder and remind yourself of what you wrote.