mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-08 03:44:31 +00:00
issue_896: Last change before the long weekend. Hoping these changes will make github actions happy.
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
This commit is contained in:
parent
828afe2e2d
commit
6b38fa8ee5
@ -265,12 +265,10 @@ public class CertificateAttributeScvValidator extends SupplyChainCredentialValid
|
||||
List<ComponentIdentifierV2> allV2PcComponents
|
||||
= new ArrayList<>(platformCredential.getComponentIdentifiersV2());
|
||||
|
||||
if (componentInfos == null) {
|
||||
log.error("The device's reported list of components is null.");
|
||||
passesValidation = false;
|
||||
} else if (componentInfos.size() != allV2PcComponents.size()) {
|
||||
if (componentInfos.size() != allV2PcComponents.size()) {
|
||||
log.error(
|
||||
"The device's reported list of components' sizes (size of {}) do not match the size (size of {}) "
|
||||
"The device's reported list of components' sizes (size of {}) " +
|
||||
"do not match the size (size of {}) "
|
||||
+ "of the platform credential's version 2 component identifiers.",
|
||||
componentInfos.size(), allV2PcComponents.size());
|
||||
|
||||
|
@ -1306,8 +1306,8 @@ public class SupplyChainCredentialValidatorTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Second test that tests that TPM 2.0 Platform Credentials validate correctly against the device info report
|
||||
* when there are components present, and when the PlatformSerial field holds the system's
|
||||
* Second test that tests that TPM 2.0 Platform Credentials validate correctly against the device info
|
||||
* report when there are components present, and when the PlatformSerial field holds the system's
|
||||
* serial number instead of the baseboard serial number.
|
||||
*
|
||||
* @throws IOException if unable to set up DeviceInfoReport from resource file
|
||||
|
Loading…
x
Reference in New Issue
Block a user