HackerTrans
TopNewTrendsCommentsPastAskShowJobs

staff3203

no profile record

comments

staff3203
·작년·discuss
What to do for a single root fs spanned over 2 encrypted partitions on 2 separate disks?
staff3203
·작년·discuss
On my system, I used `tpm2-measure-pcr=yes` in `/etc/crypttab.initramfs`, then used `--tpm2-pcrs=0+2+7+15:sha256=0000000000000000000000000000000000000000000000000000000000000000` with `systemd-cryptenroll`.

As soon as a volume is decrypted, initrd will write `volume-key` to PCR 15, so any further executables can no longer access the data stored in the TPM.