archinstall/archinstall
Clinton Phillips 7b8fec1af4
fix(luks): surface cryptsetup error output when unlock fails (#4570)
Luks2.unlock() ran 'cryptsetup open' with no error handling, so a failure raised a bare CalledProcessError. Python renders that exception with only the exit status and discards the captured output, so cryptsetup's stderr (merged into stdout by run()) never reached the install log.

encrypt() already wraps its cryptsetup call and raises a DiskError that includes the captured output. Mirror that for unlock() so a failure reports the actual cryptsetup message instead of an opaque traceback.

Reported in #4327, where the underlying 'device-mapper: crypt: unknown table type' error was hidden from the log for this reason.
2026-06-06 18:38:36 +10:00
..
applications Refactor logging and formatting logic (#4542) 2026-05-19 17:48:03 +02:00
default_profiles add niri DankMaterialShell profile (#4554) 2026-05-25 21:13:56 +10:00
lib fix(luks): surface cryptsetup error output when unlock fails (#4570) 2026-06-06 18:38:36 +10:00
locales Update template and Spanish translation (#4557) 2026-06-06 18:22:56 +10:00
scripts Refactor logging and formatting logic (#4542) 2026-05-19 17:48:03 +02:00
tui Refactor logging and formatting logic (#4542) 2026-05-19 17:48:03 +02:00
__init__.py Convert imports to absolute imports (#4196) 2026-02-26 20:17:48 +11:00
__main__.py Replace sys.exit calls with return values (#4156) 2026-01-22 13:58:40 +11:00
examples Adding symlink to examples. 2020-07-08 12:34:22 +00:00
main.py Refactor logging and formatting logic (#4542) 2026-05-19 17:48:03 +02:00