Changeset 1319:0d8efbf4527a for contrib

Show
Ignore:
Timestamp:
1999-10-14 08:16:55 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

New gpg.rc from Roland Rosenfeld.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • contrib/gpg.rc

    r1181 r1319  
    22# 
    33# Command formats for gpg. 
     4#  
     5# This version uses gpg-2comp from  
     6#   http://muppet.faveve.uni-stuttgart.de/~gero/gpg-2comp.tar.gz 
    47# 
    58# $Id$ 
    69# 
     10# %p    The empty string when no passphrase is needed, 
     11#       the string "PGPPASSFD=0" if one is needed. 
     12# 
     13#       This is mostly used in conditional % sequences. 
     14# 
     15# %f    Most PGP commands operate on a single file or a file 
     16#       containing a message.  %f expands to this file's name. 
     17# 
     18# %s    When verifying signatures, there is another temporary file 
     19#       containing the detached signature.  %s expands to this 
     20#       file's name. 
     21# 
     22# %a    In "signing" contexts, this expands to the value of the 
     23#       configuration variable $pgp_sign_as.  You probably need to 
     24#       use this within a conditional % sequence. 
     25# 
     26# %r    In many contexts, mutt passes key IDs to pgp.  %r expands to 
     27#       a list of key IDs. 
    728 
    829# decode application/pgp 
    9 set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch -o - --decrypt %f" 
     30set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch -o - %f" 
    1031 
    1132# verify a pgp/mime signature 
     
    1334 
    1435# decrypt a pgp/mime attachment 
    15 set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch -o - --decrypt %f" 
     36set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch -o - %f" 
    1637 
    1738# create a pgp/mime signed attachment 
    18 set pgp_sign_command="gpg --no-verbose --batch -o - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" 
     39set pgp_sign_command="gpg-2comp --no-verbose --batch -o - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" 
     40 
     41# create a application/pgp signed (old-style) message 
     42set pgp_clearsign_command="gpg-2comp --no-verbose --batch -o - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" 
    1943 
    2044# create a pgp/mime encrypted attachment 
    21 set pgp_encrypt_only_command="cat - %f | pgpewrap gpg --no-verbose -v --batch -o - --encrypt --armor --always-trust -- -r %r" 
     45set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch -o - --encrypt --textmode --armor --always-trust -- -r %r -- %f" 
    2246 
    2347# create a pgp/mime encrypted and signed attachment 
    24 set pgp_encrypt_sign_command="cat - %f | pgpewrap gpg --passphrase-fd 0 --no-verbose -v --batch -o - --encrypt --sign --textmode %?a?-u %a? --armor --always-trust -- -r %r" 
     48set pgp_encrypt_sign_command="pgpewrap gpg-2comp --passphrase-fd 0 -v --batch -o - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" 
    2549 
    2650# import a key into the public key ring 
     
    3155 
    3256# verify a key 
    33 set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs" 
     57set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" 
    3458 
    3559# read in the public key ring 
     
    3963set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"  
    4064 
     65# receive key from keyserver: 
     66#set pgp_getkeys_command="wrap.sh -g %r" 
     67set pgp_getkeys_command=""