Package: cryptsetup Version: 2:2.8.6-2 Severity: normal Dear Maintainer,
I wanted to see if I get infinite attempts when using -T 0 (--tries=0), and came across this assertion failure. Please forward it upstream. Thank you. Create some file for the LUKS container (the size is irrelevant): $ fallocate -l 100M mycontainer Create the actual container (with empty password; the password doesn't matter): $ printf '\n' | cryptsetup luksFormat mycontainer Observe assertion failure when using -T 0 argument when trying to open the container: $ cryptsetup open --test-passphrase -T 0 mycontainer cryptsetup: src/utils_luks.c:321: luks_try_token_unlock: Assertion `tries >= 1' failed. Aborted cryptsetup open --test-passphrase -T 0 mycontainer

