mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-17 10:20:04 +00:00
initial Platfom Cert test
This commit is contained in:
parent
5ff331aa9c
commit
59d9d6f654
@ -12,11 +12,15 @@ failedTests=0;
|
|||||||
# Note that the aca_policy_tests have already run several Platform Certificate system tests
|
# Note that the aca_policy_tests have already run several Platform Certificate system tests
|
||||||
|
|
||||||
writeToLogs "### ACA PLATFORM CERTIFICATE TEST 1: Test a delta Platform Certificate that adds a new memory component ###"
|
writeToLogs "### ACA PLATFORM CERTIFICATE TEST 1: Test a delta Platform Certificate that adds a new memory component ###"
|
||||||
|
clearAcaDb
|
||||||
|
uploadTrustedCerts
|
||||||
setPolicyEkPc
|
setPolicyEkPc
|
||||||
setPlatformCerts "laptop" "deltaPlatMem"
|
setPlatformCerts "laptop" "deltaPlatMem"
|
||||||
provisionTpm2 "pass"
|
provisionTpm2 "pass"
|
||||||
|
|
||||||
writeToLogs "### ACA PLATFORM CERTIFICATE TEST 2: Test a Platform Certificate that is missing a memory component ###"
|
writeToLogs "### ACA PLATFORM CERTIFICATE TEST 2: Test a Platform Certificate that is missing a memory component ###"
|
||||||
|
clearAcaDb
|
||||||
|
uploadTrustedCerts
|
||||||
setPlatformCerts "laptop" "platCertLight"
|
setPlatformCerts "laptop" "platCertLight"
|
||||||
provisionTpm2 "pass"
|
provisionTpm2 "pass"
|
||||||
|
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"PLATFORM": {
|
|
||||||
"PLATFORMMANUFACTURERSTR": "Dell Inc.","PLATFORMMODEL": "Latitude 5580","PLATFORMVERSION": "Not Specified","PLATFORMSERIAL": "56LMWD2"
|
|
||||||
},
|
|
||||||
"COMPONENTS": [
|
|
||||||
{
|
|
||||||
"COMPONENTCLASS": {
|
|
||||||
"COMPONENTCLASSREGISTRY": "2.23.133.18.3.1",
|
|
||||||
"COMPONENTCLASSVALUE": "00060001"
|
|
||||||
},"MANUFACTURER": "80AD000080AD","MODEL": "HMA81GS6AFR8N-UH","FIELDREPLACEABLE": "true","SERIAL": "29AC274B","REVISION": "01172200","STATUS": "added"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"PROPERTIES": [
|
|
||||||
{
|
|
||||||
"NAME": "uname -r",
|
|
||||||
"VALUE": "4.14.165-133.209.amzn2.x86_64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"NAME": "OS Release",
|
|
||||||
"VALUE": "CentOS Linux 7 (Core)"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
|||||||
{
|
|
||||||
|
|
||||||
"PLATFORM": {
|
|
||||||
"PLATFORMMANUFACTURERSTR": "Dell Inc.","PLATFORMMODEL": "Latitude 5580","PLATFORMVERSION": "Not Specified","PLATFORMSERIAL": "56LMWD2"
|
|
||||||
},
|
|
||||||
"COMPONENTS": [
|
|
||||||
{
|
|
||||||
"COMPONENTCLASS": {
|
|
||||||
"COMPONENTCLASSREGISTRY": "2.23.133.18.3.1",
|
|
||||||
"COMPONENTCLASSVALUE": "00020001"
|
|
||||||
},"MANUFACTURER": "Dell Inc.","MODEL": "10","SERIAL": "56LMWD2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"COMPONENTCLASS": {
|
|
||||||
"COMPONENTCLASSREGISTRY": "2.23.133.18.3.1",
|
|
||||||
"COMPONENTCLASSVALUE": "00030003"
|
|
||||||
},"MANUFACTURER": "Dell Inc.","MODEL": "08T986","FIELDREPLACEABLE": "true","SERIAL": "/56LMWD2/TW320707A30298/","REVISION": "A00"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"COMPONENTCLASS": {
|
|
||||||
"COMPONENTCLASSREGISTRY": "2.23.133.18.3.1",
|
|
||||||
"COMPONENTCLASSVALUE": "00130003"
|
|
||||||
},"MANUFACTURER": "Dell Inc.","MODEL": "Not Specified","REVISION": "1.5.3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"COMPONENTCLASS": {
|
|
||||||
"COMPONENTCLASSREGISTRY": "2.23.133.18.3.1",
|
|
||||||
"COMPONENTCLASSVALUE": "00010002"
|
|
||||||
},"MANUFACTURER": "Intel(R) Corporation","MODEL": "198","FIELDREPLACEABLE": "true","SERIAL": "To Be Filled By O.E.M.","REVISION": "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"COMPONENTCLASS": {
|
|
||||||
"COMPONENTCLASSREGISTRY": "2.23.133.18.3.1",
|
|
||||||
"COMPONENTCLASSVALUE": "00060001"
|
|
||||||
},"MANUFACTURER": "80AD000080AD","MODEL": "HMA81GS6AFR8N-UH","FIELDREPLACEABLE": "true","SERIAL": "29AC2764","REVISION": "01172200"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"PROPERTIES": [
|
|
||||||
{
|
|
||||||
"NAME": "uname -r",
|
|
||||||
"VALUE": "4.14.165-133.209.amzn2.x86_64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"NAME": "OS Release",
|
|
||||||
"VALUE": "CentOS Linux 7 (Core)"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user