From d1ae38d85ae458ba8126465d25789e2721a75dba Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Tue, 16 Mar 2021 20:13:28 +0100 Subject: Add support for systemd-tpm2 libcryptsetup plugin. Add support for systemd-tpm2 based LUKS2 device activation via libcryptsetup plugin. This make the feature (tpm2 sealed LUKS2 keyslot passphrase) usable from both systemd utilities and cryptsetup cli. The feature is configured via -Dlibcryptsetup-plugins combo with default value set to 'auto'. It get's enabled automatically when cryptsetup 2.4.0 or later is installed in build system. --- meson_options.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 50f2b7b5e9..0b01fb2cbf 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -188,6 +188,8 @@ option('pamlibdir', type : 'string', description : 'directory for PAM modules') option('pamconfdir', type : 'string', description : 'directory for PAM configuration ["no" disables]') +option('libcryptsetup-plugins-dir', type : 'string', + description : 'directory for libcryptsetup plugins') option('docdir', type : 'string', description : 'documentation directory') option('install-sysconfdir', type : 'combo', choices : ['true', 'no-samples', 'false'], value : 'true', @@ -355,6 +357,8 @@ option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libµhttpd support') option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libcryptsetup support') +option('libcryptsetup-plugins', type : 'combo', choices : ['auto', 'true', 'false'], + description : 'libcryptsetup LUKS2 external token handlers support (plugins)') option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'], description : 'libcurl support') option('idn', type : 'boolean', -- cgit v1.2.1