New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/tests/installer: test full disk encryption with both luks formats #85154
base: master
Are you sure you want to change the base?
Conversation
I think Grub 2.06 will have support for LUKS2. |
@GrahamcOfBorg test installer (I'm not a trusted user If anyone can try this) |
@GrahamcOfBorg test installer |
Hey, how come the tests pass? I thought they should fail currently. |
Check result is deceptive, when you look at the logs there are no test runs. It actually makes sense as the installer tests are quite heavyweight and I have issues testing them all - commenting most of the tests works but maybe splitting them might be better? Also the test just hangs waiting for time-out so there's not much point in running it either. |
Maybe |
I marked this as stale due to inactivity. → More info |
Still a thing. |
I marked this as stale due to inactivity. → More info |
Still a thing. |
Is this ready yet? It is still marked as WIP. |
It is fine but I still want to try splitting the installer tests into more manageable chunks instead of current all-in-one file. |
I marked this as stale due to inactivity. → More info |
I've adapted this to use FDE test by @rnhmjoj but the It seems to consistently hang early in boot (Linux 6.1)
so no dice again. Keeping as draft.. |
Could it be waiting for entropy?
…On Wed, 18 Oct 2023, 17:43 Richard Marko, ***@***.***> wrote:
I've adapted this to use FDE test by @rnhmjoj <https://github.com/rnhmjoj>
but the LUKS2 variant with --type=LUKS2 --pbkdf pbkdf2 takes 10 times
longer to fully execute (around 45 minutes, compared to 5 minutes of
original test using LUKS1).
It seems to consistently hang early in boot (Linux 6.1)
boot-after-install # [ 1.309611] cdrom: Uniform CD-ROM driver Revision: 3.20
boot-after-install # [ 737.820858] Key type encrypted registered
so no dice again. Keeping as draft..
—
Reply to this email directly, view it on GitHub
<#85154 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACJ2XNAK3APTLHUKJT6KLDX77TIBAVCNFSM4MG7DGKKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWHA3DCOBZGA4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm not sure. The VM has a I've tried running this interactively, connecting to VNC and mashing keys but it doesn't seem to help. If anyone wants to try, you can compare these two
|
Motivation for this change
Full disc encryption tests utilizing GRUB LUKS support - v2 and default is supposed to fail for now due to missing (partial) v2 header support.
See also #65375
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)