241 Commits

Author SHA1 Message Date
ThatSilentCoder
0b7a72805a [#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
2025-04-02 06:29:03 -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
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
616fc0686f issue_863: Removed testng from codebase. Has been officially replaced with spring junit.
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-23 10:12:31 -05:00
TheSilentCoder
d470fd85bc 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. 2024-12-19 09:37:06 -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
TheSilentCoder
301689ddb6 issue_863: reverted changes from last commit. let's see if that makes a difference 2024-11-27 16:53:35 -05:00
TheSilentCoder
028a52183c issue_863: removed unused dependencies and am currently resolving critical vulnerable dependendcies 2024-11-27 16:05:42 -05:00
TheSilentCoder
4798b16a47 issue_863: updated spring boot version. second try at it. 2024-11-26 19:49:30 -05:00
TheSilentCoder
77a31fef3c issue_863: Part 12 of updating dependencies 2024-11-26 17:05:28 -05:00
TheSilentCoder
fea59607f0 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) 2024-11-26 14:57:32 -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
ce78c75506 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. 2024-11-25 08:54:25 -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
iadgovuser58
10cfe37ad2 Merge branch 'main' into v3_issue_836-spdm 2024-09-26 16:32:54 -04:00
iadgovuser58
6d9863f693 get pciids from code if not found on filesystem 2024-09-26 15:30:40 -04:00
iadgovuser58
e90869153c changed pciutils to hwdata, the package which requires/installs pci.ids 2024-09-09 11:59:52 -04:00
iadgovuser58
fa12d6f607 added pciutils to rpm build for acaportal and eventlogtool 2024-09-05 13:54:13 -04:00
iadgovuser26
72b37cec61
Merge pull request #815 from SuperPotato27/v3_issue_810
(WIP) Added action to package the RIM tool and the EventLog tool for windows.
2024-09-04 10:30:21 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
3f466aa119
Update README.md 2024-08-27 18:47:04 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
eec080cf33
Update README.md 2024-08-27 18:46:37 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
e4a346213a
Update README.md 2024-08-27 18:42:22 -04:00
iadgovuser26
ca76913095
Merge pull request #834 from nsacyber/v3_issue_833-ubuntu
Changed tcg_eventlog_tool to use amd64 for debian packaging
2024-08-27 15:41:37 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
b0145c4c28
Update README.md 2024-08-27 12:14:15 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
bab9193a7c
Update README.md 2024-08-27 12:08:33 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
5625a68bf6
Update README.md 2024-08-27 12:02:20 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
c5dbb22d7b
Update README.md 2024-08-27 11:59:55 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
3177869c87 Changed tcg_eventlog_tool to use amd64 for debian packaging 2024-08-23 17:20:20 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
203691e09c Updated README.md and VERSION files 2024-08-22 16:40:03 -04:00
iadgovuser58
6f0553fe3f debugging SLF4J warning 2024-08-09 13:50:15 -04:00
SuperPotato27
b03ac63abe Merge branch 'v3_issue_805' into v3_issue_810 2024-07-25 12:56:53 -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
SuperPotato27
f712f2597f fixed jar file name inside zip 2024-07-17 14:27:26 -04:00
SuperPotato27
c8ca3ad820 adding eventlog Jar to the package 2024-07-17 11:00:50 -04:00
SuperPotato27
dfd0c85822 added all rim files needed to gradle build 2024-07-16 15:57:33 -04:00
SuperPotato27
128e2f90ab adjust paths 2024-07-16 11:48:59 -04:00
SuperPotato27
a62b3bbb6f working on windows packaging 2024-07-16 10:02:39 -04:00
SuperPotato27
59e2ac65e7 packaging rimtool for windows 2024-07-15 15:05:31 -04:00
iadgovuser58
770b36d4f3 update output message in main 2024-07-05 09:26:16 -04:00
iadgovuser58
2fd6ee0557 cleaned up a few checkstyle warnings 2024-07-03 13:03:54 -04:00
chubtub
5d10dc4b1c Modify rimtool to properly namespace timestamp elements 2024-06-20 08:45:32 -04:00
iadgovuser58
f995f0fc1c merging any updates in main into this branc
gerge branch 'main' into v3_issue_768_Part2-eventProcessing
2024-06-04 08:31:02 -04:00
iadgovuser58
2423b157bb propogating error dealing with file access through the sequence of code 2024-06-03 15:42:44 -04:00
chubtub
77de04b45f
Merge pull request #751 from nsacyber/v3_issue-737
[#737] Resolve RIM upload parse error
2024-05-15 23:07:51 -04:00