A message is now printed indicating in the log that the platform version

check is skipped if the information is not specified, unknown or null.
This commit is contained in:
Cyrus 2024-02-29 11:26:10 -05:00
parent 300cae3950
commit 21111c1291

View File

@ -250,6 +250,10 @@ public class CertificateAttributeScvValidator extends SupplyChainCredentialValid
}
passesValidation &= fieldValidation;
} else {
log.warn("The Platform Certificate System version was {} and the reported Device System Information "
+ "version was {}, therefore this check is skipped...",
platformCredential.getVersion(), hardwareInfo.getVersion());
}
// check PlatformSerial against both system-serial-number and baseboard-serial-number