Commit Graph

181 Commits

Author SHA1 Message Date
075d68664f If no timestamp format is given a timestamp is not included in the resulting XML. Updated unit tests. 2022-12-08 08:15:55 -05:00
fcf59290fe Modify gateway class to insert a timestamp according to user selected format 2022-12-08 08:15:55 -05:00
464abbf156 Modify Main and Commander classes to support options for RFC3161 and RFC3339 2022-12-08 08:15:55 -05:00
233171893b Add constants to support separate namespaces for RFC3161 and RCF3339. 2022-12-08 08:15:55 -05:00
106e1fef76 Clean up SwidTagConstants class values 2022-12-08 08:15:55 -05:00
dffcbf59bd Add support for timestamping a signature 2022-12-08 08:15:50 -05:00
59ef355326 Modify help text 2022-12-06 06:50:53 -05:00
a1e7b0f7e4 Merge branch 'java_xml_timestamp' of github.com:nsacyber/HIRS into java_xml_timestamp 2022-11-21 14:26:35 -05:00
180eebd16b Merge branch 'master' into java_xml_timestamp 2022-11-21 14:18:04 -05:00
fbcaadee31 Updated references of RFC3161 to RFC3852 2022-11-21 14:04:11 -05:00
8b54023b5c Merge branch 'master' into java_xml_timestamp 2022-10-26 10:25:19 -04:00
d01b5de478 If no timestamp format is given a timestamp is not included in the resulting XML. Updated unit tests. 2022-10-26 07:51:25 -04:00
ed2797735e Modify gateway class to insert a timestamp according to user selected format 2022-09-21 10:52:32 -04:00
97ccab0473 Modify Main and Commander classes to support options for RFC3161 and RFC3339 2022-09-20 00:19:01 -04:00
e5da94fa08 Merge pull request #488 from nsacyber/c#_xmldsig_validation
[#487] Create xml_dsig_tool
2022-09-15 15:12:24 -04:00
fa27277632 Added README.md 2022-09-13 10:28:10 -04:00
1fccd3a222 Add constants to support separate namespaces for RFC3161 and RCF3339. 2022-09-13 10:24:38 -04:00
68b11ce96d Clean up SwidTagConstants class values 2022-09-12 10:14:24 -04:00
25e77a6173 Merge branch 'master' into java_xml_timestamp 2022-09-08 20:37:26 -04:00
ddbc13d2bb Add support for timestamping a signature 2022-09-08 20:35:42 -04:00
91ef59745b Added README.md 2022-09-08 08:23:22 -04:00
e72ffe1cbb Debug failing unit tests 2022-08-26 10:11:35 -04:00
20903c6bea Merge branch 'master' into issue-462 2022-08-25 13:01:39 -04:00
a8a6b61e9f Merge pull request #449 from nsacyber/issue-441
[#441] tcg_rim_tool option to embed cert in signature
2022-08-25 11:34:14 -04:00
b134ebdeda WIP: debug function prints out the xml data to be signed, but the calculated signature value is not decoding properly. 2022-08-11 11:59:46 -04:00
4499e19104 Merge pull request #486 from nsacyber/eventLog_spdm_prep
[#485] Event log spdm prep
2022-08-11 10:45:21 -04:00
505f62ce39 added sha384 processing for event logs 2022-08-02 11:52:05 -04:00
a5a36fda12 Rename directory tcg_rim_tool_msdotnet to xml_dsig_tool 2022-08-01 12:20:13 -04:00
5061e6d88c Sign function writes the signed xml to a new file. Added supporting files for testing convenience. 2022-07-28 20:48:29 -04:00
de2db0491d Read commandline arguments for sign and validate functions. Arguments for either include an xml file and a pem file. 2022-07-28 07:46:54 -04:00
1836620f98 Moved Microsoft library program to its own directory under HIRS/tools/ 2022-07-21 15:01:57 -04:00
6a173fe162 This program generates a signature that passes validation by the rimtool. 2022-07-19 18:06:57 -04:00
eabc352eb4 addressing comments 2022-07-18 14:13:37 -04:00
49707fef84 addressing comments 2022-07-18 13:56:47 -04:00
223fc15cc4 This program successfully validates a rimtool-signed swidtag 2022-07-18 12:57:27 -04:00
d95634e040 revert efi_prefix 2022-05-20 16:14:01 -04:00
2f64c2a1f9 added default values for -o and -f options 2022-05-03 15:57:54 -04:00
de790ed7b2 Clean up unit tests 2022-04-15 10:39:35 -04:00
4b3c01f990 Moved KeyValue processing to KeySelector inner class 2022-04-15 10:28:07 -04:00
e5e6db75f4 WIP: Modify validation code and unit tests to account for embedded public key. 2022-04-15 10:28:07 -04:00
0a618b3796 Modify default attributes file path. Add unit test for embed option. 2022-04-15 10:28:06 -04:00
392821a2b9 Add option to explicitly embed a user-provided public key into signed swidtag. 2022-04-15 10:28:03 -04:00
afbbf16583 Added checks and error handling for missing required JSON fields and/or input parameters. 2022-04-14 15:40:05 -04:00
fab3401a0d Update README.md 2022-04-05 15:36:10 -04:00
e467cd8afc Update README.md 2022-04-05 15:30:14 -04:00
b746b5d2db Update README.md
Installation line corrected.
2022-04-05 10:26:05 -04:00
3353bbf40e Check Directory and File for supportRIMFormat. An empty value defaults to TCG_EventLog_Assertion. Update unit tests. 2022-03-14 14:21:18 -04:00
7ca015896e Add supportRIMFormat attribute under Payload element, with default value of TCG_EventLog_Assertion. 2022-03-08 18:57:34 -05:00
acfe67a546 Prevent jar file from being truncated by packaging. 2022-03-04 10:19:06 -05:00
f8c593c4b7 Add git timestamp and hash to the rpm name. Also centralize version number to package.sh. 2022-03-04 10:19:06 -05:00