build(cmake): use secure RFC 3161 timestamping

This commit is contained in:
Oleg Shparber
2025-09-07 22:34:47 -04:00
parent 7a96e062f8
commit 7d8d8fc1af
+2 -2
View File
@@ -216,11 +216,11 @@ function(codesign)
# Set timestamp server.
if(NOT _ARG_TIMESTAMP_URL)
set(_ARG_TIMESTAMP_URL "http://timestamp.digicert.com")
set(_ARG_TIMESTAMP_URL "https://timestamp.digicert.com")
endif()
if(_ARG_TIMESTAMP_URL)
list(APPEND _cmd_args "/t" ${_ARG_TIMESTAMP_URL})
list(APPEND _cmd_args "/tr" ${_ARG_TIMESTAMP_URL} "/td" "sha256")
endif()
# Set quiet, verbose, or debug options.