OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Pine With Gnupg, Configuring imap mail client for pgp
post Sep 13 2007, 01:27 PM
Post #1

Group: Members
Posts: 22
Joined: 13-January 06
From: Hungary, Budapest
Member No.: 8,922


I use on desktop Thunderbird with enigmail, but I couldn't reach it on Z yet. (Capn_Fish!)

I've compiled pine earlier, but I missed the feature of enigmail, that the encrypted messages are stored encrypted with my own key, too. So they can not be read in plain text but I can read with my secret key.

Two days ago I tried it again and here is the solution:

1. Some new scripts are created:
# cat .gnupg/encrypt
TOLIST=`echo $* |awk '{for(i=1;i<=NF;i++) {printf(" -r %s", $i)}}'`
/usr/bin/gpg -ea $TOLIST

# cat .gnupg/encryptsigned
TOLIST=`echo $* |awk '{for(i=1;i<=NF;i++) {printf(" -r %s", $i)}}'`
/usr/bin/gpg -sea $TOLIST

# cat .gnupg/sign  
/usr/bin/gpg --clearsign

2. Insert them as filters to .pinerc:
# This variable takes a list of programs that message text is piped into  
# after MIME decoding, prior to display.
display-filters=_BEGINNING("-----BEGIN PGP MESSAGE-----")_ /usr/bin/gpg -t,
       _BEGINNING("-----BEGIN PGP SIGNED MESSAGE-----")_ /usr/bin/gpg -t

# This defines a program that message text is piped into before MIME
# encoding, prior to sending
sending-filters=~/.gnupg/encrypt _RECIPIENTS_ my.name@my.domain,
       ~/.gnupg/encryptsigned _RECIPIENTS_ my.name@my.domain,

Pine will ask you for filter before sending. The two encypting filter encrypt the message for each recipient (To: and Cc:) and for myself (my.name@my.domain,}, too.

One feature is missing: It doesn't encrypt the attachment!

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 23rd November 2017 - 05:53 PM