400 Commits

Author SHA1 Message Date
TheSilentCoder
1892075d64 issue_896: Hopefully GITHUB actions will be more forgiving.
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
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
2025-02-11 19:03:20 -05:00
TheSilentCoder
3913a224d5 issue_896: Fixed issues in one of the test classes, can now test other aspects of the SupplyChainCredentialValidator class. Will add more tests as more issues get fixed. 2025-02-11 18:47:54 -05:00
TheSilentCoder
1b502298e2 issue_896: Made some more changes after viewing PR
Some checks are pending
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Waiting to run
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Waiting to run
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Blocked by required conditions
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Waiting to run
HIRS System Tests / DockerTests (push) Waiting to run
2025-02-10 15:57:31 -05:00
TheSilentCoder
6215a6675b issue_896:I believe I have finished the issue. Further testing needs to be done. Will put in a WIP PR for now.
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
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
2025-02-07 17:45:47 -05:00
TheSilentCoder
d2a9ca9aa8 issue_896:Added a new property to component info, made some more spelling corrections, deleted unused classes that were being referenced by componentinfo. pretty much done with the aca side of things.
Some checks are pending
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Waiting to run
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Waiting to run
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Blocked by required conditions
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Waiting to run
HIRS System Tests / DockerTests (push) Waiting to run
2025-02-06 18:05:11 -05:00
TheSilentCoder
bbe22287ef issue_896: deleted abstract plat form config class, replaced it with plat config v1 (which already exists), moved attribuutes associated with v2 to the v2 class, when validating the aca will now verify if the platform config associated with the cert is v1 or v2. Made corrections to attributes names to better align with tcg docs.
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
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
2025-02-04 15:12:05 -05:00
TheSilentCoder
2f96fb0606 issue_896: slowly introducing component identifier v2 into multiple spots throughout out the app. Seems like we need to ensure that when we try to parse the pc from the identity claim, it needs to recognize the new kind of identifier.
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
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
2025-01-31 18:28:32 -05:00
TheSilentCoder
9e94a527af issue_896: Added more javadocs, still going through the process and figuring out places where this will work. Can successfully debug provisioner+aca.
Some checks are pending
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (ubuntu-20.04) (push) Waiting to run
Dotnet Provisioner Unit Tests / Restore and Run Unit Tests (windows-2022) (push) Waiting to run
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Blocked by required conditions
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Waiting to run
HIRS System Tests / DockerTests (push) Waiting to run
2025-01-30 17:20:08 -05:00
TheSilentCoder
50098de266 issue_896: first cut at changing the logic on the validator
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
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
2025-01-27 18:21:41 -05:00
ThatSilentCoder
11691e5b29
[#863] Placed Dependencies and Dependency Versions In TOML file (#885)
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
HIRS Build and Unit Test / ACA_Provisioner_Unit_Tests (push) Has been cancelled
HIRS System Tests / DockerTests (push) Has been cancelled
Dotnet Provisioner Unit Tests / Evaluate Tests (push) Has been cancelled
* issue_863: Successfully moved all the dependencies to toml file and currently replacing dependencies listed in the build.gradle file with the ones referenced in the toml file

* issue_863: finished updating dependency versions. Ready for PR

* issue_863: downgraded versions since there was an issue with the dependencies versions and the ci/cd pipeline in git. will update each depedency slowly to ensure that upgrades are down correctly.

* issue_863: upgrading this slowly but surely

* issue_863: upgrading this slowly but surely again. testing to see if github's ci/cd is happy still with these set of changes.

* issue_863: upgrading this slowly but surely again. testing to see if github's ci/cd is happy still with these set of changes (again)

* issue_863: upgrading this slowly but surely again. testing to see if github's ci/cd is happy still with these set of changes (again) partIII

* issue_863: Part IV of upgrading this slowly  to see if github's ci/cd is happy still with these set of changes (again)

* issue_863: Part V of upgrading this slowly  to see if github's ci/cd is happy still with these set of changes (again)

* issue_863: Part VI of updating dependencies slowly

* issue_863: Part VII of updating dependencies

* issue_863: Part 8 of updating dependencies

* issue_863: Part 9 of updating dependencies

* issue_863: Part 10 of updating dependencies

* issue_863: Part 12 of updating dependencies

* issue_863: Part 13 of updating dependencies

* issue_863: Part 14 of updating dependencies

* issue_863: Part 15 of updating dependencies

* issue_863: Updating tomcat core.

* issue_863: removed some critical vulnerable dependencies

* issue_863: updated spring boot version. second try at it.

* issue_863: undid spring update. need to figure out how to smoothly transition to newer spring.

* issue_863: updated spring boot, hibernate, and spring retry. Removed an unused dependency.

* issue_863: removed unused dependencies and am currently resolving critical vulnerable dependendcies

* issue_863: reverted changes from last commit. let's see if that makes a difference

* issue_863: Updated gradle version, fixed more vulnerabilities, now figuring what to do with the remaining vulnerabilities.

* issue_863: Updated gradle plugins version, fixed more vulnerabilities, now figuring what to do with the remaining vulnerabilities.

* issue_863: Updated gradle plugins version again. Ready for PR. Vulnerability issues will be addressed in another PR. I've cut down vulnerabilities by quite a lot and I want to test the new OWASP plugin against the remaining vulnerabilities.

* issue_863: Finishing touches to the PR. Upgraded some more dependencies and removed unused one.

* issue_863: Removed testng from codebase. Has been officially replaced with spring junit.
2025-01-13 09:53:04 -05:00
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
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
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