Skip to content

Open LUKS containers in a disk image with their passphrase - #292

Merged
abrignoni merged 1 commit into
mainfrom
feat/luks-passphrase
Oct 14, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/luks-passphrase

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

GLEAPP now asks for a LUKS container's passphrase and walks what it holds.

  • Same flow as encrypted APFS volumes: ingest dialog, Source banner Unlock, terminal prompt, --password-file/--password-env. "Leave it locked" records it as not read, with why.
  • Contents are walked as luks_lba<sector>. Held in memory for the session only; a test checks the passphrase never reaches a case file.
  • Adds argon2-cffi for LUKS2's default Argon2id key slots. Intel Macs stay on bindings <26 (26.1.0 has no x86_64 wheel).
  • Known data: every file of a cryptsetup-written LUKS2 Argon2id image matches its sha256.

🤖 Generated with Claude Code

A LUKS container in an image source is asked about the way an encrypted
APFS volume is: in the ingest dialog and the Source banner's Unlock, and at
the terminal or from --password-file/--password-env on the command line.
What it holds is walked as luks_lba<sector>; one left locked is recorded as
not read with the reader's reason. The passphrase is held in memory for the
session only. Adds argon2-cffi for LUKS2's default Argon2id key slots, kept
below bindings 26 on Intel Macs, where 26.1.0 has no wheel.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 87ca917 into main Oct 14, 2026
12 checks passed
@abrignoni
abrignoni deleted the feat/luks-passphrase branch October 14, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant