Skip to content

Say a wrong BitLocker or APFS secret was tried, in the console and the record - #298

Merged
abrignoni merged 1 commit into
mainfrom
fix/wrong-secret-notes
Oct 17, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/wrong-secret-notes

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

After a wrong BitLocker or APFS secret, the console and the stored record now say none of the secrets given opens the volume, as LUKS does since #297.

  • Kept by the volume's own identity: the BitLocker volume GUID, the APFS container and volume UUIDs.
  • A volume given nothing is recorded as before (guard test).
  • New tests on the BitLocker and APFS fixtures fail without the fix.

🤖 Generated with Claude Code

…e record

After a wrong password, recovery password or .BEK, a BitLocker volume still
locked said it "opens with its password", and so did an encrypted APFS
volume after a wrong password, both at the console and in
archive:<name>:volumes_not_read, because every look opened the volume
afresh. unlock_bitlocker and unlock_apfs now keep what the reader tried and
its reason, by the volume's own identity (the BitLocker volume GUID from its
FVE metadata; the APFS container and volume UUIDs), and bitlocker_volumes,
apfs_volumes and the walk's record use it, so both say none of the secrets
given opens it. A volume given nothing is recorded as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 1132b56 into main Oct 17, 2026
8 checks passed
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