1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-02 21:11:05 +01:00

tools: Add envvar GPG_AUTHCODE_SIGN_MODE to disable signing.

* tools/gpg-authcode-sign.sh: Check envvar for value "disable".
This commit is contained in:
Werner Koch 2025-02-24 10:52:39 +01:00
parent fdcc69c29d
commit c68eca6363
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -24,6 +24,7 @@ Options:
[--url=STRING] Include STRING as URL (default=$url)
[--stamp] Use a stamp file to avoid double signing
[--dry-run] Do not actually run osslsigncode
(same as GPG_AUTHCODE_SIGN_MODE=disable)
[--template] Print a template for ~/.gnupg-autogenrc
[--version] Print version and exit
EOF
@ -183,6 +184,9 @@ if [ ! -f $autogenrc ]; then
exit 1
fi
[ "$GPG_AUTHCODE_SIGN_MODE" = "disable" ] && dryrun=yes
# Define the cleanup routine for osslsigncode
cleanup()
{