disko icon indicating copy to clipboard operation
disko copied to clipboard

Use a dummy LUKS key file in installTest

Open Kranzes opened this issue 2 years ago • 2 comments

If in your disko configuraiton you don't use the keyFile option for LUKS and you prefer entering the passphrase interactively, installTest would hang as it will wait for user interaction. I think that for the installTest we should make it set a dummy password if not keyFile is provided, that way the test actually runs.

Kranzes avatar Jul 27 '23 08:07 Kranzes

https://github.com/nix-community/disko/pull/314

Lassulus avatar Aug 07 '23 17:08 Lassulus

I haven't test this yet but I was thinking that maybe a default behavior would be nice to have when LUKS is detected. If a device that uses LUKS is detected it will automatically set settings.keyFile for it in the test's config.

Kranzes avatar Aug 07 '23 22:08 Kranzes