From 2c16ef9ad8e031185792a56bbf9e49bc4bedc534 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 2 Aug 2001 22:59:16 +0000 Subject: [PATCH] Don't emit a comment armor header at all. --- contrib/gpg.rc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/contrib/gpg.rc b/contrib/gpg.rc index 82835afb3..cdf404e42 100644 --- a/contrib/gpg.rc +++ b/contrib/gpg.rc @@ -31,44 +31,44 @@ # breaking PGP/MIME. # decode application/pgp -set pgp_decode_command="/usr/bin/gpg --comment '-' %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" +set pgp_decode_command="/usr/bin/gpg --comment '' %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" # verify a pgp/mime signature -set pgp_verify_command="/usr/bin/gpg --comment '-' --no-verbose --quiet --batch --output - --verify %s %f" +set pgp_verify_command="/usr/bin/gpg --comment '' --no-verbose --quiet --batch --output - --verify %s %f" # decrypt a pgp/mime attachment -set pgp_decrypt_command="/usr/bin/gpg --comment '-' --passphrase-fd 0 --no-verbose --quiet --batch --output - %f" +set pgp_decrypt_command="/usr/bin/gpg --comment '' --passphrase-fd 0 --no-verbose --quiet --batch --output - %f" # create a pgp/mime signed attachment -# set pgp_sign_command="/usr/bin/gpg-2comp --comment '-' --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" -set pgp_sign_command="/usr/bin/gpg --comment '-' --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" +# set pgp_sign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" +set pgp_sign_command="/usr/bin/gpg --comment '' --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" # create a application/pgp signed (old-style) message -# set pgp_clearsign_command="/usr/bin/gpg-2comp --comment '-' --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" -set pgp_clearsign_command="/usr/bin/gpg --comment '-' --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" +# set pgp_clearsign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" +set pgp_clearsign_command="/usr/bin/gpg --comment '' --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" # create a pgp/mime encrypted attachment -# set pgp_encrypt_only_command="pgpewrap gpg-2comp --comment '-' -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" -set pgp_encrypt_only_command="pgpewrap /usr/bin/gpg --comment '-' --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" +# set pgp_encrypt_only_command="pgpewrap gpg-2comp --comment '' -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_only_command="pgpewrap /usr/bin/gpg --comment '' --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" # create a pgp/mime encrypted and signed attachment -# set pgp_encrypt_sign_command="pgpewrap gpg-2comp --comment '-' --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" -set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg --comment '-' --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" +# set pgp_encrypt_sign_command="pgpewrap gpg-2comp --comment '' --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg --comment '' --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" # import a key into the public key ring -set pgp_import_command="/usr/bin/gpg --comment '-' --no-verbose --import -v %f" +set pgp_import_command="/usr/bin/gpg --comment '' --no-verbose --import -v %f" # export a key from the public key ring -set pgp_export_command="/usr/bin/gpg --comment '-' --no-verbose --export --armor %r" +set pgp_export_command="/usr/bin/gpg --comment '' --no-verbose --export --armor %r" # verify a key -set pgp_verify_key_command="/usr/bin/gpg --comment '-' --verbose --batch --fingerprint --check-sigs %r" +set pgp_verify_key_command="/usr/bin/gpg --comment '' --verbose --batch --fingerprint --check-sigs %r" # read in the public key ring -set pgp_list_pubring_command="/usr/bin/gpg --comment '-' --no-verbose --batch --quiet --with-colons --list-keys %r" +set pgp_list_pubring_command="/usr/bin/gpg --comment '' --no-verbose --batch --quiet --with-colons --list-keys %r" # read in the secret key ring -set pgp_list_secring_command="/usr/bin/gpg --comment '-' --no-verbose --batch --quiet --with-colons --list-secret-keys %r" +set pgp_list_secring_command="/usr/bin/gpg --comment '' --no-verbose --batch --quiet --with-colons --list-secret-keys %r" # fetch keys # set pgp_getkeys_command="pkspxycwrap %r" -- 2.40.0