]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup: don't bother waiting for TPM2 devices if we are on EFI and EFI says there... 19774/head
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Jun 2021 14:35:13 +0000 (16:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Jun 2021 14:36:18 +0000 (16:36 +0200)
commit71b25deae3fee6e16941ddc4055b443d449f62a8
tree7eb5f7420c2d38d7a38ff86704fc70b00fe69444
parentcad105442d15344e39466c02d8ffe7daaff92901
cryptsetup: don't bother waiting for TPM2 devices if we are on EFI and EFI says there is no TPM2 device

Note that this means EFI-systems with a manually added TPM device won't
be supported automatically, but given that the TPM2 trust model kinda
requires firmware support I doubt it matters supporting this. And in all
other cases it speeds things up a bit.
src/cryptsetup/cryptsetup.c