This repository was archived by the owner on Feb 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ set CTXSIGN=C:\ctxsign2\ctxsign.exe
6262if " %sbe% " == " true" (
6363 echo " Signing in SBE"
6464
65- %CTXSIGN% --help
66-
6765 echo %CTXSIGN% --authorise --workerID %worker% --orchID %worker% --jobID XenServerWindowsLegacyPVTools_signing ^
6866 --task XenCenter-%global_build_number% --debug
6967
@@ -86,12 +84,19 @@ if "%sbe%"=="true" (
8684 %CTXSIGN% --sign --key XenServer.NET_KEY --cross-sign --pagehashes yes --type Authenticode ^
8785 --description " %descr% " " %thefile% "
8886
87+ echo %CTXSIGN% --sign --key XenServerSHA256.NET_KEY --cross-sign --pagehashes yes ^
88+ --authenticode-SHA256 --authenticode-append " %thefile% "
89+
8990 date /t && time /t
90- %CTXSIGN% --sign --authenticode-append --authenticode-SHA256 --key XenServerSHA256.NET_KEY ^
91- --cross-sign --pagehashes yes " %thefile% "
91+ %CTXSIGN% --sign --key XenServerSHA256.NET_KEY --cross-sign --pagehashes yes ^
92+ --authenticode-SHA256 --authenticode-append " %thefile% "
9293 ) else (
93- %CTXSIGN% --sign --key XenServerSHA256.NET_KEY --pagehashes yes --type Authenticode-SHA256 ^
94- --description " %descr% " " %thefile% "
94+ echo %CTXSIGN% --sign --key XenServerSHA256.NET_KEY --pagehashes yes --type Authenticode ^
95+ --authenticode-SHA256 --description " %descr% " " %thefile% "
96+
97+ date /t && time /t
98+ %CTXSIGN% --sign --key XenServerSHA256.NET_KEY --pagehashes yes --type Authenticode ^
99+ --authenticode-SHA256 --description " %descr% " " %thefile% "
95100 )
96101 %CTXSIGN% --end
97102 echo .
You can’t perform that action at this time.
0 commit comments