Commit Graph

349 Commits

Author SHA1 Message Date
Cyrus
e1f846d3ae Upon a quick test, the truststorefile was throwing errors because it is
not just empty but null.  Added null check first.
2023-11-29 14:12:36 -05:00
Cyrus
8ae0745ac5 Fixed issues that caused the ACA to not complete a provision.
FWvalidator was using an object used by the tool and not the portal.
Updated a few repository calls
2023-11-28 15:39:33 -05:00
iadgovuser62
59a4ff0f1a
HIRS_Utils Unit Tests Migration from /hirs/utils/ directory (#621)
* Adding HexUtilsTest

* Adding StringValidatorTest

* Adding VersionHelperTest and necessary resource

* Adding BouncyCastleUtilsTest
2023-11-16 12:51:30 -05:00
chubtub
0236a6b9c6 Add methods to ReferenceManifestValidator to facilitate swidtag XML validation. Modify rimtool classes to reference ReferenceManifestValidator. Modify build.gradle to build a fat jar. 2023-11-03 13:27:12 -04:00
chubtub
1a26802ee0 Modify ReferenceManifestValidator to incorporate necessary methods from SwidtagValidator 2023-11-03 13:22:41 -04:00
chubtub
071981dcb0 Repeat changes to ReferenceManifestValidator from reverted commit 2023-11-01 11:54:29 -04:00
chubtub
55936806d7 Revert "Merge pull request #606 from nsacyber/v3_issue-596"
This reverts commit 071e89a44f, reversing
changes made to 45d550729f.
2023-11-01 10:03:34 -04:00
Cyrus
1867e00301 Updated the Rim Validator to remove direct object parameters from the
database and pass in the information the methods needed to function
2023-10-31 10:48:37 -04:00
chubtub
55f80fe0e6 Migrate CertificateTest class to HIRS_Utils and update unit test dependencies following migration 2023-10-20 08:39:28 -04:00
chubtub
f96fa87138 Update import statements for dependents of RIM classes. Move PcIds class to HIRS_AttestationCA package. 2023-10-18 09:45:19 -04:00
chubtub
98a56a3f41 Merge branch 'main' into v3_issue-596 2023-10-17 16:50:40 -04:00
chubtub
bfa30ca186 Change references in ACA and ACAPortal to HIRS_Utils package for migrated classes. Revert change to gradle.properties file. 2023-10-16 13:50:49 -04:00
Cyrus
ec39bf55a3 Corrected an issue with the root CA looking itself causing an issue
because the one root CA had an illegal character.
2023-10-10 13:31:45 -04:00
Cyrus
31066694ee Updates to the location of default property files and setting the
deviceName
2023-09-29 08:18:54 -04:00
Cyrus
a08c007bba Some additional updates and changes while debugging 2023-09-22 11:50:28 -04:00
Cyrus
4b67747e3e Updated the bulk of the code that does all provisioning from a client.
There is some parsed functionality to ease sorting through the changes
and updates needed in the future.
2023-09-21 15:02:24 -04:00
Cyrus
7337c115ca Copying the json files for component class and vendor table were taken
out of the set up script.  They are now causing errors because the files
can't be found.
2023-09-08 07:59:58 -04:00
iadgovuser26
c1917f03ae
Merge pull request #577 from nsacyber/v3_issue_576_pt1-unittest
[#546] (Part 1) Migrating tests in /data/persist/ folder in HIRS_Utils
2023-09-01 14:48:20 -04:00
iadgovuser59
d5af444605 Minor code cleanup 2023-09-01 12:44:04 -04:00
iadgovuser59
0e6450da7f Adding PolicyTest and associated changes 2023-09-01 12:30:09 -04:00
iadgovuser59
8386864195 Adding OSInfoTest 2023-09-01 10:50:44 -04:00
iadgovuser59
86a9d886c1 Adding NetworkInfoTest 2023-08-31 19:15:56 -04:00
iadgovuser59
894b13acf8 Adding HardwareInfoTest 2023-08-28 17:11:00 -04:00
iadgovuser59
3e0176d35a Adding FirmwareInfoTest 2023-08-28 16:50:48 -04:00
iadgovuser59
9136725994 Migrating unit test 2023-08-28 15:43:59 -04:00
Cyrus
751a8104fc Updated all page controllers that were causing an issue to display
content based on the page allocations.
2023-08-04 10:13:25 -04:00
Cyrus
391a4691c5 This push fixes the dataTable ajax error when navigating to the device
page. And it incorporates Trust Chain acaCertificate.
2023-07-28 12:49:24 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
30c9ddbf7c
Merge branch 'main' into v3_issue_546-unittest 2023-07-21 13:36:29 -04:00
iadgovuser58
a0238abe8b minor updates to replace deprecated function, swap actual/expected in assertthat, and use lombok Getter 2023-07-19 16:21:16 -04:00
iadgovuser59
dbc11f15c4 Adding resources for unit tests 2023-07-17 16:17:24 -04:00
iadgovuser59
7a24d2c79b Adding UEFI unit tests 2023-07-17 16:15:57 -04:00
iadgovuser58
435ce61a5a minor comment updates 2023-07-13 18:16:37 -04:00
iadgovuser58
166391c4d4 minor comment changes to TCGEventLogTest 2023-07-13 17:48:34 -04:00
iadgovuser58
2db07c7c77 updated build.gradle with a few necessary libraries for tests 2023-07-13 17:47:49 -04:00
iadgovuser58
2b21ecfeb7 added one function to TCGEventLog that was from master 2023-07-13 17:47:07 -04:00
iadgovuser58
3826ef7834 added TCGEventLogTest.java and 4 resource files 2023-07-13 17:21:17 -04:00
Cyrus
c55c148da7 Not sure why but constants didn't get pushed. 2023-06-30 09:10:05 -04:00
Cyrus
34aa54100e This push resolves the parsing issue of swidtags that may not meet the
validation based on an attribute not matching the spec.
2023-06-30 09:03:19 -04:00
Cyrus
67681c0227 This push fixes the issues with parsing the file tag and getting the
hash value for the support rim and as well for getting the collapsible
file link on the details page to operate. [no ci]
2023-06-29 07:49:32 -04:00
Cyrus
9fe89232a8 Second commit mainly containing new files 2023-06-13 10:12:25 -04:00
Cyrus
3a72583836 First commit with modified files [no ci] 2023-06-13 09:29:29 -04:00
iadgovuser26
59a2b7ea4f Updated HIRS_Utils.gradle [no ci] 2023-05-03 18:44:38 +00:00
root
6763e4a87d Merge remote-tracking branch 'origin/codebase-reset' into gradle-package 2023-04-25 18:37:28 +00:00
Cyrus
7d9f3d72f4 Updating the branch with additional code. The ACA loads, however
trust-chain does not.  I backed out x509 Certificate changes. [no ci]
2023-04-21 10:30:51 -04:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
ef65c6ad8b updated with package for tcg_rim_tool [no ci] 2023-03-17 14:47:10 -04:00
iadgovuser26
d862e95708 Added build and package creation for tcg_eventlog_tool [no ci] 2023-03-14 16:46:31 -04:00
Cyrus
3a5f210b2f I missed pushing up the manually modified xjc files. [no ci] 2023-03-13 06:39:57 -04:00
Cyrus
9be3f3b3be Update the build.gradle and settings.gradle files [no-ci] 2023-03-07 09:23:55 -05:00
Cyrus
86ef7d9356 Added back in HIRS_Utils 2023-03-06 20:48:51 -05:00
Cyrus
72aa426018 This is a complete refactor. This uses Hibernate 6, Springboot Framework
3, Java 17, Jakarta
2023-02-14 07:30:16 -05:00