diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-24 05:33:13 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-24 05:33:13 -0600 |
| commit | 94af83c1c8446ef1a564cff8aec5487afa47693e (patch) | |
| tree | 40ea6ea8de7f796d63805774f678623bc915f028 /scripts | |
| parent | 2689dd341d9fcffe4d791d067244d3b018fb6248 (diff) | |
| download | archangel-94af83c1c8446ef1a564cff8aec5487afa47693e.tar.gz archangel-94af83c1c8446ef1a564cff8aec5487afa47693e.zip | |
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.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/test-configs/btrfs-luks.conf | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
