NODE 215fa3ebPGP/Unix scripts, mail proggies?
Chris Lee <chrislee@sunspot.tiac.net>Fri, 9 Aug 1996 14:40:28 +0800
Hello all,
I joined this list a while ago and am curious whether a there is a
simple way to encrypt/decrypt e-mail with PGP in a Linux(Unix)
enviroment...? Sorry if this has been answered a thousand times, but it
would really make PGP a more viable option with my small ISP.
Thank you very much for any answers, please reply to me personally.
Chris Lee
PS Please don't suggest any Windows programs, excluding X-Windows of
course. :)
===============================================================
| chrislee@sunspot.tiac.net | Finger for PGP Public Key |
| "What color is a chameleon on a mirror?" -BSD |
| WWW Page: http://www.tiac.net/users/chrislee |
===============================================================
NODE f4cd51b8Re: PGP/Unix scripts, mail proggies?
Jeremey Barrett <jeremey@forequest.com>Fri, 16 Aug 1996 06:56:25 +0800
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 8 Aug 1996, Chris Lee wrote:
> Hello all,
>
> I joined this list a while ago and am curious whether a there is a
> simple way to encrypt/decrypt e-mail with PGP in a Linux(Unix)
> enviroment...? Sorry if this has been answered a thousand times, but it
> would really make PGP a more viable option with my small ISP.
>
> Thank you very much for any answers, please reply to me personally.
>
Here's what I use, a simple sh script with pine for signing/encrypting.
#!/bin/sh
# Written by: Jeremey Barrett <jeremey@forequest.com>
#
# Simple as hell sh script for automating PGP. I use pine, and have not
# tried this with any other mailer, but it should work. The version of this I
# use asks all kinds of questions about using remailers and nym servers
# before editing the mail, so it can toss in templates and such. Anyway,
# hack this at will.
#
# Pine configgy stuff I use with this:
#
# A) enable-alternate-editor-cmd
# B) enable-alternate-editor-implicitly
# C) signature-at-bottom
# D) editor=<full path to this script>
# I would use emacs cept that firing it up for every mail I send would suck
PGPEDITOR='pico -z -t'
# Some echos don't like -n, modify if necessary
ECHOTYPE='echo -n'
# Edit the mail... the mailer shold give us the tmp file as $1
$PGPEDITOR $1
clear
# Annoy with questions
$ECHOTYPE "PGP sign this message? [n] "
read PGP
if [ "$PGP" = "y" -o "$PGP" = "Y" ]
then
$ECHOTYPE "PGP encrypt this message? [n] "
read PGPE
if [ "$PGPE" = "y" -o "$PGPE" = "Y" ]
then
pgp -east +clearsig=ON $1
mv $1.asc $1
else
pgp -sat +clearsig=ON $1
mv $1.asc $1
fi
else
$ECHOTYPE "PGP encrypt this message? [n] "
read PGPE
if [ "$PGPE" = "y" -o "$PGPE" = "Y" ]
then
pgp -eat $1
mv $1.asc $1
fi
fi
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeremey Barrett
Senior Software Engineer jeremey@forequest.com
The ForeQuest Company http://www.forequest.com/
PGP Public Key: http://www.forequest.com/people/jeremey/pgpkey.html
"less is more." -- Mies van de Rohe.
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMhNo0i/fy+vkqMxNAQHwRgP/etGXm06WG7yTVLYYKbwmasezVJX9RScS
kyY4kWornpBQvTRK7VKNAzVH5Pe7lXFtQAL1kpVtuNxwXsZf2tKVzXC8ZwhCF8eZ
poAH6m8pE6d9n2Ft22PTOza6URU+Lx+18D3AoNyEvEQE8xMaMIOno121eiq5/Smk
5BOPFkSuzKM=
=EUq6
-----END PGP SIGNATURE-----
NODE 5d6ccf46Re: PGP/Unix scripts, mail proggies?
Gregory Demetrick <gjdemetr@infi.net>Fri, 16 Aug 1996 07:06:38 +0800
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 15 Aug 1996, Jeremey Barrett wrote:
> On Thu, 8 Aug 1996, Chris Lee wrote:
>
> > Hello all,
> >
> > I joined this list a while ago and am curious whether a there is a
> > simple way to encrypt/decrypt e-mail with PGP in a Linux(Unix)
> > enviroment...? Sorry if this has been answered a thousand times, but it
> > would really make PGP a more viable option with my small ISP.
> >
> > Thank you very much for any answers, please reply to me personally.
> >
>
> Here's what I use, a simple sh script with pine for signing/encrypting.
>
> #!/bin/sh
>
> # Written by: Jeremey Barrett <jeremey@forequest.com>
> #
> # Simple as hell sh script for automating PGP. I use pine, and have not
> # tried this with any other mailer, but it should work. The version of this I
> # use asks all kinds of questions about using remailers and nym servers
> # before editing the mail, so it can toss in templates and such. Anyway,
> # hack this at will.
> #
<deletia>
There is also a utilitie I use called mkpgp. It also envokes the
alternate editor for encryption and decryption of signed mail. It also
has an extensive readme and help files. To get it you can do the
following:
If you send blank e-mail to slutsky@lipschitz.sfasu.edu with
Subject: mkpgp
They will mail you everything you need to get started. It took me about
20 Minutes to get it up and running.
Greg Demetrick
Pub Key: http://www.infi.net/~gjdemetr/greg.txt
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by mkpgp2.0, a Pine/PGP interface.
iQB1AwUBMhN8LkHPUq9jfdGZAQH+bQL+MeJSM/WsDKpoeAp1yT/kQth3CoPqJirJ
ei3FigQ024ThLZSjcaNjK212ynmpojEcGAepEzJ4jQc8Lgd2WII9ZGi3tpbCh7tB
OaxUDqV2sTHvkvGUvA/ByVwOe80uwpdd
=4h3N
-----END PGP SIGNATURE-----
NODE 79e96a90Re: PGP/Unix scripts, mail proggies?
bryce@digicash.comFri, 16 Aug 1996 07:41:25 +0800
-----BEGIN PGP SIGNED MESSAGE-----
I have an sh script to automate PGP usage, available for 50
cents in Ecash from "http://www.c2.net/~bryce/BAP.html" or for
free by e-mailing me and asking politely. BAP is simple enough
that my mother can use it, and functional enough that I use it.
Regards,
Bryce
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
Comment: Auto-signed under Unix with 'BAP' Easy-PGP v1.1b2
iQB1AwUBMhODZUjbHy8sKZitAQGr1AL+LjpppE77K8qNhcpblSI178BfC/hRBQ8u
MM63n006/i0oSqsvybB5VrKp8U25bjYERH1xNVaGynZQVT7UME+qlFK6qdfo+Wbg
5OkPOqOPz4wN28MQ6M87NdHoJM97nDjj
=Bn+w
-----END PGP SIGNATURE-----