Commit Graph

414 Commits

Author SHA1 Message Date
iadgovuser58
b04e038869 added function to check emptiness of file handle 2024-07-26 10:59:22 -04:00
iadgovuser58
6d15d1effa temp code to find out how to tell if json reference to vendor-table.json object is empty 2024-07-26 10:59:22 -04:00
chubtub
efe2bbf9b4 Add BC validator for validation. Clean up log messages. 2024-07-26 10:59:22 -04:00
chubtub
80d5b45499 Modified RIM details page controller to pass truststore certs to the RIM validator class. Modified the RIM validator class to log details when signature validation fails. 2024-07-26 10:59:22 -04:00
chubtub
b6a0484f07 Modify BaseReferenceManifest to handle namespace prefixes in the swidtag XML. Modify the rimtool and ReferenceManifestValidator to properly prefix Directory and File under Payload and handle them for validation. 2024-07-26 10:59:22 -04:00
iadgovuser58
4c431e0b0b added output to show up front how many UEFI Signature Lists there are, and be more descriptive about how many certs/hashes in each List 2024-07-26 10:59:22 -04:00
iadgovuser58
0194349f1e change comments 2024-07-26 10:59:22 -04:00
iadgovuser58
8d93e9eacb fixed hash size for EFI_CERT_SHA256_GUID, other minor changes 2024-07-26 10:59:22 -04:00
iadgovuser58
cbafa97d5d minor change for spotbug 2024-07-26 10:59:22 -04:00
iadgovuser58
99f5b36823 check for signature type validity; if not valid, don't process and don't print 2024-07-26 10:59:22 -04:00
iadgovuser58
e89b43f50b changing string and other comments 2024-07-26 10:59:22 -04:00
iadgovuser58
9151d03a18 changed name of DeviceSecurityEventData parent and ..HEADER parent to make the naming more clear 2024-07-26 10:59:22 -04:00
iadgovuser58
452f9ba850 updated comments in ..HeaderBase to be more clear 2024-07-26 10:59:22 -04:00
iadgovuser58
0a61703ca8 consolidated a line 2024-07-26 10:59:22 -04:00
iadgovuser58
c3475b8b47 fixed spotbug errors 2024-07-26 10:59:22 -04:00
iadgovuser58
0685dd78d3 small fix to output 2024-07-26 10:59:22 -04:00
iadgovuser58
d813e3b7fd cleaned up comments 2024-07-26 10:59:22 -04:00
iadgovuser58
f573456c95 fixed DeviceContext to include either/or PCI USB 2024-07-26 10:59:22 -04:00
iadgovuser58
12dbf545c0 remove tests vendorid/deviceid 2024-07-26 10:59:22 -04:00
iadgovuser58
0ad042f40f temporarily add test vendorid/deviceid 2024-07-26 10:59:22 -04:00
iadgovuser58
54cb02a4f1 spdm processing - added Device Security Event Data Pci Context 2024-07-26 10:59:22 -04:00
iadgovuser58
715e6599b9 spdm processing - output is complete 2024-07-26 10:59:22 -04:00
iadgovuser58
03ce1b5763 spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
ca8407d476 spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
d573a13aac spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
47bb53f1ff spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
6f28b1a42f spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
851753b5d4 spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
c903400bac spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
9c88909a3e spdm initial output 2024-07-26 10:59:22 -04:00
iadgovuser58
e1527373fc spdm initial output 2024-07-26 10:59:22 -04:00
iadgovuser58
92dffcf0f0 spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
2cb2437ca0 spdm processing 2024-07-26 10:59:22 -04:00
iadgovuser58
2bfa614161 SPDM processing 2024-07-26 10:59:22 -04:00
iadgovuser58
2ee21afb3b SPDM processing 2024-07-26 10:59:22 -04:00
iadgovuser58
eea1b746c8 parsing event 2024-07-26 10:59:22 -04:00
iadgovuser58
bb4bcf936e additional descriptions for data structures 2024-07-26 10:59:22 -04:00
iadgovuser58
c43e790c74 completed descriptions for data structures 2024-07-26 10:59:22 -04:00
iadgovuser58
422834a8bb spdm event structures 2024-07-26 10:59:22 -04:00
iadgovuser58
c17221c6df added files for EvEfiSpdmFirmwareBlob 2024-07-26 10:59:22 -04:00
iadgovuser58
939240d284 fixed issue caused by change to version method 2024-07-26 10:59:22 -04:00
chubtub
fab56eb0e9 Remove commented lines 2024-03-15 14:37:09 -04:00
chubtub
1947b70a1b Clean up javadocs; change System.out.println to log messages 2024-03-07 00:43:10 -05:00
chubtub
54f3e4bfca Modify swidtag validation to use the public signing cert to verify <KeyName> in a signature and the truststore 2024-03-06 12:40:54 -05:00
chubtub
5445278723
Merge pull request #715 from nsacyber/v3_issue-661_updated
[#661] Output handling should be more concise
2024-03-06 12:40:03 -05:00
Cyrus
eada242284 These changes have been moved over from updates made for issue-705. The
primary function implemented in this set of changes is to track more
specifically what failed when the components of a certificate are
compared.  The implementation required a couple of new DB classes to be
created to store this information.  This is also to set up a better
visual comparison of what was expected vs what was actually found.  This
is similar to the RIM event compare failure page.
2024-03-01 15:29:10 -05:00
chubtub
adb1da93b4 Log an error instead of throwing an exception when the truststore is omitted 2024-02-23 02:11:31 -05:00
chubtub
f6f1ab4ee7 Log an error instead of throwing an exception when a signing key cannot be located in the provided truststore 2024-02-23 02:11:29 -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
6dc3c691e1 Updated some more checkstyle issues and removed the line call from the
settings.gradle file
2024-02-05 13:29:24 -05:00