feat: add TAP bilateral receipt fixture#8
Draft
tomjwxf wants to merge 2 commits into
Draft
Conversation
…pments New cold-chain/ subfolder with four files: - README.md: explains the cold-chain test vector category and the v2 envelope shape these vectors use. - pharma-shipment-pass.json: Sydney → Singapore insulin shipment, 36 epochs (Merkle-batched per hour), 1284 readings, 4.6 °C mean, 0 excursions, decision: allow. - pharma-shipment-excursion.json: same journey with a single 8.4 °C excursion at minute 1800, decision: deny, includes decision_reason.code = TEMPERATURE_BAND_VIOLATION. - merkle-batch-root.json: example epoch root with 60 reading leaf hashes and one fully-expanded 6-step Merkle path. Demonstrates the batch signing scheme that ScopeBlind's cold-chain hardware (ETCF #197) will produce in production. - index.json: local manifest listing the three vectors with expected decisions and verifier outputs. All vectors use the v2 envelope shape from expected/receipt-schema.json so they pass conformance/verify.sh schema-check unmodified. Signatures are synthetic placeholders (illustrative fixtures, same approach as existing pre-signed receipts in the repo). Not pushed.
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.
Adds a narrow Visa TAP bilateral receipt specimen for issue visa/trusted-agent-protocol#16.\n\nThe fixture keeps TAP request authentication separate from transaction evidence:\n\n- tap-request.json carries simulated RFC 9421 request-signature metadata\n- authorization-receipt.json is agent-signed pre-execution evidence\n- outcome-receipt.json is merchant-signed post-execution evidence\n- verify.py checks both detached JWS-style signatures, request hash linkage, and receipt chaining\n\nLocal verification:\n\n
bash\npython3 tap-bilateral-receipts/verify.py\n