You are not logged in.
How can one use an encrypted root where the cipher name contains a colon? For example, I am using plain dm-crypt with --cipher cipher:cipher_hash (where cipher_hash is the cipher's hash function), but using this in the kernel command line results in a fatal error because it uses ":" as a delimiter, as well, and expects only 5 arguments:
Verify parameter format: crypto=hash:cipher:keysize:offset:skip
Non-LUKS decryption not attempted...
Kernel command line:
rw root=/dev/mapper/root cryptdevice=/dev/by-id/foo:root crypto=hash:cipher:cipher_hash:keysize:offset:skip
It seems the initramfs code just checks if there are 5 arguments, which does not allow for cipher options that have a colon in them to name the hash function.
Is this a bug? If not, how should I do this?
Offline
'mkinitcpio -H encrypt' does not say anything about a kernel command line parameter 'crypto='.
Offline
It is undocumented there, as far as I can tell. I only found it on the wiki here and in the source code.
It does work for ciphers without colons in the name.
Last edited by cdown (2014-03-10 08:50:26)
Offline
Someone recently said you could escape it with \:, but I am not sure if that's correct.
Offline