Skip to content

Commit

Permalink
fix(crypt): add missing is_keysource parameter to cryptroot-ask
Browse files Browse the repository at this point in the history
Without this change, rd.luks.key.tout is used, which is the number of
times cryptroot tries to find the key.
  • Loading branch information
Nicop06 authored and johannbg committed Apr 9, 2022
1 parent a90dbd9 commit 6c11a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/90crypt/parse-crypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ else
printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)"
printf -- '--unique --settled --onetime --name cryptroot-ask-%%k '
# shellcheck disable=SC2016
printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID} %s"\n' "$(command -v cryptroot-ask)" "$tout"
printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID} 0 %s"\n' "$(command -v cryptroot-ask)" "$tout"
} >> /etc/udev/rules.d/70-luks.rules.new
else
{
Expand Down

0 comments on commit 6c11a8f

Please sign in to comment.