cryptsetup: enable kernel crypto api support again#62838
cryptsetup: enable kernel crypto api support again#62838fpletz merged 2 commits intoNixOS:masterfrom
Conversation
This is needed for tcrypt and the benchmark subcommand. If enabled, it is also used to unlock LUKS2 volumes and therefore the kernel modules providing this feature need to be available in our initrd. Fixes NixOS#42163. NixOS#54019.
|
@GrahamcOfBorg test installer.luksroot-format1 installer.luksroot-format2 |
|
Tests timed out, trying again. @GrahamcOfBorg test installer.luksroot-format1 installer.luksroot-format2 |
|
Timed out again. Unfortunately they probably just take too long for ofborg. Ran both tests locally though. I'd like to wait for @cript0nauta to maybe test this on his machine. There are more For completeness, there are two more
|
Both tests were previously called "luksroot-luks2".
zarelit
left a comment
There was a problem hiding this comment.
FWIW I can confirm this fixes the sub-issue about cryptsetup benchmark. Thanks for looking into it!
|
@fpletz it works ok in my machine |
Motivation for this change
This is needed for tcrypt and the benchmark subcommand. If enabled,
it is also used to unlock LUKS2 volumes and therefore the kernel modules
providing this feature need to be available in our initrd.
Fixes #42163. #54019.
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)cc @cript0nauta @zarelit @hlandau