| Summary: | rngd does not check status when communicating with the TPM | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Steve Grubb <sgrubb> | ||||
| Component: | rng-tools | Assignee: | Neil Horman <nhorman> | ||||
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Rachel Sibley <rasibley> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 6.5 | CC: | pvrabec | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-06-11 16:58:19 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Steve Grubb
2012-02-02 14:39:12 UTC
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. Example of checking TPM error return? This already works in RHEL7 because the kernel handles abstracting the tpm rng. Basically the tpm response has an ouput header with error code information in it for the GetRandom Command, documented here: http://www.trustedcomputinggroup.org/files/static_page_files/72C33D71-1A4B-B294-D02C7DF86630BE7C/TPM%20Main-Part%203%20Commands_v1.2_rev116_01032011.pdf Since RHEL6 does the tpm rng work in rngd, we need to do the same error checking there. Created attachment 926487 [details]
patch to check tpm return code
test patch to check tpm output header for positive return code. currently untested
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=7839469 Steve, theres a test build with the patch from the previous comment included. If you could please test it out and let me know if it works, I would appreciate it Closing, its been a year without any feedback here. |