LUKS keeps asking for password after binding with TPM2

"W. Miah" <[email protected]> Mon, 9 Aug 2021 20:02:55 +0100
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <CAK7hdOAnGqrS9fVmjCFffZ5v-k945cvdX0Kr_OWxmVDEbEBkeQ@mail.gmail.com>
--===============0014638862609161527==
Content-Type: multipart/alternative; boundary="00000000000012047e05c92509f1"

--00000000000012047e05c92509f1
Content-Type: text/plain; charset="UTF-8"

Hi,

I'm new to LUKS and I have typed the following command (as root) to create
a key with TPM2:

# clevis luks bind -d /dev/fedora_localhost-live/home tpm2 '{"pcr_ids":"7"}'

However, it keeps asking me for my password when I log into Fedora 34. Any
help will be greatly appreciated.

Regards,

-- 
gpg: 427E 775E F0B8 87C9

--00000000000012047e05c92509f1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I&#39;m new to LUKS and =
I have typed the following command (as root) to create a key with TPM2:<br>=
</div><div><br></div><div># clevis luks bind -d /dev/fedora_localhost-live/=
home tpm2 &#39;{&quot;pcr_ids&quot;:&quot;7&quot;}&#39;</div><div><br></div=
><div>However, it keeps asking me for my password when I log into Fedora 34=
. Any help will be greatly appreciated.</div><div><br></div><div>Regards,<f=
ont color=3D"#888888"><br></font></div><br>-- <br><div dir=3D"ltr" class=3D=
"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div>=
<div dir=3D"ltr"><div>gpg: 427E 775E F0B8 87C9<br><br></div></div></div></d=
iv></div></div>

--00000000000012047e05c92509f1--

--===============0014638862609161527==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
dm-crypt mailing list -- [email protected]
To unsubscribe send an email to [email protected]

--===============0014638862609161527==--