From c55ce46084635c188abb4516ba6ee6eee38dd11d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 24 Jan 2026 05:33:13 -0600 Subject: Phase 2.8: Add LUKS encryption for btrfs - Add LUKS functions to btrfs.sh (create/open/close container) - Add crypttab configuration for boot - Add encrypt hook to mkinitcpio HOOKS - Add cryptdevice parameter to GRUB cmdline - Add get_btrfs_encryption_choice and get_luks_passphrase prompts - Add LUKS_PASSPHRASE to config variables - Update show_summary and print_btrfs_summary for encryption status - Add btrfs-luks.conf test config VM test pending. --- scripts/test-configs/btrfs-luks.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/test-configs/btrfs-luks.conf (limited to 'scripts/test-configs') diff --git a/scripts/test-configs/btrfs-luks.conf b/scripts/test-configs/btrfs-luks.conf new file mode 100644 index 0000000..5eee46d --- /dev/null +++ b/scripts/test-configs/btrfs-luks.conf @@ -0,0 +1,15 @@ +# Test config: Btrfs single disk with LUKS encryption + +HOSTNAME=test-btrfs-luks +TIMEZONE=UTC +LOCALE=en_US.UTF-8 +KEYMAP=us + +FILESYSTEM=btrfs +DISKS=/dev/vda + +LUKS_PASSPHRASE=testpassphrase + +ROOT_PASSWORD=testpass + +ENABLE_SSH=yes -- cgit v1.2.3