Changeset 4846:14e953f583af for contrib

Show
Ignore:
Timestamp:
2006-10-29 18:32:30 (2 years ago)
Author:
Alain Bench <veronatif@…>
Branch:
HEAD
Message:

Add the usual %?p? condition around the --passphrase-fd option in 3
commented-out examples of gpg-2comp usage. Also match gpgv in a
good_sign pattern commented-out example.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • contrib/gpg.rc

    r4359 r4846  
    4141 
    4242# create a pgp/mime signed attachment 
    43 # set pgp_sign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch  --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" 
     43# set pgp_sign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" 
    4444set pgp_sign_command="/usr/bin/gpg    --no-verbose --batch --quiet   --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" 
    4545 
    4646# create a application/pgp signed (old-style) message 
    47 # set pgp_clearsign_command="/usr/bin/gpg-2comp --comment ''  --no-verbose --batch  --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" 
     47# set pgp_clearsign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" 
    4848set pgp_clearsign_command="/usr/bin/gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" 
    4949 
     
    5353 
    5454# create a pgp/mime encrypted and signed attachment 
    55 # set pgp_encrypt_sign_command="pgpewrap gpg-2comp  --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" 
     55# set pgp_encrypt_sign_command="pgpewrap gpg-2comp %?p?--passphrase-fd 0? -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" 
    5656set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" 
    5757 
     
    7676# pattern for good signature - may need to be adapted to locale! 
    7777 
    78 # set pgp_good_sign="^gpg: Good signature from" 
     78# set pgp_good_sign="^gpgv?: Good signature from " 
    7979 
    8080# OK, here's a version which uses gnupg's message catalog: