Commit Graph

325 Commits

Author SHA1 Message Date
Cyrus
fcb6170b93 Fixed all of the compiler styling errors (findbugs and checkstyles) 2022-08-11 15:25:29 -04:00
Cyrus
60e083a048 Updated entity manager to prep for ordered list 2022-08-10 09:55:45 -04:00
Cyrus
977e4c6576 Additional bug fixes 2022-08-09 07:35:35 -04:00
Cyrus
8a8fca726c Resolved all non-unit test code errors 2022-08-09 06:03:48 -04:00
Cyrus
4e70141df0 Additional changes to handle subclasses 2022-08-05 08:34:58 -04:00
Cyrus
d80af7bc9e Working through some inheritance issues for Policy. Archiving also is
on the list of things that need to be reworked.
2022-08-04 10:02:34 -04:00
Cyrus
81aeaf85c0 Updated most of Supply Chain Validation impl. Didn't get further with
the persistence configuration.  Updated some of the Reference digest
values.  Will need to dig more into pulling information based on columns
(if criteria)
2022-08-03 21:08:14 -04:00
Cyrus
9221befdf0 Further updates to reference digest controller and the persistence
configuration which now includes updated refactoring for entity manager
2022-08-03 12:17:55 -04:00
Cyrus
56b77ab360 Changing the bulk of entries on the Certificate page controllers from
manager to service.  What is left is Unit Tests and Certificate Selector
which could be more of an issue.
2022-08-02 20:33:22 -04:00
Cyrus
74a3cf9e21 Removed DeviceGroup. Updated the serviceImpl classes with the retry and
flush methods.  Commit latest changes and transitioning to getting the
properites linked.
2022-08-02 14:00:57 -04:00
Cyrus
b8ca5f9ea9 Previous commit resolved an issue and now I've started implementing
using the jparespository.  Started with Device
2022-08-01 12:47:27 -04:00
Cyrus
54c712d52b Some serializable updates 2022-07-29 08:54:36 -04:00
Cyrus
1b80e99de8 Updated some serialized attributes 2022-07-28 15:15:24 -04:00
Cyrus
3f1a140946 Fixed up compiling 2022-07-28 13:23:40 -04:00
Cyrus
5ec4d8e415 Reloaded the unit test 2022-07-28 07:41:54 -04:00
Cyrus
53c565717d Trying to fix up code to pull down the correct library for JPARepository 2022-07-28 07:37:43 -04:00
Cyrus
a9bfbcbad5 More refactoring 2022-07-15 13:45:16 -04:00
Cyrus
a7a555ed5e Additional changes to move data managers to the ACA module 2022-07-12 13:40:46 -04:00
Cyrus
1df40473bd minor changes 2022-07-06 08:37:46 -04:00
Cyrus
2971459f32 Additional changes. Went to Hibernate 6, encountered issues with the
version of java.  Backed down to 5 but ran into different issues
2022-06-27 06:44:29 -04:00
Cyrus
c426cec978 This push compiles at the command line. However this ACA does not run. 2022-06-10 09:17:30 -04:00
Cyrus
51b9251e3f Continued changes remove and updating return types and parameter types 2022-05-31 10:17:11 -04:00
Cyrus
ebc903c78c Some changes to pull back on the generics 2022-05-23 12:23:41 -04:00
Cyrus
364347b7bb I removed the tpm2provisionerstate without recognizing it wasn't
directly linked to the DeviceState object class structure.
2022-05-11 14:28:18 -04:00
Cyrus
116ed5b4aa Continued changes to update to Hibernate 5, removed a lot of the
baseline files
2022-05-10 07:04:16 -04:00
Cyrus
dabd88719f Removed a lot of files 2022-05-04 14:19:18 -04:00
Cyrus
cbf1b0aaa8 Some additional changes and attempts to deal with generics. 2022-04-26 15:56:35 -04:00
Cyrus
6fa7874a5b This has some additional changes. Distinct was figured out. Portions
of the Abstract Generics was figured out but I think now there is going
to be a rewrite for getting an Abstract class and the children.
2022-04-22 15:17:28 -04:00
Cyrus
545e5b0918 This current push is in the middle of changes for Hibernate 5.x. Before
going to 6, you are recommended to upgrade to 5 first.
2022-04-19 06:50:13 -04:00
Cyrus
d4b6fdd1df Pushing up changes. Majority of the libraries are updated. The main 2,
hibernate/spring are saved for last.  Protobuf won't be updated without
a new OS.
2022-04-15 07:02:44 -04:00
Cyrus
bc643be28a Initial Commit. This change contains the first pass on updating version
for either vulnerable or outdated 3rd party software.
2022-04-13 14:16:52 -04:00
Cyrus
2e26823fc1 Did some testing on manual/curl uploading. This produced an error
because device name was being used to pull objects in the validation
quote part of the provision.  This was changed.  The event log is
deleted each time so that only one event log per device is maintained.
2022-03-21 09:51:32 -04:00
Cyrus
d4c35e09ab Updated the code to correctly include the supplemental digestvalues in
the firmware validation.
2022-03-16 09:06:04 -04:00
iadgovuser26
f19916c454
Merge pull request #444 from nsacyber/ski-prefix-truncate
Truncate 4 bytes from SKI
2022-02-24 16:48:06 -05:00
Cyrus
2e0b83f4fe Updated the upload function for support RIM. The store happened before
the linkage and nothing was being saved.
2022-02-24 09:54:59 -05:00
Cyrus
f28daa9144 Found another issue using the SKID that isn't matching up 2022-02-23 15:44:45 -05:00
Cyrus
a1ebd2f962 Fixed null pointer found in git actions` 2022-02-23 10:13:20 -05:00
Cyrus
4cf08ef38a Updated unit tests and removed magic number 2022-02-23 08:45:16 -05:00
Cyrus
00d8dfb3b5 Updated the CA certificate to truncate the prefix of the subject key identifier 2022-02-23 07:53:07 -05:00
Cyrus
9d27923d6d Added null checks for a unit test 2022-02-18 13:52:14 -05:00
chubtub
bf989bbee7 Merge branch 'issue-395' of github.com:nsacyber/HIRS into issue-395 2022-02-17 16:55:59 -05:00
chubtub
96200f57c2 Revert "Decode the event content for display on the frontend."
This reverts commit 2671a572ba.
2022-02-17 16:51:44 -05:00
chubtub
1cbe50b401 Decode the event content for display on the frontend. 2022-02-17 16:51:44 -05:00
Cyrus
d02be16ced The event selector was removed. It was not needed, but the event
manager was modified to pull the right data.
2022-02-17 16:49:08 -05:00
Cyrus
aabeb4e37f Updated code allows the tpm event table to be searched and information
updated when the swidtag is added.
2022-02-17 16:49:06 -05:00
Cyrus
470e6eccdf Refactored the Reference Digest code so that the ReferenceDigestValue
table is accessible and upated the contoller for the getOrderedList.
2022-02-17 16:48:08 -05:00
Cyrus
10915bdc3b Prelminary changes to remove ReferenceDigestRecord as a database object. 2022-02-17 13:11:41 -05:00
chubtub
ddada80add WIP: frontend hangs while getting records from backend 2022-02-17 13:08:07 -05:00
chubtub
7d8df398e7 Controller class for returning TPM Event data to jsp 2022-02-17 13:08:06 -05:00
chubtub
1d57ab0d09 Revert "Decode the event content for display on the frontend."
This reverts commit 2671a572ba.
2022-02-16 11:17:25 -05:00