342 Commits

Author SHA1 Message Date
Cyrus
21525fc882 Added using the session id for the component mismatching 2024-03-01 08:19:00 -05:00
Cyrus
769afec6ce Missed a change to the failed validation boolean method change 2024-03-01 07:53:49 -05:00
Cyrus
3fb05d7470 This is a final push that marks what was mismatched for the component
results and should display red properly on the details page.
2024-03-01 07:52:02 -05:00
Cyrus
d01343d12a Fixed a null pointer with the field replaceable attribute. Updated the
generate component result method for a 1:1 component.
2024-02-29 21:04:09 -05:00
Cyrus
06245c385d Additional fixes and updates to track supply chain validation to the
component result attribute.  Fixes to run time issues
2024-02-29 16:03:41 -05:00
Cyrus
55dd9e2c90 Corrections to the code. DeviceInfoReport was set up improperly 2024-02-28 16:02:24 -05:00
Cyrus
bcc0041923 Final changes to mark mismatches between the device component and the
expected platform certificate components.  In addition, some checkstyles
issues are addressed as well.
2024-02-27 09:58:57 -05:00
Cyrus
3f72fc5d15 These updates include a lot of changes that involve using the Component
Result class as the means to comparison for the Platform and Device
components.  Other changes are for checkstyles.
2024-02-23 21:14:33 -05:00
Cyrus
e8f6064d60 Updated to account for children of component info 2024-02-22 15:42:11 -05:00
Cyrus
8441639788 Initial changes to redo the component comparision part of the validation 2024-02-22 15:37:13 -05:00
Cyrus
a0fbb4dbbb Updated the code to use the pci.ids files for ComponentResult 2024-02-21 15:50:57 -05:00
Cyrus
3520680e2a This is a set of changes that are prepping for further testing to add in
the last piece which populates the result of the isMatch in the DB.
2024-02-20 14:57:58 -05:00
Cyrus
c3d3146a73 Fixes issues with additional fields needing to be pulled from the
component identifier
2024-02-16 15:51:38 -05:00
Cyrus
c1b2abba19 These change address Component Address being available to display
on the certificate details page.
2024-02-16 13:18:03 -05:00
Cyrus
c135d17934 These changes update the code to create component results for the
provisioning process.
2024-02-16 09:50:32 -05:00
Cyrus
c674510a8d These changes are set up to save component identifier to the db and
display.  This push it to test functionality
2024-02-15 15:58:11 -05:00
Cyrus
12e6f48550 Initial changes to refactor highlighting the failed components 2024-02-14 16:24:01 -05:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
bb81f1050c
Merge pull request #701 from nsacyber/v3_issue_693-unittest
Migrated 1 unit test to HIRS_AttestationCA
2024-02-09 11:20:32 -05:00
Cyrus
80ba01a3d0 This commit is for the 3rd listed issue on #705. The green check mark
test was causing an error from ASN1UTF8String.getInstance.  And did some
checkstyle fixes.
2024-02-06 16:34:20 -05:00
Cyrus
e819dad52b This commit sets up the suppression filter file. The locations previous
established have been removed.  The configuration is the root directory
2024-02-05 10:50:12 -05:00
Cyrus
ab5036982f Updated version for suppressions file 2024-02-02 08:37:44 -05:00
Cyrus
17bd7d9021 New branch because there seemed to be issues with the previous branch
merges.
2024-02-02 08:07:08 -05:00
iadgovuser58
2db795de44 Merging latest changes into branch prior to PR
Merge branch 'main' into v3_issue_693-unittest
2024-02-01 14:42:47 -05:00
iadgovuser58
0fd8620098 trying to fix spotbug issues 2024-02-01 14:40:25 -05:00
iadgovuser58
257b242c87 trying to fix spotbug issues 2024-02-01 14:33:57 -05:00
iadgovuser58
41193793b5 trying to fix spotbug issues 2024-02-01 14:32:16 -05:00
Cyrus
566248b244
Merge pull request #688 from nsacyber/v3_issue-684
[#684] Green Check mark fix
2024-02-01 10:20:31 -05:00
iadgovuser58
8a440d0d39 getting latest updates from main
Merge branch 'main' into v3_issue_693-unittest
2024-02-01 09:53:50 -05:00
iadgovuser58
0aab69871f try adding more require non nulls 2024-02-01 09:47:26 -05:00
Cyrus
7c1f43c19b Updated the reference to the getObject for a Tagged Object. this is
current causing the build to fail in reference to #693 Unit test
2024-02-01 06:47:46 -05:00
Cyrus
06dc119702 ASN1UTF8String change to DERUTF8String so that the vendor string aren't
throwing exceptions because ANS1UTF8String.getInstance does not take
Strings
2024-02-01 06:31:02 -05:00
Cyrus
66130bacea
Merge pull request #683 from nsacyber/v3_bouncycastle-version-update
Bouncy Castle version update
2024-02-01 06:23:51 -05:00
iadgovuser58
085fd6e1c8 fixed bugfinder issues 2024-01-31 10:22:22 -05:00
iadgovuser58
b5a790caf6 added springframework to gradle 2024-01-29 10:54:49 -05:00
iadgovuser58
8e2d8a0463 added resources 2024-01-29 10:53:47 -05:00
iadgovuser58
77f5d13c1b added new test 2024-01-29 10:52:47 -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
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
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
49eb2753fb
Merge pull request #670 from nsacyber/v3_bouncycastle-preq
BouncyCastle Prerequisite changes
2024-01-22 16:34:26 -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
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
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