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
Cyrus
07b8bea085
Merge pull request #654 from nsacyber/v3_minor-unittest-updates
...
Creation Date fix
2023-12-21 10:49:32 -05:00
Cyrus
0432646445
The initial issue found in the tcg event log code is present in the
...
rest, updating all exclude files to ignore this specific bug for the
time being
2023-12-20 15:53:32 -05:00
Cyrus
b52128a0b1
These are fixes for issues found via unit test that are in PR #652 . But
...
that PR is currently still WIP and these changes have nothing to do with
why that PR is WIP. Therefore PR just covers these changes to the
creation time not being saved/reset.
2023-12-20 15:15:27 -05:00
Cyrus
3fa2512427
The current issue that spot bugs is finding is an error upon itself. it
...
isn't resolved in this current version of the gradle plugin spotbugs.
2023-12-20 14:11:12 -05:00
Cyrus
ae1c1f82f3
Missed a change
2023-12-20 14:03:56 -05:00
Cyrus
7d1d92417f
Updates to spot bugs found
2023-12-20 13:52:05 -05:00
Cyrus
7ccfa28f59
Missed adding new file for HIRS_Utils
2023-12-20 13:16:04 -05:00
Cyrus
c0cee9d597
Fixed a typo and included files I didn't on the initial push
2023-12-20 13:10:58 -05:00
Cyrus
4a9c579822
This is the first step for adding spotbugs (formerly findbugs) back into
...
the build. The configuration is in place but the majority of the
projects are being excluded. The eventlog (a small sample size) is
however being run with the proper corrections commited.
2023-12-20 12:55:50 -05:00
chubtub
6c5a17a2f7
In ReferenceManifestValidator, set the truststore for swidtag XML files, and check if it has already been set for signature validation; removed a duplicate digest command for calculating file hashes.
2023-12-20 11:04:46 -05:00
Cyrus
a30b81a68e
Merge pull request #648 from nsacyber/v3_issue_615-unittest
...
HIRS_Utils Unit Tests Migration from /hirs/persist/ and /hirs/appraiser/ directories
2023-12-18 11:42:56 -05:00
iadgovuser58
6c180f6825
added NullPointerException capability to Appraiser name
2023-12-15 12:32:56 -05:00
iadgovuser58
1f00a8833e
switched expected/actuals
2023-12-15 11:17:54 -05:00
iadgovuser58
560ee83eba
switched expected/actual
2023-12-15 10:53:40 -05:00
iadgovuser58
0222ba2cf8
changed name of TPM2ProvisionerStateTest
2023-12-15 10:50:18 -05:00
iadgovuser58
7e749c49ab
added back in 2 tests that were left out: testAppraiserNullName and testSetNameNull; will need main code fix to get tests to work
2023-12-15 09:51:16 -05:00
iadgovuser58
a51dd5f7df
switched expected/actual; some of the functions were only testing junit equals instead of the lombok/external function equals so changed those back
2023-12-15 09:31:48 -05:00
iadgovuser62
2e8569d0c3
Adding AppraiserTest and TestAppraiser
2023-12-06 10:58:55 -05:00
iadgovuser62
6b12e3d894
Adding TestTPM2ProvisionerState
2023-12-06 10:52:22 -05:00
iadgovuser62
f78c84a19a
Fixing deprecated method in CertificateTest
2023-12-06 10:43:55 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
2ab1e548ce
V3 json file platform ( #631 )
...
* Look for Component Class json on Windows. Update aca-windows
* Removed TPM from the ACA on Rocky image, changed container detection
* Change healthcheck function on windows.
* Remove commented code lines from aca_bootRun.ps1
* Added SWTPM to v3 ACA images.
* Add build arg to the aca-windows Dockerfile to select base image tag
* Make ACA accessible from localhost
2023-12-06 10:20:56 -05:00
iadgovuser62
748d7a317f
HIRS_Utils Unit Tests Migration from /hirs/data/persist directory ( #632 )
...
* Adding TPMInfoTest with necessary resources, and adding EndorsementCredentialTest with approved fix to EndorsementCredential
* Adding CertificateAuthorityCredentialTest and adding mockito import to build.gradle
2023-12-05 15:09:01 -05:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
b52eb770f5
[ #634 ] Updated Page Controller series integration tests and added new ones ( #647 )
...
* updated PageTestConfiguration
* updated PageControllerTest
* updated DevicePageControllerTest
* added 3 new tests
* added test resources
2023-12-05 15:04:06 -05:00