Files
yttrium-virtio-gpu/Tools/signAll.bat
T
Sameeh Jubran fe0585e673 Tools: VirtioTestCert: Fix test signing
This reverts commit 8d2fd31421c5722ebbd43bff140692bc22b45969.

This commit reverts using .cer instead of .pfx and adds the pfx file back
and adds a new generated certificate.

The certificate/pfx was generated using the following commands:

makecert.exe -n "CN=CARoot" -ss root -r -pe -a sha512 -len 4096 -cy
authority -sv VirtIOTestCert.pvk -b 12/12/2018 VirtIOTestCert.cer

pvk2pfx.exe -pvk VirtIOTestCert.pvk -spc VirtIOTestCert.cer -pfx
VirtIOTestCert.pfx
2018-12-17 17:26:43 +02:00

6 lines
291 B
Batchfile

@echo off
SET "SignToolDir=C:\Program Files (x86)\Windows Kits\8.1\bin\x64"
for /r "%~dp0\..\" %%i in (*.sys) do "%SignToolDir%\signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"
for /r "%~dp0\..\" %%i in (*.cat) do "%SignToolDir%\signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"