Commit Graph

444 Commits

Author SHA1 Message Date
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
iadgovuser58
804ad2cd73 comment change 2024-07-26 10:59:23 -04:00
iadgovuser29
c6a665da78 Trying something for SKI 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
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
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
chubtub
efe2bbf9b4 Add BC validator for validation. Clean up log messages. 2024-07-26 10:59:22 -04:00
chubtub
80d5b45499 Modified RIM details page controller to pass truststore certs to the RIM validator class. Modified the RIM validator class to log details when signature validation fails. 2024-07-26 10:59:22 -04:00
chubtub
b6a0484f07 Modify BaseReferenceManifest to handle namespace prefixes in the swidtag XML. Modify the rimtool and ReferenceManifestValidator to properly prefix Directory and File under Payload and handle them for validation. 2024-07-26 10:59:22 -04:00
iadgovuser58
4c431e0b0b added output to show up front how many UEFI Signature Lists there are, and be more descriptive about how many certs/hashes in each List 2024-07-26 10:59:22 -04:00
iadgovuser58
0194349f1e change comments 2024-07-26 10:59:22 -04:00
iadgovuser58
8d93e9eacb fixed hash size for EFI_CERT_SHA256_GUID, other minor changes 2024-07-26 10:59:22 -04:00
iadgovuser58
cbafa97d5d minor change for spotbug 2024-07-26 10:59:22 -04:00
iadgovuser58
99f5b36823 check for signature type validity; if not valid, don't process and don't print 2024-07-26 10:59:22 -04:00
iadgovuser58
e89b43f50b changing string and other comments 2024-07-26 10:59:22 -04:00
iadgovuser58
9151d03a18 changed name of DeviceSecurityEventData parent and ..HEADER parent to make the naming more clear 2024-07-26 10:59:22 -04:00
iadgovuser58
452f9ba850 updated comments in ..HeaderBase to be more clear 2024-07-26 10:59:22 -04:00
iadgovuser58
0a61703ca8 consolidated a line 2024-07-26 10:59:22 -04:00
iadgovuser58
c3475b8b47 fixed spotbug errors 2024-07-26 10:59:22 -04:00
iadgovuser58
0685dd78d3 small fix to output 2024-07-26 10:59:22 -04:00
iadgovuser58
d813e3b7fd cleaned up comments 2024-07-26 10:59:22 -04:00
iadgovuser58
f573456c95 fixed DeviceContext to include either/or PCI USB 2024-07-26 10:59:22 -04:00
iadgovuser58
12dbf545c0 remove tests vendorid/deviceid 2024-07-26 10:59:22 -04:00
iadgovuser58
0ad042f40f temporarily add test vendorid/deviceid 2024-07-26 10:59:22 -04:00