Dotfiles/setup
Amir Alexander Abdelbaki 5d56984e38 feat(ansipa): store LUKS backup keys on SMB share with KeyAdmin access control
ansipa-smb-setup.sh:
- Adds KeyAdmin Linux group and luks-upload service account (member of
  KeyAdmin) on the IPA container, both persisted across restarts.
- LUKS base dir /data/luks-keys owned root:KeyAdmin, mode 2750 (setgid
  so new files inherit the group).
- New [ansipa-luks-keys] SMB share: valid users = @KeyAdmin, read only,
  write list = luks-upload. Human admins gain read access by being added
  to KeyAdmin: useradd -r -G KeyAdmin <user> && smbpasswd -a <user>.
- LUKS_KEY_UPLOAD_PASSWORD sourced from env / /data/samba/ansipa-smb.env
  alongside the existing SMB_SCAN_PASSWORD.

collect-luks-keys.yml:
- After fetching /_LUKS_BACKUP_KEY from each client, uploads it to the
  ansipa-luks-keys share via smbclient using a temp credentials file
  (no_log, deleted in post_tasks).
- Local staging copy is removed after a successful upload.
- SMB credentials file uses an epoch-stamped path to avoid collisions.

.env.example: documents LUKS_KEY_UPLOAD_PASSWORD.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 15:33:17 +02:00
..
Setup-shell-4-containers setup: housekeeping — rename, deprecate, fix refs 2026-05-11 15:02:25 +02:00
archiso feat(archiso): add system reset mode to installer 2026-05-20 15:09:00 +02:00
deprecated privacy: remove hardcoded username and AWS signed URL 2026-05-12 14:17:48 +02:00
modules feat(ansipa): store LUKS backup keys on SMB share with KeyAdmin access control 2026-05-20 15:33:17 +02:00
arch-autoinstall.sh fix(setup): port KEYMAPS+vconsole support to auto-installer and answerfile generator 2026-05-20 00:01:19 +02:00
archbaseos-guided-install.sh fix(archiso): move user input before partitioning, fall back to bash on exit 2026-05-20 07:20:14 +02:00
audit-packages.sh setup: fix pamtester/pinta/kew package source categorization 2026-05-11 19:45:33 +02:00
generate-answerfile.sh fix(setup): port KEYMAPS+vconsole support to auto-installer and answerfile generator 2026-05-20 00:01:19 +02:00
install-modules.sh feat(setup): add anti-malware module with freshclam cron job 2026-05-19 19:58:35 +02:00
install.sh setup: add croc to optional apps; fix shell match in tui summary 2026-05-18 03:03:01 +02:00
reset-arch.sh feat(archiso): add system reset mode to installer 2026-05-20 15:09:00 +02:00
tui-install.sh feat(modules): add lamco-rdp-server module 2026-05-20 15:15:59 +02:00