Skip to content

Keep existing path-bound shares readable - #496

Draft
samgbafa wants to merge 1 commit into
mainfrom
skgbafa/tc-2192-path-digest-compat
Draft

samgbafa wants to merge 1 commit into
mainfrom
skgbafa/tc-2192-path-digest-compat

Conversation

@samgbafa

@samgbafa samgbafa commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Existing path-bound shares remain readable when their signed wrapped-key digest uses either the raw-byte or legacy canonical-string encoding. New producers continue using the raw-byte encoding. Pathless legacy behavior and key-version checks are unchanged.

Tests cover both accepted digest encodings, refusal of mismatched digests in either form, key-version mismatch, and pathless legacy compatibility.

Local verification: cargo fmt --check, cargo clippy -p tinycloud-node --all-targets -- -D warnings, and cargo test -p tinycloud-node --lib.

Details: TC-2192

@samgbafa
samgbafa marked this pull request as draft November 1, 2026 04:53
@samgbafa

samgbafa commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Not needed: no released client produced openable path-bound rows with the legacy digest; kept in case another legacy shape appears.

This branch has not been deployed

No deployments
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