Skip to content

Commit

Permalink
Add code signing script
Browse files Browse the repository at this point in the history
  • Loading branch information
idrassi committed Jan 27, 2021
1 parent b3c810f commit f1a619c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file added GlobalSign_SHA256_EV_CodeSigning_CA.cer
Binary file not shown.
10 changes: 10 additions & 0 deletions sign.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PATH=%PATH%;%WSDK81%\bin\x86;C:\dev\Progs\NSIS

rem sign using SHA-256
signtool sign /v /sha1 04141E4EA6D9343CEC994F6C099DC09BDD8937C9 /ac GlobalSign_SHA256_EV_CodeSigning_CA.cer /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "Bin\Win32\Release\HashCheck.dll" "Bin\x64\Release\HashCheck.dll"

makensis.exe installer\HashCheck.nsi

signtool sign /v /sha1 04141E4EA6D9343CEC994F6C099DC09BDD8937C9 /ac GlobalSign_SHA256_EV_CodeSigning_CA.cer /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "installer\HashCheckSetup-v2.5.0.1.exe"

pause

0 comments on commit f1a619c

Please sign in to comment.