]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup: test unlocking using a TPM2 LUKS2 token plugin with a PIN 23511/head
authorJonas Witschel <diabonas@archlinux.org>
Wed, 25 May 2022 12:06:44 +0000 (14:06 +0200)
committerJonas Witschel <diabonas@archlinux.org>
Fri, 5 Aug 2022 10:22:27 +0000 (12:22 +0200)
commit559a1d35d510e3ae637953b1ae9bfab4a124c2f8
treed11888ccad5bc9ff711bc48462ccad725d8f6549
parentee6c66acc5a61cb56f9b1d6e3132728c4d1ce66d
cryptsetup: test unlocking using a TPM2 LUKS2 token plugin with a PIN

Test the functionality implemented in the previous commit ("cryptsetup: ask for
PIN when trying to activate using a LUKS2 token plugin"): when "tpm2-device" is
not specified, systemd-cryptsetup calls crypt_activate_by_token_pin() to try to
unlock using a LUKS2 token plugin, test whether this is able to obtain the
provided PIN.
test/units/testsuite-70.sh