PGP do PINE

Petr Hlustik hlustik na cortex.neurology.umaryland.edu
Pátek Duben 9 19:07:24 CEST 1999


> On Fri, 9 Apr 1999, Jan Satko wrote:
> 
> > Vie mi niekto poradit ako vopchat pgp do Pine ?
> > Skusal som pinepgp ale robi to blbosti.
> > Predstavoval by som si to tak, ze pisem ako nromalne postu, ale pritom sa
> > to posiela aj s pgp.

Já používám filtry, bylo to někdy publikováno v comp.mail.pine. Přiložený
skriptík se použije jako display-filter, dál je třeba nastavit v
konfiguraci sending-filters. Já mám jeden pro sign a jeden pro sign&encrypt

~/.pgpstuff/pgpsign -fast
~/.pgpstuff/encrypt -feast _RECIPIENTS_

pgpsign i encrypt jsou symbolické linky na pgp (nevím proč jsou třeba, ale
funguje).  Při posílání pošty se dá rotovat skrz seznam sending-filtrů,
t.j. zda šifrovat či ne. Hodně štěstí.

Zdraví
Petr

---- display.csh ---------------------
#!/bin/csh

pgp

echo "\n\nPress [RETURN] to continue" >/dev/tty
read junk </dev/tty
exit 0

# Comments from J. Yuan  5/1/96
# This script is obtained from comp.mail.pine newsgroup.  It is 
# written by someone, but not me.  I claim no credit or responsibility.

# To use it for Pine 3.92 or newer version, you should: (1) Make it
# executable (chmod +x filename).  (2) Launch Pine, and get into the
# Setup-Configuration menu.  (3) Go down the menu 3 pages and find the
# display-filter option.  (4) Add Value: _LEADING("-----BEGIN PGP")_
# /usr.../display.csh, where "/usr...csh" is the path to this script.
# Exit from the configuration menu and confirm the change.  That's it.

# You should see the complete dialog with PGP before a PGP mail is
# decrypted and that is the whole purpose of using this script.
# If you have more questions, please feel free to email me at
# "jie.yuan na uc.edu".  Have a good day!


Další informace o konferenci Linux