From 2a3188cbe81c079ef8670f0cc996f7ef8039a0eb Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sun, 25 Jun 2023 15:00:06 +0200 Subject: [PATCH] Sign for sha256 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0482d48..0b32fcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -392,7 +392,7 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND "${STATIC_BUILD}") set (CPACK_NSIS_URL_INFO_ABOUT "http://www.blupi.org") set (CPACK_NSIS_MUI_FINISHPAGE_RUN "planetblupi") if (SIGN_APP) - set (CPACK_NSIS_SIGN_UNINSTALLER "sign -a -fd sha1 -t http://time.certum.pl -v") + set (CPACK_NSIS_SIGN_UNINSTALLER "sign -a -fd sha256 -t http://time.certum.pl -v") endif () include (CPack) @@ -402,7 +402,7 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND "${STATIC_BUILD}") add_custom_command (TARGET planetblupi POST_BUILD COMMAND ${SIGNTOOL_EXECUTABLE} - sign -a -fd sha1 -t http://time.certum.pl -v + sign -a -fd sha256 -t http://time.certum.pl -v "${CMAKE_BINARY_DIR}/planetblupi.exe") endif ()