D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
036f70f6df
Merge pull request #690 from nsacyber/v3_issue_689-unittest
...
[689] Added 2 unit tests to HIRS_AttestationCA
2024-01-29 15:10:49 +00:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
a5b59c4a58
Merge pull request #686 from nsacyber/v3_issue_685-unittest
...
Migration Fixes: HIRS_Structs Unit Tests
2024-01-29 14:12:37 +00:00
iadgovuser26
430196365b
Added switch to windows engine ( #682 )
...
* Added scripts for acceptance testing
* Updated enthernet check
* Set Policy for Acceptance Tests
* Updated links for hat scripts
* Added SwitchWindowsEngine to install script
* updated push location
* Removed extra call to Expand-Archive
2024-01-26 13:44:15 -05:00
iadgovuser58
ca83d8556b
added resources
2024-01-25 09:51:06 -05:00
iadgovuser58
620982ee72
added 2 new unit tests
2024-01-25 09:48:14 -05:00
Cyrus
5c20b6b9c3
Updated the code to properly check for database values that are archived
...
vs not archived
2024-01-24 16:02:46 -05:00
iadgovuser62
c75b3dea86
Modifying SimpleStructBuilderTest and SimpleStructConverterTest to use JUnit5 instead of TestNG. Removing TestNG from build.gradle and adding JUnit5 dependency instead
2024-01-24 14:28:35 -05:00
Cyrus
1d0a71a1a2
While expecting a StackOverFlow error from uploading an EK certificate,
...
this is not occurring. A unit test had to be updated because the
previous BouncyCastle X500Compare.equals() method returned false for 2
empty string compares. Now it returns true.
2024-01-24 09:48:44 -05:00
Cyrus
ab4c608d8d
Initial Commit. This sets up the update bouncy castle for testing.
2024-01-24 09:09:12 -05:00
chubtub
b12f0654ea
Merge pull request #667 from nsacyber/v3_issue-660
...
[#660 ] Add -V|--version for easy access to rimtool version number
2024-01-24 00:23:46 -05:00
chubtub
5e3ab59dad
Clean up Main class for readability
2024-01-23 13:36:01 -05:00
Cyrus
29dd1254da
Merge pull request #679 from nsacyber/issue-642-spotbugs-p3
...
[#642 ] HIRS_Utils spotbugs fixes
2024-01-23 12:59:25 -05:00
Cyrus
5494714325
Merge pull request #681 from nsacyber/v3_main-testfail-fixes
...
Unit Test failures as of 1/22
2024-01-23 12:59:11 -05:00
Cyrus
d6af9fdad0
Code checked in from the last spotbugs PR push caused issues with the
...
DeviceTest unit test. The issue revolved around the equals and hashCode
mehtods that were initially be done by lombok. Auto generated by an IDE
also failed (using Objects). The issue came up because the methods all
called super.equals(). I took this out and all issues were resolved.
Lastly the null timestamp unit test was changed because the value will
never be null.
2024-01-23 10:43:09 -05:00
Cyrus
2e1ac19d21
Merge pull request #677 from nsacyber/v3_issue_668-version
...
Added VERSION file to /etc/hirs/aca
2024-01-22 16:51:03 -05:00
Cyrus
11dea55a7b
Merge pull request #676 from nsacyber/verison-helper-update
...
Verison helper update
2024-01-22 16:50:52 -05:00
Cyrus
49eb2753fb
Merge pull request #670 from nsacyber/v3_bouncycastle-preq
...
BouncyCastle Prerequisite changes
2024-01-22 16:34:26 -05:00
iadgovuser62
e9f5d7245c
Xfer HIRS_Provisioner.NET to main ( #663 )
...
* Moving HIRS_Provisioner.NET and dotnet_provisioner_unit_tests.yml into main branch
* Adding fixed dotnet provisioner workflow
* Updated files to match updated master branch, including hirs.sln, Directory.Build.targets, HIRS_Provisioner.NET.csproj, and hirsTest.csproj
2024-01-22 16:18:01 -05:00
iadgovuser26
4fc288c2f6
Created /opt/hirs/aca in aca_setup.sh
2024-01-22 15:46:43 -05:00
iadgovuser26
1ccde9baff
updated VERSION file placed in /etc/hirs/aca
2024-01-22 14:30:43 -05:00
iadgovuser26
2efb1a98f3
Merge pull request #658 from nsacyber/v3_issue_618-unittest
...
HIRS_Utils Unit Tests Migration from /hirs/data/persist directory
2024-01-22 08:22:06 -05:00
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