diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-25 07:36:24 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-25 07:36:24 -0600 |
| commit | d3d0e8ef4035b7a397ed623a97604679bfd00c47 (patch) | |
| tree | 6ade79e63eed11cb69b46857ca80e5de659b946d /scripts | |
| parent | 0bfb7ab03a037d688ee5d9161952544b93eaffbf (diff) | |
| download | archangel-d3d0e8ef4035b7a397ed623a97604679bfd00c47.tar.gz archangel-d3d0e8ef4035b7a397ed623a97604679bfd00c47.zip | |
Add LUKS testing infrastructure and documentation
- Add setup_luks_testing_keyfile() for automated LUKS testing
- Modify configure_crypttab() and configure_luks_initramfs() for keyfile support
- Fix configure_btrfs_initramfs() to preserve encrypt hook when LUKS enabled
- Add TESTING=yes to LUKS test configs
- Create docs/TESTING-STRATEGY.org documenting testing approach
LUKS automated reboot testing remains a work-in-progress due to
complexity of sending passphrase to initramfs encrypt hook.
Non-LUKS tests all pass: btrfs-single, btrfs-mirror, btrfs-stripe.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/test-configs/btrfs-luks.conf | 3 | ||||
| -rw-r--r-- | scripts/test-configs/btrfs-mirror-luks.conf | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/test-configs/btrfs-luks.conf b/scripts/test-configs/btrfs-luks.conf index 5eee46d..7980840 100644 --- a/scripts/test-configs/btrfs-luks.conf +++ b/scripts/test-configs/btrfs-luks.conf @@ -1,5 +1,8 @@ # Test config: Btrfs single disk with LUKS encryption +# Enable testing mode for automated LUKS passphrase handling +TESTING=yes + HOSTNAME=test-btrfs-luks TIMEZONE=UTC LOCALE=en_US.UTF-8 diff --git a/scripts/test-configs/btrfs-mirror-luks.conf b/scripts/test-configs/btrfs-mirror-luks.conf index 823dfbb..2cf0737 100644 --- a/scripts/test-configs/btrfs-mirror-luks.conf +++ b/scripts/test-configs/btrfs-mirror-luks.conf @@ -1,5 +1,8 @@ # Test config: Btrfs 2-disk mirror (RAID1) with LUKS encryption +# Enable testing mode for automated LUKS passphrase handling +TESTING=yes + HOSTNAME=test-btrfs-mirror-luks TIMEZONE=UTC LOCALE=en_US.UTF-8 |
