From bb8ad0dc229f1e8520ca312860d20bd84d272a01 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Tue, 14 Mar 2000 07:19:05 +0000 Subject: [PATCH] More nits: Include a sample configuration file for using mutt with pgp6, and install and actually distribute Tin.rc. --- contrib/Makefile.in | 4 ++-- contrib/pgp6.rc | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 contrib/pgp6.rc diff --git a/contrib/Makefile.in b/contrib/Makefile.in index e5ae33f12..3ccbd7b0b 100644 --- a/contrib/Makefile.in +++ b/contrib/Makefile.in @@ -21,11 +21,11 @@ VPATH=@srcdir@ subdir=contrib -DISTFILES=Mush.rc Pine.rc Makefile.in language.txt language50.txt \ +DISTFILES=Mush.rc Pine.rc Tin.rc Makefile.in language.txt language50.txt \ patch.slang-1.2.2.keypad.1 sample.muttrc sample.mailcap \ pgp2.rc pgp5.rc gpg.rc sample.muttrc-tlr -SAMPLES=Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc +SAMPLES=Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc all clean: diff --git a/contrib/pgp6.rc b/contrib/pgp6.rc new file mode 100644 index 000000000..7767e8f19 --- /dev/null +++ b/contrib/pgp6.rc @@ -0,0 +1,45 @@ +# -*-muttrc-*- +# +# PGP command formats for PGP 2. +# +# $Id$ +# + +# decode application/pgp +set pgp_decode_command="%?p?PGPPASSFD=0; export PGPPASSFD;? cat %?p?-? %f | pgp6 +compatible +verbose=0 +batchmode -f" + +# verify a pgp/mime signature +set pgp_verify_command="pgp6 +compatible +verbose=0 +batchmode -t %s %f" + +# decrypt a pgp/mime attachment +set pgp_decrypt_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +batchmode -f" + +# create a pgp/mime signed attachment +set pgp_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +batchmode -abfst %?a? -u %a?" + +# create a pgp/mime encrypted attachment +set pgp_encrypt_only_command="pgp6 +compatible +verbose=0 +encrypttoself +batchmode -aeft %r < %f" + +# create a pgp/mime encrypted and signed attachment +set pgp_encrypt_sign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +encrypttoself +batchmode +clearsig=off -aefts %?a?-u %a? %r" + +# import a key into the public key ring +set pgp_import_command="pgp6 +compatible -ka %f " + +# export a key from the public key ring +set pgp_export_command="pgp6 +compatible -kxaf %r" + +# verify a key +set pgp_verify_key_command="pgp6 +compatible -kcc %r" + +# read in the public key ring +set pgp_list_pubring_command="pgpring -5 %r" + +# read in the secret key ring +set pgp_list_secring_command="pgpring -s -5 %r" + +# create a clearsigned message +set pgp_clearsign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 +compatible +verbose=0 +batchmode +clearsig -afst %?a? -u %a?" + +# fetch keys +set pgp_getkeys_command="pkspxycwrap %r" -- 2.40.0