Commit Graph

1504 Commits

Author SHA1 Message Date
Cyrus
a8756e187e Missed removing an annotation 2024-01-19 09:03:28 -05:00
Cyrus
f3b0be9ef9
Merge pull request #657 from nsacyber/issue-642-spotbugs-p2
[#642] HIRS_AttestationCA spotbug fixes
2024-01-19 07:58:57 -05:00
Cyrus
60729164c8 Last changes that resolve remaining spotbugs issues 2024-01-19 07:45:36 -05:00
chubtub
ea79dbfddf Read rimtool version from /opt/rimtool/VERSION or jar filename if VERSION not found 2024-01-19 00:39:38 -05:00
chubtub
9172bd96ad Revert previous changes to Main and SwidTagConstants 2024-01-19 00:39:38 -05:00
chubtub
c79434eb57 Add -V|--version for easy access to rimtool version number 2024-01-19 00:39:38 -05:00
Cyrus
575baa3409 Spotsbugs HIRS_Utils initial fixes 2024-01-18 16:02:32 -05:00
Cyrus
8dee0a94ea Update code to pull from 2 different locations 2024-01-18 08:09:13 -05:00
iadgovuser26
4f31def8b2 Added Version file to /etc/hirs/aca 2024-01-17 18:05:19 -05:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
b750359ad0
Merge pull request #675 from nsacyber/v3_issue_674-githubactions
[#674] Updated github actions for unit test artifacts
2024-01-17 20:15:07 +00:00
Cyrus
3134a165fa Changes were missing from the unit test file, updated and should pass
now
2024-01-17 14:36:05 -05:00
Cyrus
3d6504743f Update the Version parsing to read the file from a configuration
location rather than the code bases resource location.
2024-01-17 14:18:26 -05:00
iadgovuser26
493d2bd2a4
Added scripts for acceptance testing (#659)
* Added scripts for acceptance testing

* Updated enthernet check

* Set Policy for Acceptance Tests

* Updated links for hat scripts
2024-01-17 12:54:26 -05:00
iadgovuser58
cc84fab5e8 updated github action to copy artifacts for subprojects that now have unit tests 2024-01-17 12:40:29 -05:00
iadgovuser26
c5467d8a6c
Merge pull request #671 from nsacyber/v3_issue_668-version
[#668] Added VERSION file to /opt/hirs
2024-01-17 12:11:08 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
355cec9e9a
Updated compose files for the acceptance test for Windows and Linux (#672)
* Linux will require different network driver for the acceptance test
container.

* default compose network does not work the same on Windows
2024-01-17 11:16:31 -05:00
iadgovuser26
3f7cac13c7 added VERSION file to /opt/hirs 2024-01-16 18:28:40 -05:00
Cyrus
d7569f22d2 Commenting out a unit test that is currently causing github actions to
fail the reason is unclear.  It doesn't occur in a container but does on
a host machine.
2024-01-16 17:06:45 -05:00
Cyrus
832bac4b93 Finally found a fix for the StackOverFlow error 2024-01-16 15:30:28 -05:00
Cyrus
331e0f54f7 Resolved an illegal argument with the ASN1UTF8String object in the
componentIdentifier
2024-01-16 13:21:03 -05:00
Cyrus
577f3c7035 Added some changes to fix some issues causing a stackoverflow 2024-01-12 14:42:14 -05:00
Cyrus
f7103517d2 All changes that were deprecated for the updated 1.77 version. This is
to set up for updating the actual version.
2024-01-12 13:44:11 -05:00
Cyrus
799a9922f4 ACA was throwing up errors because of serialization for the Platform
Cert, undid code for spotbugs to resolve the issue
2024-01-12 10:18:38 -05:00
Cyrus
8aef4b5bac Missed some Getter and Setter 2024-01-12 07:32:04 -05:00
Cyrus
c6dcf36e04 Removed changes because the PC is not loading URIReference 2024-01-12 07:23:13 -05:00
iadgovuser62
18a8f42699 Fixed expected/actual order in tests, added ExaminableRecord tests to TPMMeasurementRecordTest 2024-01-11 11:35:50 -05:00
chubtub
e4c9150b07
Merge pull request #650 from nsacyber/v3_issue-646
[#646] Fix broken rimtool validation
2024-01-11 10:52:42 -05:00
iadgovuser62
09284caa57 Undoing addition to HIRS_AttestationCA build.gradle file; Adding tests to DeviceTest 2024-01-10 14:57:56 -05:00
iadgovuser62
2b594571b5 Removing SpringPersistenceTest after concluding it is unnecessary; Modifying DeviceInfoReportTest after removal of SpringPersistenceTest. Adding TPMMeasurementRecordTest 2024-01-10 14:37:35 -05:00
Cyrus
3197f4a818 Removing null pointer on URI object 2024-01-08 14:44:55 -05:00
Cyrus
4eafb655ba Pulled back some additional changes because the initialization of
endorsement through issued was not happening due to the spotbug change
for the lombok getter.
2024-01-05 11:03:44 -05:00
Cyrus
10343398d4 These are the finally changes that produced a successful build. all
unit tests pass and no spotbugs patterns appear for HIRS_AttestationCA.
2024-01-05 09:23:52 -05:00
Cyrus
03055d29a6 Continuing to update to fix ACA issues 2024-01-04 11:48:46 -05:00
Cyrus
021e975074 Last touches 2024-01-02 15:59:29 -05:00
Cyrus
98e9fae754 Resolving the unit tests 2024-01-02 15:09:18 -05:00
Cyrus
b7ac1e06da Additional changes 2024-01-02 12:45:16 -05:00
Cyrus
0a89846f4c Updates to the Unit Test based on spotbug changes 2024-01-02 10:01:43 -05:00
Cyrus
0e9b2dbd26 Additional changes 2024-01-02 08:41:11 -05:00
Cyrus
bc71285442 Additional updates 2023-12-29 07:20:27 -05:00
iadgovuser62
412ac2bb75 Adding DeviceTest 2023-12-29 06:59:06 -05:00
iadgovuser62
91abb7b9a5 Adding DeviceInfoReportTest and necessary resource file 2023-12-29 06:57:27 -05:00
iadgovuser62
df83fb6064 Adding SpringPersistenceTest and necessary implementation in HIRS_AttestationCA build.gradle file 2023-12-29 06:53:09 -05:00
Cyrus
e75a4c2128 Additional updates to clear issues spotbugs have found. While I am
going to put in an exclude for what is left, I am attempting to
resolving some of these that make sense.
2023-12-29 06:28:34 -05:00
Cyrus
39da434f1f Continuing fixing spotbugs for AttestationCA 2023-12-26 08:37:52 -05:00
Cyrus
8c573b0bcd Added some more updates 2023-12-22 08:53:20 -05:00
Cyrus
0d25599c80 Initial set of changes for #642 that are fixes for HIRS_AttestationCA.
In addition, this and the following pushes will have changes for #651
because spot bugs doesn't like how Lombok handles hashCode and equals
2023-12-22 07:44:47 -05:00
Cyrus
9b9da1b708
Merge pull request #656 from nsacyber/v3_issue_655-integrationtest
[#655] Added the final 3 Page Controller integration tests
2023-12-22 07:21:47 -05:00
Cyrus
e2247735f0
Merge pull request #653 from nsacyber/issue-642-spotbugs
[#642] Initial Spotbugs Setup
2023-12-22 07:21:29 -05:00
chubtub
ab01bb8647 Add KeyName to all signed base RIMs, and modify all unit test files to reflect this change. 2023-12-21 20:21:38 -05:00
iadgovuser58
c1bb2da847 cleaning up comments 2023-12-21 18:03:54 -05:00