Dotfiles/setup
Amir Alexander Abdelbaki e7f251dde3 feat(installer): allow user/LUKS passwords to be set via the answerfile
Previously the user password (and the LUKS passphrase for encrypted installs)
were always prompted interactively, so an answerfile install could never be
fully hands-free. Add optional "password" and "luks_password" answerfile fields:

- arch-autoinstall.sh: read both via af_get; when present use them (chpasswd /
  cryptsetup --key-file=- with --batch-mode and stdin-piped luksAddKey auth),
  otherwise fall back to the interactive prompt. Empty/null/absent => prompt.
- generate-answerfile.sh: replace the "passwords are never stored" notice with
  an optional confirmed-entry password prompt (and a LUKS one when encryption is
  enabled); emit both as JSON (null when declined).

Secrets stored this way are plain text in the file (and world-readable once
embedded in an ISO) — documented in the header; decline to keep prompting.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5kHioUMK3mtf2eiLEozCM
2026-06-27 01:43:17 +02:00
..
Setup-shell-4-containers setup: housekeeping — rename, deprecate, fix refs 2026-05-11 15:02:25 +02:00
archiso fix(archiso): use oflag=direct so USB write progress isn't misleading 2026-06-26 19:22:23 +02:00
deprecated privacy: remove hardcoded username and AWS signed URL 2026-05-12 14:17:48 +02:00
modules fix(installer): make the unattended module path non-interactive 2026-06-27 01:15:43 +02:00
tools refactor(tui-install): replace dialog with plain-bash CLI prompts 2026-06-26 16:44:48 +02:00
arch-autoinstall.sh feat(installer): allow user/LUKS passwords to be set via the answerfile 2026-06-27 01:43:17 +02:00
archbaseos-guided-install.sh fix(installer): stop sudo re-prompting during in-chroot module install 2026-06-26 19:39:32 +02:00
audit-packages.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
generate-answerfile.sh feat(installer): allow user/LUKS passwords to be set via the answerfile 2026-06-27 01:43:17 +02:00
install-modules.sh feat(plymouth): add custom-logo variant, sync answerfile + docs 2026-06-26 10:57:32 +02:00
install.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
modules.conf feat(modules): enable timeshift, ffmpeg, imagemagick, sox, yt-dlp, inkscape by default 2026-06-26 19:32:13 +02:00
reset-arch.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
simple-install.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
tui-install.sh fix(installer): make the unattended module path non-interactive 2026-06-27 01:15:43 +02:00