420 Commits

Author SHA1 Message Date
ThatSilentCoder
221eb3cc04
[#896] Add basic Platform Certificate Class Registry support to the ACA (#898)
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_896: first cut at changing the logic on the validator

* issue_896: Added more javadocs, still going through the process and figuring out places where this will work. Can successfully debug provisioner+aca.

* 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.

* 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.

* 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.

* issue_896:I believe I have finished the issue. Further testing needs to be done. Will put in a WIP PR for now.

* issue_896: Made some more changes after viewing PR

* issue_896: Changed v3 to v4 in the github actions yaml files.

* 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.

* issue_896: Hopefully GITHUB actions will be more forgiving.

* issue_896: Placed test task in the root build.gradle. Made more fixes to the test classes.

* issue_896: Realized there might be more work needed for the validation part. Started adding more logic to validation.

* issue_896: Last change before the long weekend. Hoping these changes will make github actions happy.

* issue_896: Verifying that this part works. We will need to figure out a smart/efficient way of comparing the components from platform cert and device info report.

* testing

* v3_issue_896: Should work for this PR.

* v3_issue_821: fixed the NPE issue we were getting during provisioning for missing component info.

* v3_issue_896: my copy/paste skills need work. Fixed the issue that was causing the docker tests to fail.

* v3_issue_896: trying to see if reverting the return call null will make a difference.

* v3_issue_896: should fix issues with pc found on certain devices

* v3_issue_896: part ii of should fix issues with pc found on certain devices

---------

Co-authored-by: Esteban Acosta Toribio esacost <esacost@hirs-dr640-ro-01.evoforge.org>
2025-04-01 09:18:21 -04:00
ThatSilentCoder
2d89f7b20e
[#905] 404 Error Code While Uploading Platform Certificates (#907)
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
* v3_issue_905: Finally figured out why we were getting a null pointer exception. Fixed the issue and can now upload plat form certs with unusual components without any hiccups.

* v3_issue_905: CI/CD pipeline should be happy now.
2025-03-17 05:44:05 -04:00
ThatSilentCoder
60cc011197
issue_901: Figured out logging issues. Now log can successfully record new events and is located where it should be (var/log/hirs). Ready for PR. (#903)
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-03-06 07:18:35 -05:00
TheSilentCoder
da598977c6 Merge branch 'main' into v3_issue_872-apply-lombok-to-classes-with-boilerplate-code
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-24 14:41:02 -05:00
TheSilentCoder
1bc9affcf1 issue_872: I believe I was able to lombok all the files that had the default setters and getters.
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-13 18:28:55 -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
TheSilentCoder
f1c430eb46 issue_863: All critical dependencies listed inthe gradle check analysis are found in just the CA Portal dependency. While the appliation builds and runs well as a service, currently running into issues with fixing these dependencies.
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-08 17:30:09 -05:00
TheSilentCoder
1b9df78238 issue_863: Fixed some critical dependencies in all of the modules except for HIRS_CA and HIRS_CAportal modules.
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-06 17:40:26 -05:00
TheSilentCoder
dcc2962b99 Merge branch 'v3_issue_863-write-dependencies-version-numbers-in-gradleproperties-file' into v3_issue_887-add-owasp-dependency-check 2024-12-19 16:35:01 -05:00
TheSilentCoder
3d795a56ee issue_863: Updated gradle plugins version, fixed more vulnerabilities, now figuring what to do with the remaining vulnerabilities.
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
2024-12-18 16:44:41 -05:00
TheSilentCoder
1c39f8d9d5 issue_863: Updated gradle version, fixed more vulnerabilities, now figuring what to do with the remaining vulnerabilities.
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
2024-12-17 14:58:41 -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
TheSilentCoder
4798b16a47 issue_863: updated spring boot version. second try at it. 2024-11-26 19:49:30 -05:00
TheSilentCoder
bc25d6a149 issue_863: removed some critical vulnerable dependencies 2024-11-26 19:08:04 -05:00
TheSilentCoder
d831d02123 issue_863: upgrading this slowly but surely again. testing to see if github's ci/cd is happy still with these set of changes. 2024-11-26 14:37:57 -05:00
TheSilentCoder
548c203c18 issue_863: upgrading this slowly but surely 2024-11-25 15:34:27 -05:00
TheSilentCoder
3307cddb9e issue_863: finished updating dependency versions. Ready for PR 2024-11-22 10:58:20 -05:00
TheSilentCoder
21624789d0 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 2024-11-21 12:07:57 -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