Using TPM to unencrypt luks disk with TOTP PIN

Laurent MesurĂ© <[email protected]> Wed, 7 Aug 2024 20:29:05 +0200
Newsgroups dev.linux.lists.tpm2
Message-ID <[email protected]>
Hi,

I'm quite new to usage of TPM with Debian Linux.

I'm using TPM2 to store the passphrase to unlock my luks drive.
I've tested basic use of tpm2-totp.

TPM used to unlock luks drive may use a PIN.

I would have like the PIN to be the TOTP feature.

Is that possible? maybe with some hook?

kind regards

L.M.