[tpm2] Re: tpm2_createprimary to a transient handle...

Sievert, James <james.sievert at bsci.com>
Newsgroups dev.linux.lists.tpm2
Message-ID < <DS7PR03MB5576EFA6C19BB6A0CA8E247D9A059@DS7PR03MB5576.namprd03.prod.outlook.com>>
More specifically, I'm looking at how to implement Section 2.1.2.2 of TCG Credential Profile EK 2.0 (trustedcomputinggroup.org)<https://trustedcomputinggroup.org/wp-content/uploads/TCG_IWG_EKCredentialProfile_v2p4_r3.pdf>.  I need to sign the CSR with the EK using openssl cms and the tpm2tss engine.  With that, I need the transient handle of the EK that corresponds to the public key held in the cert. located in TPM NV slot 0x01c0000a.

From: Sievert, James <james.sievert(a)bsci.com>
Sent: Thursday, March 3, 2022 11:18 PM
To: tpm2(a)lists.01.org
Subject: {External} [tpm2] tpm2_createprimary to a transient handle...

Hi,

Is there a way to get the result of tpm2_createprimary loaded into a transient handle?

Thanks.
attachment.htm (text/html, 2.7 KB)
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">More specifically, I&#8217;m looking at how to implement Section 2.1.2.2 of
<a href="https://trustedcomputinggroup.org/wp-content/uploads/TCG_IWG_EKCredentialProfile_v2p4_r3.pdf">
TCG Credential Profile EK 2.0 (trustedcomputinggroup.org)</a>.&nbsp; I need to sign the CSR with the EK using openssl cms and the tpm2tss engine.&nbsp; With that, I need the transient handle of the EK that corresponds to the public key held in the cert. located in TPM
 NV slot 0x01c0000a.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Sievert, James &lt;[email protected]&gt; <br>
<b>Sent:</b> Thursday, March 3, 2022 11:18 PM<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> {External} [tpm2] tpm2_createprimary to a transient handle...<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Is there a way to get the result of tpm2_createprimary loaded into a transient handle?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
</div>
</body>
</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.