Deploy: Add signing scripts.

This commit is contained in:
Nodir Temirkhodjaev 2019-12-25 14:57:40 +05:00
parent 5fbbe79f5e
commit 581248b709
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,10 @@
@cd %~dp0
@echo off
@rem ARCH: 64, 32
@set ARCH=%1
@set DRV_PATH=..\build\driver\fortfw%ARCH%.sys
signtool.exe sign /ac "cert\Certum Trusted Network CA.crt" /n "Open Source Developer, Nodir Temirkhodjaev" /fd sha1 /t http://time.certum.pl/ %DRV_PATH%
signtool.exe sign /as /ac "cert\Certum Trusted Network CA.crt" /n "Open Source Developer, Nodir Temirkhodjaev" /fd sha256 /tr http://time.certum.pl/ %DRV_PATH%

6
deploy/sign/sign-out.bat Normal file
View File

@ -0,0 +1,6 @@
@cd %~dp0
@echo off
@set OUT_PATH=..\Output\*.exe
signtool.exe sign /ac "cert\Certum Trusted Network CA.crt" /n "Open Source Developer, Nodir Temirkhodjaev" /fd sha256 /tr http://time.certum.pl/ %OUT_PATH%

View File

@ -0,0 +1,9 @@
@cd %~dp0
@echo off
@rem ARCH: 64, 32
@set ARCH=%1
@set DRV_PATH=..\build\driver\fortfw%ARCH%.sys
signtool.exe verify /v /kp %DRV_PATH%