Commit Graph

1030 Commits

Author SHA1 Message Date
Cyrus
d41cb46468
[#260] RIM validation report page links (#264)
* Made some minor tweaks to investigate supply chain validation report bug.  The bug doesn't save the summary report for some unknown reason (no error currently appears).  This change uses the device object to retrieve a RIM.  Still need Attestation Certificate to pull PCRs from quote.  A follow up issue will be created to move that functionality to a different object from the provisioner.
2020-06-23 13:24:34 -04:00
Cyrus
6a62002b05
[#265] IMA/TBoot PCR ignore policy (#271)
* Updated code to include an official policy to ignore IMA and TBoot.  The policies will disable if firmware validation is disabled.
2020-06-23 12:48:06 -04:00
iadgovuser26
1448b35e5e
Merge pull request #269 from nsacyber/issue-268
[#268] Tcg_rim_tool symlink
2020-06-19 11:31:48 -04:00
Cyrus
db31614694
Added case statement for 2.23.133.2.25 just like for 2.23.133.2.17 so that the error isn't thrown. (#272) 2020-06-19 11:11:58 -04:00
iadgovuser26
c319821e41
Added tool links 2020-06-19 10:16:21 -04:00
chubtub
c9c40e9bac Install link to /usr/local/bin 2020-06-19 09:15:02 -04:00
chubtub
4404d25f20 Revert "Revert changes to HashSwid class"
This reverts commit d850d69b1e8b14367b25c075dd8f61b30e558c02.
2020-06-19 07:29:20 -04:00
chubtub
3babe6cc2f Revert changes to HashSwid class 2020-06-19 07:29:20 -04:00
chubtub
a4e3fb38de Fixed unit test 2020-06-19 07:29:20 -04:00
chubtub
9b4eb49601 Add symlink to /usr/local/bin/rim during rpm install 2020-06-19 07:29:20 -04:00
iadgovuser26
fab55e4439
Added README.md with build instructions 2020-06-18 13:10:29 -04:00
iadgovuser26
b8af8fb23a
Merge pull request #270 from nsacyber/issue-261
Change package name to tcg_eventlog_tool
2020-06-18 10:56:53 -04:00
iadgovuser26
6f965c508f set package name to tcg_eventlog_tool 2020-06-18 09:51:03 -04:00
Cyrus
16f38751ca
[#265] Skip ima pcr (#267)
* Added temp code edit to ignore IMA pcr during firmware validation

* Removed redundant check
2020-06-17 13:33:02 -04:00
iadgovuser26
908c49e54f
Merge pull request #262 from nsacyber/issue-257
[#257] Changes for 2.0 beta
2020-06-16 09:08:54 -04:00
chubtub
3747c1911e Update packaging script to install to /opt/hirs/rimtool 2020-06-16 08:11:12 -04:00
chubtub
64ddc39c2c Add validation of support RIM in payload 2020-06-15 17:50:18 -04:00
chubtub
c69affd4f6 Added a check against embedding a self-signed cert. Requires a support rim whose name, size, and hash are added to the payload. 2020-06-15 17:50:18 -04:00
iadgovuser26
fb9cca295a
Update README.md 2020-06-15 14:07:16 -04:00
iadgovuser26
9bf1a60955
Added READ.md to the tcg_eventlog_tool 2020-06-15 14:03:35 -04:00
iadgovuser26
88b6e4d7ce
Adds RIM support for Release 2.0 2020-06-15 13:02:03 -04:00
Cyrus
49e4ce4db4
Validation bug (#263)
* Updated code to correctly match up the PCR to the baseline PCR.  Also updated values of error messages and reduced firmware error message.
2020-06-15 11:55:05 -04:00
iadgovuser26
5c616882ff Cleanup test output on -x, set param default using local event log, added param checks 2020-06-12 10:28:23 -04:00
iadgovuser26
7ab7408b59
Merge pull request #256 from nsacyber/issue-251
[#251] tcg_eventog_tool packaging
2020-06-10 19:00:36 -04:00
iadgovuser26
2bb9f4bf24 Merge branch 'master' into issue-251 2020-06-10 18:21:51 -04:00
iadgovuser26
7597fc8717
Merge pull request #253 from nsacyber/issue-252
[#252] eventcheck script
2020-06-10 18:17:35 -04:00
iadgovuser26
b9d4b9cd2b updated tcg_eventlog_tool 2020-06-10 17:57:35 -04:00
iadgovuser26
47fd1085cb Changed description when no event data is provided for EV_EFI_BOOT_SERVICES_APPLICATION 2020-06-10 17:54:15 -04:00
iadgovuser26
7f5d97e9fa Fixed merge conflicts 2020-06-10 17:33:57 -04:00
iadgovuser26
5809cfa6be
Merge pull request #250 from nsacyber/issue-249
[#249 ] TCG Event Logs - tcg_eventlog_tool
2020-06-10 17:15:25 -04:00
iadgovuser26
586c29c0f3 Fixed merge conflicts 2020-06-10 16:51:47 -04:00
iadgovuser26
f2fd7f31bd conflict resoltion step 1 2020-06-10 14:04:23 -04:00
iadgovuser26
75734015a7 rephrased EV_EFI_BOOT_SERVICES_APPLICATION message when no device path is present 2020-06-10 11:35:00 -04:00
Cyrus
da5bc217ef
[#236] Firmware validation update part 2 (#259)
* Modified the hirs.data.persist package to have better fidelity into the objects necessary to create and maintain a baseline.  the info objects will be next.
2020-06-10 11:17:45 -04:00
chubtub
40da3cea59
Merge branch 'master' into issue-252 2020-06-09 07:06:45 -04:00
iadgovuser26
dd068131fa added a eventcheck script to check and event log against a signed RIM 2020-06-09 06:59:04 -04:00
iadgovuser26
8735aa44e5 added tcg_eventlog_tool 2020-06-09 06:59:03 -04:00
iadgovuser26
e6f63f935e Added support for obtaining event and content data. Removed TCGLogProcessor. 2020-06-09 06:59:03 -04:00
iadgovuser26
e7a59f470a added command line log parser 2020-06-09 06:59:02 -04:00
chubtub
0a658fb3d8
Merge pull request #239 from nsacyber/issue-237
[#237] Migrate cli to JCommander
2020-06-08 07:22:52 -04:00
chubtub
8eda518b0a Add exit code 1 for failed validation 2020-06-08 06:50:46 -04:00
chubtub
6ae5a18f99 Implement --create, --attributes, --out, and --help in JCommander
Add KeyName (subjectKeyIdentifier) and KeyValue (public key) to KeyInfo element

Implement --privateKeyFile and --publicCertificate in JCommander

Implement -v in JCommander. Clean up unit tests.

Implement support for PKCS1 in CredentialParser class.

Truncate # symbol after parsing subject key identifier

Close input streams in CredentialParser class

Closes #237
2020-06-08 06:50:46 -04:00
iadgovuser26
eab79a86be Merge branch 'master' into issue-251 2020-06-05 12:45:47 -04:00
Cyrus
70504e7423
Modified how TPM2 Provisioner pulls down sub module cpr (#255) 2020-06-05 11:54:41 -04:00
iadgovuser26
330af62e98 modified build.gradle to build RPMs. 2020-05-29 17:20:06 -04:00
iadgovuser26
ff955bd499 added a eventcheck script to check and event log against a signed RIM 2020-05-27 17:31:15 -04:00
iadgovuser26
1cf1d4ec92 Merge branch 'issue-237' into issue-252 2020-05-15 12:20:29 -04:00
iadgovuser26
56552898da Merge branch 'issue-249' into issue-252 2020-05-15 12:19:58 -04:00
iadgovuser26
2ccd3a180e
Merge pull request #248 from nsacyber/issue-245
[#245] TCG Event Log - Event Processing
2020-05-15 11:39:12 -04:00
iadgovuser26
4e6e94aea3 fixed merge issue 2020-05-15 11:00:49 -04:00