NOTE: I tried this script only with Linux. I don't have access to other
Plattforms with recent Versions of Pine.
Possible Problems could be the stty Settings, One is -echo, the other
is -cbreak. You could easily disable them, if you have problems. Better,
tell me the different settings, perhaps i'll work them in.
I have taken Rolands
Script for displaying mails. Thanks, Roland !
Now it can also send pgpified mail.
No big Deal. No big difference until now but comfortable.
Pine has some new Features, one of them ist the _DATAFILE . This is for filters,
storing Information while pine is running. One new Option is to let papp store
your passphrase in this file. It is mode 600, but nonetheless a BIG security Hole.
My Intention was make PGP comfortable enough, to use it every Day, with every mail.
It is up to You, if you want to use this feature never, sometimes or all the time. This script is asking for Your pass phrase one time per session if you say so in the setup. If You don't want to give the pass phrase away, just answer No, or type a wrong pass phrase and you will be asked every time PGP needs the pass phrase.
So, what do you need ?
display-filters = "-----BEGIN PGP" /home/aldo/perl/papp -passfile _DATAFILE_ sending-filters = /home/aldo/bin/pine.pgp -metoo -encode -passfile _DATAFILE_ _RECIPIENTS_
Another Way to send pgpified mails is to invoke an alternate Editor. Look at your pine-config ! A sufficient alternative Editor is
#!/bin/bash # clear echo "type 'e' for encryption, 's' for signing" read options file="`cat $1|pgp -fat$options `" echo "$file" >$1 sleep 3Just save this to a file, chmod +x it and set it as the alternative editor. All done.
Especially Bug reporting would be nice, since it works for me, and i am a little bit tired of checking all the different options and possibilities again and again. Thanks !
Problems: