Lines Matching refs:img
9 img="/var/tmp/test.img"
10 dd if=/dev/zero of=$img bs=1024k count=20 status=none
12 cryptsetup luksFormat -q --use-urandom $img /tmp/passphrase
15 env PASSWORD=passphrase systemd-cryptenroll --tpm2-device=auto $img
16 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headless=1
21 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headless=1 && { echo…
24 systemd-cryptenroll --wipe-slot=tpm2 $img
25 … PASSWORD=passphrase NEWPIN=123456 systemd-cryptenroll --tpm2-device=auto --tpm2-with-pin=true $img
26 env PIN=123456 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headl…
30 env PIN=123457 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headl…
34 env PIN=123456 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headl…
37 systemd-cryptenroll --wipe-slot=tpm2 $img
38 env PASSWORD=passphrase systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 $img
39 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headless=1
44 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headless=1 && exit 1