Subject: PGP filter for pine 3.92

From: [email-masked] (Roland Rosenfeld)
Date: 21 Mar 1996 19:55:51 +0100

Hi!

I'm looking for some _good_ filters for using PGP in pine 3.92.  At
the moment I use this first attempt, but this isn't optimal:

------------------- pgpencrypt -----------------------------
#!/bin/sh
#
# 21.03.96 Roland Rosenfeld <[email-masked]> 
#

pgp -feast $*
------------------- pgpencrypt -----------------------------

------------------- pgpsign --------------------------------
#!/bin/sh
#
# 21.03.96 Roland Rosenfeld <[email-masked]> 
#

pgp -fast
------------------- pgpsign --------------------------------

------------------- pgpdecode ------------------------------
#!/bin/sh
#
# 21.03.96 Roland Rosenfeld <[email-masked]> 
#

trap "rm -f /tmp/pgpdecode.???.$$; exit" 0 1 2 15

(pgp -f > /tmp/pgpdecode.txt.$$) 2>&1 | tee /tmp/pgpdecode.pgp.$$ 1>&2

sed -e 's/^/| /' /tmp/pgpdecode.pgp.$$

echo -e "\n"
cat /tmp/pgpdecode.txt.$$
------------------- pgpdecode ------------------------------

These scripts are configured in .pinerc as:

------------------- .pinerc --------------------------------
# This variable takes a list of programs that message text is piped into
# after MIME decoding, prior to display.
display-filters="-----BEGIN PGP" /home/roland/bin/pgpdecode

# This defines a program that message text is piped into before MIME
# encoding, prior to sending
sending-filters=/home/roland/bin/pgpsign,
	/home/roland/bin/pgpencrypt _RECIPIENTS_
------------------- .pinerc --------------------------------

Or the same in the setup part of pine.

Any better ideas?

Ciao

        Roland

-- 
  * Internet: [email-masked] * Fido: 2:2450/30.1 *

---

From: Mats Arvendal <[email-masked]>
Date: Mon, 25 Mar 1996 08:52:57 +0100 (MET)

On 21 Mar 1996, Roland Rosenfeld wrote:

[...]
> ------------------- .pinerc --------------------------------
[...]
> 	/home/roland/bin/pgpencrypt _RECIPIENTS_

You could add your own emailaddress to sending-filters, this way you can
read the copy in the sent-mail folder.

 sending-filters=/home/roland/bin/pgpsign,
       /home/roland/bin/pgpencrypt [email-masked] _RECIPIENTS_

/Mats

---

From: [email-masked] (Peter J. Weyers)
Date: 25 Mar 1996 10:10:51 GMT

Mats Arvendal ([email-masked]) wrote:
: You could add your own emailaddress to sending-filters, this way you can
: read the copy in the sent-mail folder.

either you could enable encrypt-to-self in the PGP config.txt.

Gives the same result

Peter
           ____________            
  ------- |            | ---------------------------------------------------- 
          | H  E  R  A |      Peter J. Weyers  <[email-masked]>          
          |      ___---|                                                     
          |___---   ||||  DESY -F15- Geb. 62  Phone: +40-8998-3561           
     ___---  --     ||||   Notkestrasse 85    Fax  :    -8998-2950(expected) 
  ----------[  ]-------|  D - 22603 Hamburg             -8994-4306(not  "  )
          |  --     B  |                                                     
          '____________'     http://sugra.desy.de/user/weyers/home.html