Enforce sane gpg options
gpg run by signature.py is subject to the options set in user's gpg.conf. Some of them may be undesirable and should overridden with the command line options.
Potential command line options to add:
-
--no-armor: ensuresgpgcreates a.sigfile instead of.ascin casegpg.confhasarmor. -
--no-include-key-block: ensures the signature file doesn't contain an embedded public key. Protects against a situation when the verifying use hasauto-key-importingpg.confas it's important that the public key retrieved from another place instead of the signature itself.