cryptsetup: hook up TPM2 token code with policies based on PCR signatures, too

This commit is contained in:
Lennart Poettering
2022-09-08 16:34:27 +02:00
parent 4d5cc0d453
commit 75a9681ec0
5 changed files with 118 additions and 182 deletions
+2 -1
View File
@@ -1396,7 +1396,8 @@ static int attach_luks2_by_tpm2_via_plugin(
#if HAVE_LIBCRYPTSETUP_PLUGINS
systemd_tpm2_plugin_params params = {
.search_pcr_mask = arg_tpm2_pcr_mask,
.device = arg_tpm2_device
.device = arg_tpm2_device,
.signature_path = arg_tpm2_signature,
};
if (!libcryptsetup_plugins_support())