Encrypted instances report ciphertext size: listing and PROPFIND getcontentlength disagree with GET/HEAD #659
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#659
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found in the #656 QA pass (v0.6.247). Reproduces on both dogfoods (files = enc, files-bao = openbao).
Matrix rows: §2 "Upload (button + drop)" / "Listing, sort, view toggle"; §7 "WebDAV mount".
Steps
_qa(button on files, drop on files-bao).Expected: every surface reports the plaintext size the user uploaded.
Seen
getcontentlengthContent-LengthThe constant ~3.2 KB offset is the encryption envelope. HEAD and GET are correct; PROPFIND and the web listing report the stored (encrypted) object size. Protocol and UI disagree about the same file.
Why this matters beyond cosmetics
Why CI didn't catch it:
interop-rclone(passed fresh at v0.6.247 in this pass) boots an in-job cairnd with unencrypted posix storage, so the envelope never exists there. Worth checking whetherinterop-encasserts PROPFIND size equals GET length; it is dispatched later in this pass.Screenshot:
659-ciphertext-size.jpg(outputs folder)