cryptsetup: check keyring cache passphrase at least once
authorLuca Boccassi <bluca@debian.org>
Tue, 4 Jun 2024 22:06:27 +0000 (23:06 +0100)
committerLuca Boccassi <bluca@debian.org>
Tue, 4 Jun 2024 22:18:13 +0000 (23:18 +0100)
commitd494d6688d69ae3adf2397450eb5ffc20c7fe235
treedf4117fe722c2dd31accf70bdf07318ff1b2790b
parent64f2e1ff05d210d7c0e62d8625e326d8d85911f0
cryptsetup: check keyring cache passphrase at least once

The first try will be on the TPM2, so in practice this was always skipped
as it happens only on the first try. Use a different bool to track this.
src/cryptsetup/cryptsetup.c