Open vaminakov opened 7 months ago
Passing unquoted variable is something we want to avoid. Were the additional parameters about detached header?
It's also possible to store LUKS options in header
@Vincent43 for example, in my configuration I'm using
--header=/header-luks.img --allow-discards
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)"