Skip to content

Commit

Permalink
luksRoot: add the missing ECB dependency to fix XTS support, resolves #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Phreedom committed Dec 22, 2017
1 parent d402bd6 commit ab623d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/modules/system/boot/luksroot.nix
Expand Up @@ -227,6 +227,11 @@ in
default =
[ "aes" "aes_generic" "blowfish" "twofish"
"serpent" "cbc" "xts" "lrw" "sha1" "sha256" "sha512"

# workaround until https://marc.info/?l=linux-crypto-vger&m=148783562211457&w=4 is merged
# remove once 'modprobe --show-depends xts' shows ecb as a dependency
"ecb"

(if pkgs.stdenv.system == "x86_64-linux" then "aes_x86_64" else "aes_i586")
];
description = ''
Expand Down

0 comments on commit ab623d8

Please sign in to comment.