[dm-crypt] maximum keyfile size

.. ink .. mhogomchungu at gmail.com
Thu Jun 28 09:01:59 CEST 2012


> AFAIK this is a limit which is set at compile time, see "configure
> --help". I assume it's not hardcoded.
>

cryptsetup 1.4.3 and 1.5.o-rc1 seem to have a typo in ./configure
--help in the key size options

both read:

  --with-keyfile-size-maxkb
                          default maximum keyfile size (in kilobytes) [8192]
  --with-passphrase-size-max
                          default maximum keyfile size (in kilobytes) [512]


the explanation for passphrase size is talking about keyfile, not
passphrase. It also seem to suggest the max passphrase length is
512000 bytes( characters) while cryptsetup --help says its 512
characters.


More information about the dm-crypt mailing list