Subject: pgp and pine 3.91

From: "Dr. Douglas Arnold" <doug@orsino>
Date: Tue, 11 Apr 1995 11:45:26 -0400

The development info www page says that the current version of Pine is 
3.90 and that future versions will include PEM (whatever that is) and/or 
PGP support.   I seem to be using version 3.91.  Is it possible that I 
have access to PGP and don't know it?  

Since this is probably too good to be true, Is there a simple way to 
increase privacy on a UNIX-based multiuser system?

---

From: Terry Gray <[email-masked]>
Date: Fri, 14 Apr 1995 19:53:40 -0700 (PDT)

The web page is a bit out of date... 3.91 does not have any pgp support, 
but 3.92 will have hooks to enable pgp use.  (Sorry, no date for 3.92 yet)

-teg

---

From: Kevin McElearney <[email-masked]>
Date: Sun, 16 Apr 1995 06:39:23 -0400

-----BEGIN PGP SIGNED MESSAGE-----

> but 3.92 will have hooks to enable pgp use.  (Sorry, no date for 3.92 yet)

To check a PGP signature you just need to "pipe" your message to the
pgp command.

I use vi as my alt-editor and have the following in my .exrc file to
assist me in email composition.

	^[ = A quoted <ESC> character
	^M = A quoted RETURN character.  
	Both of these can be inserted in vi using a ^v (control V)

" Format paragraph to 75 columns
map ^[p !}fmt -c -75^M
"
" Spell check file (NOTE: saves current edit session)
map ^[s :w!^M:!ispell %^M:e!^M^M
"
" PGP sign the message (NOTE: saves current edit session)
map ^[S :w!^M:!pgpsign %^M:e!^M^M

I have not done it yet, but a PGP encrypt script would not be hard to
write.  The only problem is the user name would have to be entered by
hand.

The short pgpsign script is attached.  I know this is a hack but it will
work until 3.92.

Please don't ask me pgp questions check ftp://rtfm.mit.edu for FAQ
information.  While some of you "newbies" are at it read the pine FAQ.

Kevin McElearney (KM108)
_________________________________________________________________________
BBN Planet Corporation                      Phone: +1 617 873-4684
New England Region Engineering              Fax:   +1 617 873-5620
150 Cambridge Park Drive, 20/342            http://www.bbnplanet.com/
Cambridge, MA  02140                        mailto:[email-masked]
#!/bin/sh

if [ ! -f $1 ]; then
	echo "$0: Filename '$1' does not exist"
	exit 1
fi

pgp -sta $1
mv $1.asc $1

---

From: [email-masked]
Date: Sun, 16 Apr 1995 07:59:41 -0400

-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 16 Apr 1995, Kevin McElearney wrote:

:-9 To check a PGP signature you just need to "pipe" your message to the
:-9 pgp command.
[...]
:-9 I have not done it yet, but a PGP encrypt script would not be hard to
:-9 write.  The only problem is the user name would have to be entered by
:-9 hand.

    Save your effort.  There is a mkpgp script which enables Pine and PGP 
to interoperate fairly seamlessly, using this script as the alternate 
editor and still giving access to the real alternate editor.  It seems to 
work well for most reasonably well-behaved e-mail addresses and OSes and 
correspondents, and it took only a bit of minor hacking to get it to work 
with one particular user.  It should automagically be able to figure out 
the user name.

    For details on how to get the mkpgp script,
finger [email-masked]

:-9 On 14 Apr 1995, Terry Gray wrote:
:-9 > 3.91 does not have any pgp support, but 3.92 will have hooks to enable pgp use.

Barry Bouwsma
<[email-masked]>

---

From: Kevin McElearney <[email-masked]>
Date: Sun, 16 Apr 1995 06:39:23 -0400

-----BEGIN PGP SIGNED MESSAGE-----

Kevin McElearney (KM108)

if [ ! -f $1 ]; then

pgp -sta $1
mv $1.asc $1