> I would like a way to tell cryptsetup to fail completely (don't change > anything and return non-zero) if the passphrase is wrong. Is that > possible? Sure, start using LUKS :) Otherwise, AFAIK without LUKS there is no way for cryptsetup to tell. (The normal workaround for this being to then inspect /dev/mapper/$x for a known filesystem afterwards.) -- Roscoe --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx