VirtualBox

Ignore:
Timestamp:
Sep 6, 2022 5:59:08 PM (2 years ago)
Author:
vboxsync
Message:

Installer/win: UnpackBlessedDrivers.cmd can't verify pre-W10 signatures using signtool.exe since that rejects the signatures (ignores timestamp).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Scripts/UnpackBlessedDrivers.cmd

    r96407 r96613  
    152152    "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d.cat"        "%_MY_OPT_BINDIR%\%%d.inf" || goto end_failed
    153153    "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d.cat"        "%_MY_OPT_BINDIR%\%%d.sys" || goto end_failed
    154     @echo * Verifying %%d against %%d-PreW10.cat...
    155     "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d-PreW10.cat" "%_MY_OPT_BINDIR%\%%d.inf" || goto end_failed
    156     "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d-PreW10.cat" "%_MY_OPT_BINDIR%\%%d.sys" || goto end_failed
     154    rem The following is disabled because signtool.exe does not accept these
     155    rem signatures because it fails to look at the timestamp. Eventually should
     156    rem replace this by doing out own signature verification in RTSignTool.
     157    rem @echo * Verifying %%d against %%d-PreW10.cat...
     158    rem "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d-PreW10.cat" "%_MY_OPT_BINDIR%\%%d.inf" || goto end_failed
     159    rem "%_MY_SIGNTOOL%" verify /kp /c "%_MY_OPT_BINDIR%\%%d-PreW10.cat" "%_MY_OPT_BINDIR%\%%d.sys" || goto end_failed
    157160)
    158161:no_sign_verify
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette