Changeset 90150 in vbox
- Timestamp:
- Jul 11, 2021 2:58:09 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145652
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp
r86610 r90150 1267 1267 one signature and one of them works out fine. The RTLdrVerifySignature 1268 1268 caller will have to check the failure counts though to make sure 1269 something succeeded. */ 1269 something succeeded. 1270 1271 VERR_CR_PKCS7_KEY_USAGE_MISMATCH: Nvidia 391.35 nvldumpx.dll has an misconfigured 1272 certificate "CN=NVIDIA Corporation PE Sign v2016" without valid Key Usage. It is 1273 rooted by "CN=NVIDIA Subordinate CA 2016 v2,DC=nvidia,DC=com", so homebrewn. 1274 Sysinternals' sigcheck util ignores it, while MS sigtool doesn't trust the root. 1275 It's possible we're being too strict, but well, it's the only case so far, so no 1276 need to relax the Key Usage restrictions just for a certificate w/o a trusted root. 1277 */ 1270 1278 pNtViRdr->rcLastSignatureFailure = rc; 1271 1279 if ( rc == VERR_CR_X509_CPV_NOT_VALID_AT_TIME 1272 || rc == VERR_CR_X509_CPV_NO_TRUSTED_PATHS) 1280 || rc == VERR_CR_X509_CPV_NO_TRUSTED_PATHS 1281 || rc == VERR_CR_PKCS7_KEY_USAGE_MISMATCH) 1273 1282 { 1274 1283 SUP_DPRINTF(("%s: Signature #%u/%u: %s (%d) w/ timestamp=%#RX64/%s.\n", pNtViRdr->szFilename, pInfo->iSignature + 1, pInfo->cSignatures,
Note:
See TracChangeset
for help on using the changeset viewer.