Commit Graph

403 Commits

Author SHA1 Message Date
chubtub
6af53fe497 Clean up checkstyle warnings
Some checks failed
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
2024-12-11 10:04:10 -05:00
chubtub
cb2ba1a846 Clarified checkstyle changes and renamed some data structures for readability or conformity to documentation 2024-12-10 16:41:16 -05:00
CAFB385655BEB1060E85B6C080B432F8EB2A2AF78459BD6532124977B933154A
e91c7a819a
Adding clientAuth to issued certificates (#883) 2024-11-20 18:17:20 -05:00
iadgovuser59
1cc10a0264 Further fixes to issued cert generation 2024-11-18 21:59:43 -05:00
iadgovuser59
8951faabe6 Merge commit 'de17aee' into v3_issue-877 2024-11-18 12:27:09 -05:00
iadgovuser59
9a3cba78f7 Fixes to ACA certificate generation 2024-11-18 12:21:00 -05:00
TheSilentCoder
a00347fb27 issue_847: Successfully merged main into this branch 2024-11-15 11:29:37 -05:00
TheSilentCoder
86d2084171 issue_825: Successfully merged main into this branch 2024-11-15 10:24:38 -05:00
iadgovuser26
d0faa39a15
Merge pull request #869 from nsacyber/v3_issue-848
[#848] Rename properties and methods of firmware validation objects
2024-11-15 09:28:30 -05:00
chubtub
b7c15ee6ea FirmwareScvValidator rename eventLog -> expectedEventLog, eventLog -> actualEventLog, eventValue -> rimIntegrityMeasurements, eventValueMap -> expectedEventLogRecords 2024-11-13 18:22:47 -05:00
TheSilentCoder
07cc787599 issue_847: fixed merge conflicts 2024-11-08 10:33:34 -05:00
chubtub
3e8e55a00c FirmwareScvValidator rename tcgMeasurementLog -> eventLog, tpmPcrEvents -> failedPcrValues. Checkstyle changes. 2024-11-06 14:36:58 -05:00
chubtub
4af1c0a726 IdentityClaimProcessor rename sourcedValues -> expectedValues, logProcessor -> eventLog 2024-11-06 14:36:58 -05:00
chubtub
5250d648bf IdentityClaimProcessor rename measurements -> integrityMeasurements, temp -> deviceLiveLog 2024-11-06 14:36:58 -05:00
chubtub
7846b86010 IdentityClaimProcessor rename support -> supportRim 2024-11-06 14:36:58 -05:00
chubtub
b0712958b9 IdentityClaimProcessor rename dbBaseRim -> baseRim. Checkstyle changes. 2024-11-06 14:36:58 -05:00
TheSilentCoder
22912634ec issue_825: Successfully deleted HIRS_Provisioner TPM2 and can build successfully. 2024-11-01 15:13:54 -04: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