Changeset 3824:5b788db82f38 for contrib

Show
Ignore:
Timestamp:
2005-01-27 10:27:36 (4 years ago)
Author:
Marco d'Itri <md@…>
Branch:
HEAD
Message:

Make the default Muttrc work out the box for people using gnupg-agent.
Wrote and applied a one-line patch to make the %?p? conditional escape
work correctly, patch forwarded upstream. (Closes: #277646)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • contrib/gpg.rc

    r3820 r3824  
    3838 
    3939# decrypt a pgp/mime attachment 
    40 set pgp_decrypt_command="/usr/bin/gpg   --status-fd=2 --passphrase-fd 0 --no-verbose --quiet  --batch  --output - %f" 
     40set pgp_decrypt_command="/usr/bin/gpg   --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet  --batch  --output - %f" 
    4141 
    4242# create a pgp/mime signed attachment 
    4343# set pgp_sign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch  --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" 
    44 set pgp_sign_command="/usr/bin/gpg    --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" 
     44set 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 
    4747# set pgp_clearsign_command="/usr/bin/gpg-2comp --comment ''  --no-verbose --batch  --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" 
    48 set pgp_clearsign_command="/usr/bin/gpg   --charset utf-8 --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" 
     48set pgp_clearsign_command="/usr/bin/gpg   --charset utf-8 --no-verbose --batch --quiet   --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" 
    4949 
    5050# create a pgp/mime encrypted attachment 
     
    5454# create a pgp/mime encrypted and signed attachment 
    5555# 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" 
    56 set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg  --charset utf-8 --passphrase-fd 0  --batch --quiet  --no-verbose  --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" 
     56set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg  --charset utf-8 %?p?--passphrase-fd 0?  --batch --quiet  --no-verbose  --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" 
    5757 
    5858# import a key into the public key ring