RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2047342 - provide tpm2_encodeobject
Summary: provide tpm2_encodeobject
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: tpm2-tools
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Štěpán Horáček
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-27 16:34 UTC by Alexander Sosedkin
Modified: 2023-11-07 11:35 UTC (History)
3 users (show)

Fixed In Version: tpm2-tools-5.2-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:55:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-110064 0 None None None 2022-01-27 16:37:41 UTC
Red Hat Product Errata RHBA-2023:6658 0 None None None 2023-11-07 08:55:12 UTC

Description Alexander Sosedkin 2022-01-27 16:34:58 UTC
I'd like to express demand for having tpm2_encodeobject available in RHEL-9
for the purpose of testing TPM2 support in gnutls.
I do understand that so far no tpm2-tools releases include it,
and I don't really expect this request to be fulfilled in the near future,
but let's have it voiced and tracked so that I at least know when it becomes available.

https://github.com/tpm2-software/tpm2-tools/commit/cd38f7cdb1f39084a99b5b3e1b340a3910225c27

Comment 3 Vilém Maršík 2023-06-07 04:36:45 UTC
Following commands seem working on RHEL-9.3.0-updates-20230606.41 with tpm2-tools-5.2-3.el9.x86_64:
# tpm2_createprimary -c primary.ctx
# tpm2_create -C primary.ctx -u key.pub -r key.priv -f pem -o pub.pem
# tpm2_encodeobject -C primary.ctx -u key.pub -r key.priv -o priv.pem
# tpm2_encodeobject -C primary.ctx -u key.pub -r key.pub -o pub.pem

Comment 7 errata-xmlrpc 2023-11-07 08:55:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (tpm2-tools bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6658


Note You need to log in before you can comment on or make changes to this bug.