Re: Result of supplying an incorrect passphrase?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux