1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-24 08:23:33 +03:00
mobile-nixos/examples/testing/qemu-cryptsetup
Samuel Dionne-Riel a8f14efead qemu-cryptsetup: Use uefi-x86_64 system
It is incomplete because it does not use the (not implemented) VM
attribute.
2020-12-29 19:22:43 -05:00
..
configuration.nix qemu-cryptsetup: Use uefi-x86_64 system 2020-12-29 19:22:43 -05:00
default.nix qemu-cryptsetup: Use uefi-x86_64 system 2020-12-29 19:22:43 -05:00
README.md testing/qemu-cryptesetup: Add a test system for LUKS 2020-11-07 19:22:33 -05:00

qemu-cryptsetup

What does this test?

Using the hello system, pre-configured to use the qemu system type.

This tests:

  • Encryption passphrase at boot

This test is manual.

The passphrase in use is:

1234

Why is this scary?

  • Secrets in the store!
  • Well-known insecure passphrase

How is success defined?

The hello system applet is booted-to after the user supplies the encryption passphrase during boot.

How is success defined?

Assuming you are cd'd into the root of a Mobile NixOS checkout:

nix-build ./examples/testing/qemu-cryptsetup && ./result

As always, be mindful of your NIX_PATH.