Score:0

Unlock root disk with TPM2 on Impish Indri

cn flag

Background:
Using the information in the manpages:
http://manpages.ubuntu.com/manpages/impish/man1/systemd-cryptenroll.1.html

I have successfully added a TPM2.0 key to the LUKS disk with the command: systemd-cryptenroll --tpm2-device=auto /dev/sda3

However I cannot figure out how to configure the /etc/crypttab to enable automatic unlocking at boot.
I have tried to look into the information in the man pages: http://manpages.ubuntu.com/manpages/impish/man5/crypttab.5.html

Question:
How do I configure the /etc/crypttab and regenerate the initramfs to support TPM2 unlock at boot for the root disk with password fallback?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.