ERROR: Slooooow dooooown... this page load was delayed.


pinepg - perl script to interface Pine and GnuPG ChangeLog

HOWTO


# Pine Privacy Guard 1.02 (pinepg)
# =======================
# Prerequisites:
# perl >= 5
# pine >= 4.10
# gnupg >= 1.0.5
# shellutils >= 2.0 or coreutils

# gnupg itself must have already been set up.  If you haven't already done
# so, see my howto, the gpg documentation, and/or this howto:
# http://quantumlab.net/pine_privacy_guard/howto_setup_gpg.html

cd
test -f installed/pinepg-1.02.tgz && mv installed/pinepg-1.02.tgz .
test ! -f pinepg-1.02.tgz &&
wget http://quantumlab.net/pine_privacy_guard/pinepg-1.02.tgz

# Become root to install and configure it
su

find /usr/local -maxdepth 1 -type d -name "pinepg-*" -exec rm -r {} \;
tar xzvf pinepg-1.02.tgz -C /usr/local
ln -sf /usr/local/pinepg-1.02 /usr/local/pinepg
cd /usr/local/pinepg

# Fix paths in the script
PERL=`which perl`
CP=`which cp`
GPG=`which gpg`
STTY=`which stty`
cat pine_privacy_guard.pl |
sed -e "s%/usr/bin/perl%$PERL%" -e "s%/bin/cp%$CP%" \
  -e "s%/usr/bin/gpg%$GPG%" -e "s%/bin/stty%$STTY%" \
  > pine_privacy_guard.pl.new
test -s pine_privacy_guard.pl.new &&
( mv -f pine_privacy_guard.pl pine_privacy_guard.pl.orig
   chmod 600 pine_privacy_guard.pl.orig
   mv pine_privacy_guard.pl.new pine_privacy_guard.pl )
rm -f pine_privacy_guard.pl.new
unset PERL
unset CP
unset GPG
unset STTY

chown -R root:root .
chmod 600 CREDITS LICENSE README VERSION pinepg_aliases
chmod 755 pine_privacy_guard.pl

# In pine's configuration in pine (M -> S -> C) or in pinerc.conf, set
# display-filters to (all on one line, not including the "# " at the
# beginning of the line):
# _LEADING("-----BEGIN PGP MESSAGE-----")_ /usr/local/pinepg/decrypt _RESULTFILE_ _DATAFILE_ _PREPENDKEY_, _LEADING("-----BEGIN PGP SIGNED MESSAGE-----")_ /usr/local/pinepg/verify _TMPFILE_ _RESULTFILE_
# and set sending-filters to:
# /usr/local/pinepg/clearsign _RESULTFILE_ _DATAFILE_ _PREPENDKEY_, /usr/local/pinepg/encrypt _RECIPIENTS_ _RESULTFILE_ _DATAFILE_ _PREPENDKEY_

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/pinepg-*.tgz
mv pinepg-1.02.tgz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2005-11-13 2:39pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]