diff --git a/test/units/testsuite-70.cryptsetup.sh b/test/units/testsuite-70.cryptsetup.sh index a1c6035e45..0a52fbbe6e 100755 --- a/test/units/testsuite-70.cryptsetup.sh +++ b/test/units/testsuite-70.cryptsetup.sh @@ -189,4 +189,26 @@ PASSWORD=passphrase systemd-cryptenroll --tpm2-device=auto --tpm2-seal-key-handl systemd-cryptsetup attach test-volume "$IMAGE" - tpm2-device=auto,headless=1 systemd-cryptsetup detach test-volume +# Make sure that --tpm2-device-key= also works with systemd-repart +tpm2_readpublic -c 0x81000001 -o /tmp/srk.pub +mkdir /tmp/dditest +cat > /tmp/dditest/50-root.conf <