Commit Graph

387 Commits

Author SHA1 Message Date
TheSilentCoder
07cc787599 issue_847: fixed merge conflicts 2024-11-08 10:33:34 -05:00
TheSilentCoder
7448d54cb1 issue_864: Finished undoing constant name change in checkstyle xml file. Applied checkstyle changes to entire HIRS_UTILS module 2024-10-30 17:36:19 -04:00
TheSilentCoder
963086fc0e issue_847: Took another look over the PR for this issue and found nothing alarming. Made some minor tweaks to four files. Should be good to go for PR 2024-10-30 13:36:04 -04:00
ThatSilentCoder
299a8f729a
Merge branch 'main' into v3_issue_847-update-hirs_attestationca-caportal-for-checkstyle2 2024-10-29 11:37:24 -04:00
TheSilentCoder
7a7385f240 Finished fixing all checkstyle errors. Now figuring out this dependency issue. 2024-10-29 10:54:50 -04:00
TheSilentCoder
f9da12865b issue_847: Fixed the majority of the checkstyle errors in the CAPOrtal module. Need to fix 5 more and figure out why two tests are failing. Merged master into local branch. 2024-10-28 16:55:25 -04:00
TheSilentCoder
6d770e9a63 issue_847: Fixed ALL checkstyle and spotbug errors in CA module. Fixing spotbug and checkstyle issues in CA_PORT module now. 2024-10-25 17:30:36 -04:00
CAFB385655BEB1060E85B6C080B432F8EB2A2AF78459BD6532124977B933154A
9662c08e76
Improve output for ACA-signed certificates (#859) 2024-10-24 20:14:10 +00:00
TheSilentCoder
7959a16a56 issue_847: Fixed ALL checkstyle errors in CA test module. 2024-10-24 11:45:08 -04:00
TheSilentCoder
571d107e1b issue_847: Reduced styling errors in CA module to less than 100 2024-10-23 17:22:20 -04:00
TheSilentCoder
64c74eae5c issue_847: Applied formatting changes to entire CA module_portal module. Reduced errors in CA module to less than 180 2024-10-22 17:16:50 -04:00
TheSilentCoder
b3d1bd8fcc issue_847: Applied formatting changes to entire CA module. Reduced errors by 100. 2024-10-21 13:46:57 -04:00
TheSilentCoder
615bbc7547 issue_847: Made more styling fixes to the entity files. 300 more changes left to go. 2024-10-18 16:22:38 -04:00
TheSilentCoder
63521a4075 issue_847: Added javadoc comments + params to the rest of the repo classes, cleaned up imports, and made more styling changes. 2024-10-17 17:12:58 -04:00
TheSilentCoder
59f50212f1 issue_847: More javadocs 2024-10-16 18:04:28 -04:00
TheSilentCoder
af75105f35 issue_847: Started handling a good chunk of the styling issues. Lots of javadocumenting. 2024-10-16 17:59:58 -04:00
chubtub
c37dd127d3 Detect replacement RIM bundle and process accordingly during FW provisioning
Handle replacement base and support RIMs in their respective logic blocks
2024-09-18 16:16:48 -04:00
chubtub
a123acc743 Do not unarchive existing RIM bundle during provision, search for unarchived bundle with later creation date. Delete RIM files with /delete endpoint, do not archive.
Revert changes to ReferenceManifestPageController.

Revert changes to FirmwareScvValidator class
2024-09-18 16:16:16 -04:00
CAFB385655BEB1060E85B6C080B432F8EB2A2AF78459BD6532124977B933154A
3de50b0441
Implementing LDevID generation (#814) 2024-08-19 18:39:03 +00:00
chubtub
2e3af24ada Use AppraisalStatus.additionalInfo as a flag to indicate when a EventMeasurement rim is needed. 2024-08-08 10:14:45 -04:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
7c99b81b10
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-22 06:03:09 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
315d3a2f02
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-22 06:01:54 -04:00
chubtub
dbe6d0e532 Log calculatedString and quoteString for firmware validation 2024-07-05 10:24:21 -04:00
chubtub
78bbf4fd9b Remove SupportReferenceManifest.processed 2024-07-03 09:44:01 -04:00
iadgovuser26
ba21b2e114
Merge pull request #786 from nsacyber/v3_issue-783
Changed DB lookup of RIM EL objects, added null checks to Device.toString
2024-06-28 14:55:30 -04:00
iadgovuser29
806155e19d Don't show archived validation reports 2024-06-21 15:10:32 -04:00
iadgovuser29
adaf637456 Trying another method 2024-06-18 17:23:24 -04:00
iadgovuser29
c84d67dfd7 ReferenceManifestValidator trustStore not populated during provision 2024-06-18 17:03:51 -04:00
iadgovuser29
7ccfe9b20f Unchecked cast error 2024-06-13 12:08:07 -04:00
iadgovuser29
781e015353 Trying to change EL inheritance 2024-06-13 11:14:48 -04:00
iadgovuser29
7ba391c75a Typo 2024-06-13 11:06:47 -04:00
iadgovuser29
e8415ded27 Should RIM lookup include rimType? 2024-06-13 11:01:33 -04:00
iadgovuser29
9664056e94 Additional changes 2024-06-13 10:46:06 -04:00
iadgovuser29
14d26e0c1b Test repository change 2024-06-13 09:28:48 -04:00
iadgovuser58
ece30d420c did final move of the vendor-table.json file after testing; fixed json-accepted quotes in spdm file 2024-06-05 12:30:01 -04:00
chubtub
711e342972 Modify controller class to handle UnmarshalException caused by invalid xml to prevent frontend error 2024-05-07 17:28:37 -04:00
chubtub
4da6020260 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-05-07 17:28:37 -04:00
iadgovuser58
cf6019d863 fixed issue caused by change to version method 2024-04-26 12:54:56 -04:00
CAFB385655BEB1060E85B6C080B432F8EB2A2AF78459BD6532124977B933154A
49e53e9b1f
Create IDevID certificate page (#727)
Adding IDevID certificate page and parsing support
2024-04-18 20:28:11 +00:00
Cyrus
cf08b1d2d3 Another minor change, didn't update the delta message for components and
add the restore function to the upload
2024-03-14 10:41:45 -04:00
Cyrus
350cf2b802 These are some minor updates while investigating a bug. 2024-03-14 10:12:40 -04:00
Cyrus
6a13d8dbb1 The if statement that uses the new ignore policy was improperly
implemented.  Updated so that any non-revision attribute will save
2024-03-13 20:18:39 -04:00
Cyrus
a9e403d1a0 This set of code fixes a null pointer. The ignore flag was not set up
properly and the setter for the attribute name for the result wasn't set
2024-03-13 14:57:41 -04:00
Cyrus
c560ad5997 Updated code to handle modified non specific serial number component 2024-03-12 11:08:29 -04:00
Cyrus
59998cb898 This is a merging of component red highlighting with the new policy to
ignore the revision attribute.
2024-03-12 08:10:51 -04:00
Cyrus
d6d47d9abe This last push updates unit tests that are not prepped to handle the new
code.
2024-03-07 16:11:24 -05:00
Cyrus
37850a6c90 Removed a statement that I'll need to put back in 2024-03-07 15:07:32 -05:00
Cyrus
70ca2ced7b This is a continuation of the PR for 723 and issue 705. These changes
set up fixing the delta part of the provisioning of the attributes.
2024-03-06 15:16:05 -05:00
Cyrus
eada242284 These changes have been moved over from updates made for issue-705. The
primary function implemented in this set of changes is to track more
specifically what failed when the components of a certificate are
compared.  The implementation required a couple of new DB classes to be
created to store this information.  This is also to set up a better
visual comparison of what was expected vs what was actually found.  This
is similar to the RIM event compare failure page.
2024-03-01 15:29:10 -05:00
Cyrus
21111c1291 A message is now printed indicating in the log that the platform version
check is skipped if the information is not specified, unknown or null.
2024-02-29 11:26:10 -05:00