Commit Graph

526 Commits

Author SHA1 Message Date
cf5472242b Merge pull request #393 from nsacyber/uefi-test-update
Checkstyle fix on a Unit Test
2021-08-24 09:42:12 -04:00
5a26093d57 Missed and update for a method that was updated with a new exception thrown. 2021-08-20 13:47:20 -04:00
71666542c1 Merge pull request #392 from nsacyber/uefi-test-update
UEFI Unit Test Update
2021-08-20 12:16:35 -04:00
761fb6aaa9 Merge pull request #391 from nsacyber/fix-certificatetest-testisissuer
Fix for faulty logic in CertificateTest.testIsIssuer
2021-08-20 12:16:23 -04:00
793d21ae5b Merge pull request #390 from nsacyber/fix-testappraiser-name
Fixing one unit test revealed additional test updates.
2021-08-20 12:16:04 -04:00
3132a590e1 Merge pull request #388 from nsacyber/ignore-tpmbaselinegeneratortest-csvgeneratortest
Ignore tests from TPMBaselineGeneratorTest and ima.CSVGeneratorTest.
2021-08-20 12:15:35 -04:00
61497809f5 Updated the UefiGuid to have the vendor json file get passed in. This updates the unit test and fixes the issue. 2021-08-20 09:19:01 -04:00
9fbbf81ada Merge pull request #389 from nsacyber/eventLogTesFix
updated TCGEventLogEventsTest
2021-08-18 16:20:16 -04:00
7e3eaf4c5c Fix for faulty logic in CertificateTest.testIsIssuer 2021-08-18 14:09:27 -04:00
f9a32e3f52 Fixing one unit test revealed additional test updates. 2021-08-18 13:29:49 -04:00
c76a8a074e Minor code clean up 2021-08-18 09:15:59 -04:00
b8741039a9 Ignore tests from TPMBaselineGeneratorTest and ima.CSVGeneratorTest. 2021-08-17 17:59:34 -04:00
32887eb598 updated TCGEventLogEventsTest 2021-08-17 17:30:45 -04:00
f54e1a15d0 Fixed a certificate conversion issue. 2021-08-17 17:21:32 -04:00
dc7301e8a6 Update overloaded validateCertChain to check cert chain consistently 2021-08-17 14:41:00 -04:00
6e849d601c Merge branch 'master' into issue-345 2021-07-02 16:49:26 -04:00
3b621770d5 Modify SupplyChainCredentialValidator.validateCertChain to thoroughly validate cert path. 2021-07-02 13:45:32 -04:00
e7cdba07c4 Merge pull request #377 from nsacyber/component-class-revision
Component Class Bug Fix
2021-07-01 14:29:21 -04:00
cac913af11 Updated the component class to no longer use ints but instead use only Strings 2021-07-01 12:49:35 -04:00
e86d1efbbf One line change to SupplyChainCredentialValidator to loop fully through truststore. 2021-07-01 10:50:53 -04:00
a555fac716 Finished updating the unit test. The value of being passed in wasn't of a format that the component class could handle. 2021-06-29 20:33:59 -04:00
3269e81783 All components were failing on tests specifically set up to match components and pass. This happened because the int value of the component class value was being translated with SHORT.size. This is odd because it worked before but stopped. 2021-06-29 12:04:22 -04:00
5c448057d4 Merge branch 'master' into fm-validation-pass-link 2021-06-28 12:15:47 -04:00
d1f0eb5d88 Check for an empty truststore during cert path validation. Removed the recursion in SupplyChainCredentialValidator.validateCertChain. 2021-06-25 11:40:08 -04:00
be3cd2bd32 Removed the validation of the PCRs line by line for the expected PCR values. 2021-06-24 11:46:01 -04:00
adb93dbd94 Updated the unit tests 2021-06-21 10:32:44 -04:00
e8d84b88f5 Updated the component class values for SMBIOS 2021-06-17 14:32:49 -04:00
132a336549 Updated the print out of the the component string to leave out Unkown and Other for display. Instead it'll just show nothing. 2021-06-17 13:12:26 -04:00
b06025a71f Updated the Event Log Measurements class to use a hash for lookup 2021-06-17 12:52:28 -04:00
cd206f870c These changes may be removed because the issue is becoming more involved and I may need to rethink how this will work. 2021-06-16 08:52:40 -04:00
9c060dec55 Updated event log measurements to pass in the overall result status. However display isn't printing out correctly. 2021-06-09 11:07:11 -04:00
218002a3c2 Merge remote-tracking branch 'origin/digest-implement-final' into fm-validation-pass-link 2021-06-08 22:19:52 -04:00
13043856ef These changes update the component class object to handled SMBIOS components along with the TCG ones presented originally. The unit tests also were updated to use the new structure of the class and added additional tests for the SMBIOS entries 2021-06-07 13:46:47 -04:00
8a258f2b76 Updated some text associated with the rimType 2021-05-28 08:48:40 -04:00
0e8e88b536 This commit has updated changes that save both a base64 and a hex dec value of the RIM file hash to the database. Depending on what is needed, they are used to pull either the base or support RIM. Also fixed the link for the rimlinkhash on the details page. 2021-05-27 13:46:43 -04:00
8fbd6e1a39 Changed up some of the encoded for the rim byte array 2021-05-25 13:11:57 -04:00
65d596a756 Some additional updates that included deviceNames as a means to pull RIM information. In addition updated the display of the failures, adding filters for like events from the baseline. 2021-05-20 06:26:07 -04:00
ddc36d81f4 This set of code changes deals with the displaying of failed digests values from the validation process. The way there were displayed before was going to be unsustainable because event numbers will never match up. There for a direct compare to a failed event would never be accurate. 2021-05-17 12:44:03 -04:00
5acc393541 This commit adds several changes that updates how the RIM files are accessed and made accessible from the DB as well as what is shown visually when there is a validation failure and the measurement log is shown. 2021-05-06 08:43:26 -04:00
1d33054577 Merge pull request #350 from nsacyber/ignore-gpt-events
[#349] Ignore GPT PCR
2021-05-04 10:14:53 -04:00
c7fb94d7b4 Merge pull request #352 from nsacyber/event-digest-update
[#343] Event digest update (UI)
2021-04-23 08:45:13 -04:00
46c9640cbe Updated the code with additional OIDs for the algorithms that certificates use for the signatures. And updated the isIssuer method to not use the hard coded algorithm string. 2021-04-15 14:15:11 -04:00
b52b8101a6 The new policy setting is supposed to be default on. 2021-04-14 14:23:43 -04:00
523bae8f9d This set of code adds an additional policy to the page for the GPT PCR. Details for the change can be found in issue #349. 2021-04-14 13:55:52 -04:00
5a82e48b61 Merge branch 'master' into event-digest-update 2021-04-13 08:50:42 -04:00
e70e019c6b This commit has some changes to how patch and supplemental are handled. It adds some flags to the Record and Value objects to note that data has been processed so that multiple entries aren't created. 2021-04-13 07:45:52 -04:00
760f246096 Merge pull request #342 from nsacyber/rim_digest_store
[#341] RIM Event Digest Store
2021-04-13 07:45:17 -04:00
c46aa2b48b Merge pull request #348 from nsacyber/certificate-failure-fidelity
Certificate Failure Fidelity
2021-04-09 14:15:43 -04:00
ea5b85b703 Updated the code to now display the var swidtag and rimel. However there are issues with the examples. This commit has fixes for how the pcr values are pulled for display on the base RIM page. 2021-04-02 06:34:47 -04:00
2abb13d99d This change is to update the code to the values listed in Table 13 of Registry of Reserved TPM 2.0 Handles and Localities for Platform Class Values. 2021-03-30 06:54:10 -04:00