yubikey-full-disk-encryption
yubikey-full-disk-encryption copied to clipboard
Possibility to pass many parameters to cryptsetup
Now line 147 of hook have quotes to each parameter:
_tmp="$(printf %s "$_ykfde_passphrase" | cryptsetup luksOpen "$YKFDE_LUKS_DEV" "$YKFDE_LUKS_NAME" "$YKFDE_LUKS_OPTIONS" 2>&1)"
So it can handle only one of them. If you have rare setup which need to pass more than one parameter, you'll not able to boot.
To fix this need just remove quotes:
_tmp="$(printf %s "$_ykfde_passphrase" | cryptsetup luksOpen "$YKFDE_LUKS_DEV" "$YKFDE_LUKS_NAME" $YKFDE_LUKS_OPTIONS 2>&1)"