From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9A2D19BD6; Sun, 19 Nov 2023 22:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o2KftVpn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA3FDC433C7; Sun, 19 Nov 2023 22:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700431526; bh=Pzxiqai57lAvPPoMaJtYmMJ7Rcd1ryAvaKYqCq2JTTY=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=o2KftVpnwzLvNG8nWIH9Jpdn2uzr1B6ded8pnTmALq0UhE87t0XtfBo7PaXyhhfxI jd/rgF0mWcNpRFHIu51Cqt+FfvD/LMQvrDrSeq//8gO/OBdsZMLXiX0RjeCp8zxtUZ NkWdfctXQVcV+vqd5kUf4vJIBpVlxVd/97ASS9UpfASbDhy5wVpln0ZVXmcmLTpSrG lAuGDGguOztuD1iLozEzRgqxlU48VHEWQX8ecCcPzEcZ13dcZiODt8c2QmZs/njwgu Taq++7bftY6jzFDUDfpPszLiSXuc0X701gd57JUUFrt19FniOGlCIKXclwwToHZpYI gzxFUJaycg8iQ== Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 20 Nov 2023 00:05:22 +0200 Message-Id: Cc: , "James Bottomley" , "William Roberts" , "David Howells" , "Jason Gunthorpe" , "Mimi Zohar" Subject: Re: [PATCH v3 0/6] Extend struct tpm_buf to support sized buffers (TPM2B) From: "Jarkko Sakkinen" To: "Stefan Berger" , X-Mailer: aerc 0.15.2 References: <20231024011531.442587-1-jarkko@kernel.org> In-Reply-To: On Wed Nov 15, 2023 at 11:56 PM EET, Stefan Berger wrote: > > > On 10/23/23 21:15, Jarkko Sakkinen wrote: > > > For TPM1 I tried: > >=20 > > keyctl add trusted kmk "new 32" @u > >=20 > > This caused TPM error 18, which AFAIK means that there is not SRK (?), > > which is probably an issue in my swtpm configuration, which is visible > > in board/qemu/start-qemu.sh.in. > > FYI: This would create a TPM 1.2 with an SRK with password 'sss': > > swtpm_setup --tpmstate=3D./ --create-ek-cert --take-ownership --overwrite= =20 > --srkpass sss --ownerpass ooo Thanks! I'll update my scripts in my BuildRoot repository. BR, Jarkko