aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/codesign/signtool.qbs
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2021-06-15 23:34:30 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2021-06-16 11:37:12 +0000
commit273000f895d656cc220ee4886f28334d50062b59 (patch)
tree114185870dbbb414d246ff72c69101a8c44953fd /share/qbs/modules/codesign/signtool.qbs
parentfb3b51013323d76c301a36c20fb4b53cc93fb45b (diff)
codesign: Add new codesign.timestampAlgorithm property
We need this property on Windows when we use the codesign.signingTimestamp property. This property should be set with the "sha256" value in case when the app is to be distributed over the App Store; otherwise the the codesign.signingTimestamp property is quite useless. Fixes: QBS-1651 Change-Id: Iacc5f80b8acf81ea1a34f55416e6966c41b0e727 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'share/qbs/modules/codesign/signtool.qbs')
-rw-r--r--share/qbs/modules/codesign/signtool.qbs7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/qbs/modules/codesign/signtool.qbs b/share/qbs/modules/codesign/signtool.qbs
index 02a2c978e..d0dda3a31 100644
--- a/share/qbs/modules/codesign/signtool.qbs
+++ b/share/qbs/modules/codesign/signtool.qbs
@@ -70,6 +70,13 @@ CodeSignModule {
allowedValues: ["sha1", "sha256", "sha384", "sha512"]
}
+ property string timestampAlgorithm
+ PropertyOptions {
+ name: "timestampAlgorithm"
+ description: "Name of the timestamp algorithm."
+ allowedValues: ["sha1", "sha256"]
+ }
+
property path certificatePath
PropertyOptions {
name: "certificatePath"