Commit Graph

589 Commits

Author SHA1 Message Date
chubtub
ce090558a6 Parse public key or signing cert from XML properly. Disallow a single cert for validation. Update javadocs 2021-07-13 10:42:46 -04:00
chubtub
cfd04ae15a Rename keystore to truststore. Read truststore file for validation if given. 2021-07-07 15:21:24 -04:00
chubtub
6acfb13ce8 Add cert path validation to SwidTagValidator class. Modify CredentialParser class to support changes. 2021-07-07 07:48:10 -04:00
chubtub
495b2c2aa3
Merge pull request #379 from nsacyber/issue-345
[#345] Refactor recursion in SupplyChainCredentialValidator.validateCertChain
2021-07-07 07:03:42 -04:00
chubtub
6e849d601c Merge branch 'master' into issue-345 2021-07-02 16:49:26 -04:00
chubtub
3b621770d5 Modify SupplyChainCredentialValidator.validateCertChain to thoroughly validate cert path. 2021-07-02 13:45:32 -04:00
Cyrus
e7cdba07c4
Merge pull request #377 from nsacyber/component-class-revision
Component Class Bug Fix
2021-07-01 14:29:21 -04:00
Cyrus
cac913af11 Updated the component class to no longer use ints but instead use only Strings 2021-07-01 12:49:35 -04:00
chubtub
f3085759b7
Merge pull request #378 from nsacyber/issue-345
[#345] Modify SupplyChainCredentialValidator class to loop through truststore
2021-07-01 12:41:16 -04:00
chubtub
e86d1efbbf One line change to SupplyChainCredentialValidator to loop fully through truststore. 2021-07-01 10:50:53 -04:00
Cyrus
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
Cyrus
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
Cyrus
0f8d41e78f
Merge pull request #376 from nsacyber/fix-merge-commit
This is to resolve a merge conflict from the previous push
2021-06-28 12:23:13 -04:00
Cyrus
bbed43c524 This is to resolve a merge conflict from the previous push 2021-06-28 12:21:54 -04:00
Cyrus
347a030c1e
Merge pull request #374 from nsacyber/fm-validation-pass-link
[#371] Reference Validation Pass Link
2021-06-28 12:15:58 -04:00
Cyrus
5c448057d4
Merge branch 'master' into fm-validation-pass-link 2021-06-28 12:15:47 -04:00
Cyrus
bdbe9332bc Resolved the merge conflicts. 2021-06-28 12:04:54 -04:00
iadgovuser26
28ccbfe679
Merge pull request #369 from nsacyber/issue-345
[#345] Add cert path validation to ACA
2021-06-28 11:05:43 -04:00
Cyrus
b6f4c294d1 Some finaly changes to the failed event display 2021-06-28 10:30:45 -04:00
Cyrus
8a9e5059d8 Minor visual updates to the event log failure page 2021-06-25 13:00:20 -04:00
chubtub
d1f0eb5d88 Check for an empty truststore during cert path validation. Removed the recursion in SupplyChainCredentialValidator.validateCertChain. 2021-06-25 11:40:08 -04:00
chubtub
93f212a193 Modify ReferenceManifestDetailsPageController class to include cert path check in reporting RIM signature validity. 2021-06-25 11:40:08 -04:00
chubtub
68c6447760 Add cert path validation to SupplyChainValidationServiceImpl class. Errors of this nature will be reported to the ACA under firmware. 2021-06-25 11:40:08 -04:00
Cyrus
8abffb54e2
Merge pull request #372 from nsacyber/base64-decode-error
Base64 decode exception
2021-06-25 09:04:12 -04:00
Cyrus
c378432333
Merge pull request #370 from nsacyber/simbios-oid-update
SMBIOS registry update for Component Identifiers
2021-06-25 08:54:07 -04:00
Cyrus
be3cd2bd32 Removed the validation of the PCRs line by line for the expected PCR values. 2021-06-24 11:46:01 -04:00
Cyrus
94930e981a Finished updating the title for the new page 2021-06-21 15:51:31 -04:00
Cyrus
41cc9ac467
Merge pull request #373 from nsacyber/resource-file-add
Added testing file for RIM tool
2021-06-21 11:35:43 -04:00
Cyrus
620e389aab Added a file 2021-06-21 11:29:10 -04:00
Cyrus
adb93dbd94 Updated the unit tests 2021-06-21 10:32:44 -04:00
Cyrus
e8d84b88f5 Updated the component class values for SMBIOS 2021-06-17 14:32:49 -04:00
Cyrus
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
Cyrus
b06025a71f Updated the Event Log Measurements class to use a hash for lookup 2021-06-17 12:52:28 -04:00
Cyrus
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
Cyrus
c523dda558 Some additional minor changes that are to address the event log being the object that is linked when the firmware validation passes. 2021-06-15 09:15:55 -04:00
Cyrus
72992fa43c Merge remote-tracking branch 'origin/base64-decode-error' into base64-decode-error 2021-06-10 12:55:37 -04:00
chubtub
3accb244e9 Catch DecoderException in the tcg_rim_tool CredentialParser class. 2021-06-10 12:34:38 -04:00
Cyrus
1ec644eccc Added an additional catch statement to the parsing of Certificates that are PEM in case of a DecoderException for Base64.decode method. Instead of going to a blank page with the error, the ACA catches the exception and states on the page in which the file was uploaded to. 2021-06-10 11:19:38 -04:00
Cyrus
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
Cyrus
218002a3c2 Merge remote-tracking branch 'origin/digest-implement-final' into fm-validation-pass-link 2021-06-08 22:19:52 -04:00
Cyrus
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
chubtub
71ec0cbd97
Merge pull request #365 from nsacyber/issue-364
[#364] Undo changes from issue-359
2021-05-28 09:35:06 -04:00
Cyrus
8a258f2b76 Updated some text associated with the rimType 2021-05-28 08:48:40 -04:00
iadgovuser26
9d640348d7
Merge pull request #368 from nsacyber/issue-367
Docker Pull update for Travis ci
2021-05-28 08:25:12 -04:00
lareine
48141ed9c1 added docker login to system tests 2021-05-27 16:12:14 -04:00
lareine
15ee70693f added docker login to system tests 2021-05-27 16:00:07 -04:00
lareine
766ff75261 fixed style check issue in CommandTpm2.cpp 2021-05-27 15:43:44 -04:00
lareine
f05bfa776d updated login to docker 2021-05-27 15:24:39 -04:00
lareine
381f88eb23 updated login to docker 2021-05-27 15:14:24 -04:00
lareine
aadea1d319 updated log to docker 2021-05-27 15:10:58 -04:00