Commit Graph

1484 Commits

Author SHA1 Message Date
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
0593a233cf Windows Docker images needed some work (#817)
* Use openssl 3.3 in aca windows images [no ci]

* Further attempt to compile the tpm simulator on Windows [no ci]

* Sw tpm vs solution was updated to look for libcrypto in different place
[no ci]

* Similar steps for tss tools [no ci]

* Change workflow ref [no ci]

* REF not connecting [no ci]

* Try accessing through Env [no ci]

* Tried to print build args before selecting image [no ci]

* Different arg access before shell change [no ci]

* Fun with docker args [no ci]

* Fun with docker build args 2 [no ci]

* Adjust for change in package folder structure [no ci]
2024-07-26 10:59:23 -04:00
SuperPotato27
606de50535 Adding RIM tests action (#806)
* Added Rim test workflow

* bug fixes

* added rim tool setup

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* updates to rim_tests.yml

* updates to rim_tests.yml

* updates to rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* Update rim_tests.yml

* added run all script

* added run all script

* updates to rim_tests.yml

* Updates to paths in composite_rim_create_pass.sh

* Added all passing rim tests

* updates to rim_tests.yml

* switched to gradle-build-action@v3

* switched to setup-gradle@v3

* switched to setup-java@v4

* updates to rim_tests.yml

* testing failed script

* fixed failed test

* testing artifacts

* updates to rim_tests.yml

* Update rim_tests.yml

* updates to rim_tests.yml

* changes to rim_tests.yml

* testing log file

* testing log file

* testing log files

* testing log files

* testing log file

* testing log file

* testing log file

* testing log file

* testing log file

* Update rim_tests.yml

* verbose run

* updated paths and references

* updates to README.md

* deleted rim docker testing directory
2024-07-26 10:59:23 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
170b94c132 supplychainvalidationsummary will look up rims by ID (#805)
* Lookup here needed summary id from device object

* Portal linkage issue

* CertificatesUsed not working properly with RIM

* Maybe need to link to base rim

* Rim test 1 needed hw file

* Working on CI

* Connecting new tpm2_common

* Edited the way scripts called in docker exec

* TPM for reset each test

* Defining efi paths in CI env file

* Forgot to close while loops

* Connecting default test files

* Variable was wrong [no ci]

* Added ACA tests using uploaded artifacts

* Trying to chmod rim_setup.sh

* rim_setup chmod issues

* Added aca tests 9 and 10 to workflow

* Added cases 9 and 10 for aca policy tests

* Exit test scripts with error if one test fails

* Attempt to solve uploaded rim linkup

* Try only setting tagId if not null

* updateSupportRimInfo was not setting associated rim on base

* Attempt alternate lookup of rim by device name

* Trouble with event log archived

* Used wrong variable

* Fix spotbugs

* Try again

* Change SupplyChainValidation.message size to MAX_MESSAGE_LENGTH
2024-07-26 10:59:23 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
412fca8376 Move part of PciIds from AttestationCA back to Utils (#796)
* update pciids to acapciids throughout code

* add pciids to utils and update classes that use it

* moved the 4 vendor/device translate functions to the utils pciids

* added pciids translations to SPDM Device Context file

* cleaning up imports

* cleaning up comments

* cleaned up a few checkstyle warnings

* working to get class code

* update output message in main

* working on class code

* fixes/minor changes

* fixed check of class code list
2024-07-26 10:59:23 -04:00
chubtub
28d08812fd Log calculatedString and quoteString for firmware validation 2024-07-26 10:59:23 -04:00
chubtub
0cd7fc76d0 Remove SupportReferenceManifest.processed 2024-07-26 10:59:23 -04:00
iadgovuser58
804ad2cd73 comment change 2024-07-26 10:59:23 -04:00
iadgovuser29
cde2a66f3f Don't show archived validation reports 2024-07-26 10:59:23 -04:00
iadgovuser29
26e5099aa5 Trying another method 2024-07-26 10:59:23 -04:00
iadgovuser29
77cd6597ff ReferenceManifestValidator trustStore not populated during provision 2024-07-26 10:59:23 -04:00
iadgovuser29
c6a665da78 Trying something for SKI 2024-07-26 10:59:23 -04:00
iadgovuser29
dc46da98fd Unchecked cast error 2024-07-26 10:59:23 -04:00
iadgovuser29
c24ea01906 Trying to change EL inheritance 2024-07-26 10:59:23 -04:00
iadgovuser29
cf7bf752b2 Typo 2024-07-26 10:59:23 -04:00
iadgovuser29
8b24aa92dd Should RIM lookup include rimType? 2024-07-26 10:59:23 -04:00
iadgovuser29
fea8f6d585 Additional changes 2024-07-26 10:59:23 -04:00
iadgovuser29
951224abd0 Test repository change 2024-07-26 10:59:23 -04:00
iadgovuser58
9fdc8b1bcb catching exceptions 2024-07-26 10:59:23 -04:00
iadgovuser58
712c7f9e9d fix spotbug issues 2024-07-26 10:59:23 -04:00
iadgovuser58
d1ac5fb530 spdm processing 2024-07-26 10:59:23 -04:00
iadgovuser58
a50ec7458c spdm processing 2024-07-26 10:59:23 -04:00
CAFB385655BEB1060E85B6C080B432F8EB2A2AF78459BD6532124977B933154A
ae0b6436db [#787] Saving attestation certificate to file (#788)
* Saving attestation certificate to file

* Updates to provisioner certificate generation
2024-07-26 10:59:23 -04:00
iadgovuser58
9c646b916c update comments 2024-07-26 10:59:23 -04:00
iadgovuser58
a784ccb9bc consolidate case statement 2024-07-26 10:59:23 -04:00
iadgovuser58
866e76545a spdm processing 2024-07-26 10:59:23 -04:00
iadgovuser58
39bdd26b58 working spdm 2024-07-26 10:59:23 -04:00
iadgovuser58
63e77a9b36 clean up commented out sections 2024-07-26 10:59:23 -04:00
iadgovuser58
4ddf56232f updated toString 2024-07-26 10:59:23 -04:00
iadgovuser58
c6e5dd125c combined SPDM_FIRMWARE_BLOB and SPDM_FIRMWARE_CONFIG as they have the same internal data structure 2024-07-26 10:59:23 -04:00
iadgovuser58
45755a345c updated TpmPcrEvent and EvConstants for the next 2 SPDM events 2024-07-26 10:59:23 -04:00
chubtub
50ce985b45 Modify rimtool to properly namespace timestamp elements 2024-07-26 10:59:23 -04:00
iadgovuser58
40616c1deb minor change 2024-07-26 10:59:23 -04:00
iadgovuser58
e40a0a14b7 did final move of the vendor-table.json file after testing; fixed json-accepted quotes in spdm file 2024-07-26 10:59:23 -04:00
iadgovuser58
7d7380d22c minor change 2024-07-26 10:59:23 -04:00
iadgovuser58
79e6a4b232 cleaning up comments 2024-07-26 10:59:23 -04:00
iadgovuser58
d087eba569 cleaning up comments 2024-07-26 10:59:23 -04:00
iadgovuser58
d43db09c44 cleaning up comments 2024-07-26 10:59:23 -04:00
iadgovuser58
1c5bf6a48c fixed file not found try/catch 2024-07-26 10:59:22 -04:00
iadgovuser58
cb12dce87d propogating error dealing with file access through the sequence of code 2024-07-26 10:59:22 -04:00
iadgovuser58
b96b90fdd0 accessing vendor-table.json from code 2024-07-26 10:59:22 -04:00
iadgovuser58
14b13ee8a8 accessing vendor-table.json from code 2024-07-26 10:59:22 -04:00
iadgovuser58
38eb0e03a9 testing stuff 2024-07-26 10:59:22 -04:00
iadgovuser58
ec85086f5a testing ways to access file 2024-07-26 10:59:22 -04:00
iadgovuser58
33316e850e trying to get code file to open 2024-07-26 10:59:22 -04:00
iadgovuser58
233c0c48ea added variable to track file status through the object calls, specifically vendor-table.json file 2024-07-26 10:59:22 -04:00
iadgovuser58
d7c540f09f propogated the error where vendor-table is not accessible through the classes, so that it can be printed out at the beginning of the list of event printouts 2024-07-26 10:59:22 -04:00
iadgovuser58
b04e038869 added function to check emptiness of file handle 2024-07-26 10:59:22 -04:00
iadgovuser58
6d15d1effa temp code to find out how to tell if json reference to vendor-table.json object is empty 2024-07-26 10:59:22 -04:00
iadgovuser62
4834f166f7 Adding Platform Cert Tests and RIM System Tests to V3 (#781)
* Adding Platform Cert and RIM Tests to V3 and modifying workflow file to split those tests into individual steps
2024-07-26 10:59:22 -04:00
iadgovuser62
1ab406538c [#775] Adding Policy Tests to V3 (#776)
* Adding ACA Policy tests with modifications to related files

* Separating the system tests setup from the tests themselves + Splitting up ACA Policy Tests into different steps in workflow file

* Creating separate script for setting up system tests in workflow, and one script for running system tests locally. Adding details to system test steps.
2024-07-26 10:59:22 -04:00