test(remote): golden .dig fixture + rpc.dig.net read proof (#843) - #32
Merged
Conversation
Add the READ-leg golden fixture + verify-then-decrypt read proof — the shared acceptance input for the single-node established read bar (#843 rpc-tier proof and #1062 P2P e2e). One committed golden under crates/digstore-remote/tests/fixtures/golden (plaintext + ciphertext + inclusion_proof + manifest), derived deterministically from the single-source read-crypto in digstore_core so it is byte-stable forever (the §5.1 anchor). Tests: golden byte-stability (§5.1 regression anchor), manifest identity match, the full verify-then-decrypt gate over the committed bytes, a tamper-fails-gate negative, and the rpc.dig.net read proof via DigClient::get_content (gated on DIG_RPC_LIVE until a store is published under the golden id). Local-tier / rootless-resolve leg left as a documented stub pending connect-lane dig-node #1439/#747/#852. Version bump 0.19.0 -> 0.19.1 (patch: additive test + fixtures, no behaviour change). Co-Authored-By: Claude <noreply@anthropic.com>
MichaelTaylor3d
marked this pull request as ready for review
July 21, 2026 22:30
…ws CI The plaintext.bin §5.1 anchor is text-like, so git normalized LF->CRLF on the Windows CI checkout, breaking the byte-stability + verify-then-decrypt assertions (ubuntu green, windows red). Add a fixtures .gitattributes marking every golden file '-text' so checkout is byte-identical on all platforms. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the READ-leg golden fixture + rpc-tier read proof (super-repo #843). Shared acceptance input for #843 (rpc read proof) + #1062 (P2P e2e).
Plan
Blast radius: additive test + fixtures only; no production symbols edited. WIP.