Skip to content

Keep volumes a keyless pass cannot see, verify weak relinks, unstage mapped LVs - #295

Merged
abrignoni merged 1 commit into
mainfrom
fix/encrypted-volumes-relink-lvm-unstage
Oct 17, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/encrypted-volumes-relink-lvm-unstage

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Fixes three bugs from the 2026-10-16 review.

  • A walk no longer drops or overwrites volumes it could not walk, so add_documents without a LUKS or BitLocker key keeps them.
  • Relink and unstage of a raw image, or one with no recorded hash, read back every hashed file and refuse on any change. That costs time on big cases.
  • Unstage and relink accept mapped LVM volumes whose runs lie inside the image.
  • Ordinary sources on main and this branch differ only in times.

🤖 Generated with Claude Code

…mapped LVs

- A walk replaces only the volumes it walked in archive:<name>:volumes and
  never removes one, so add_documents without an encrypted source's key no
  longer drops the LUKS data volume or turns a BitLocker volume's record into
  "bitlocker".
- Relink and unstage of an image identified only by its head-and-tail sample,
  or by no recorded hash, read back every hashed row and refuse on any change.
- Image verification accepts a logical volume placed past the end when its
  runs lie inside the image, so unstage and relink of an LVM source work.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 1079cf2 into main Oct 17, 2026
8 checks passed
@abrignoni
abrignoni deleted the fix/encrypted-volumes-relink-lvm-unstage branch October 17, 2026 09:56
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