Skip to content

feat: add proof credential replay-store conformance#18

Open
stevencartavia wants to merge 1 commit into
stripe:mainfrom
stevencartavia:proof-replay-store
Open

feat: add proof credential replay-store conformance#18
stevencartavia wants to merge 1 commit into
stripe:mainfrom
stevencartavia:proof-replay-store

Conversation

@stevencartavia
Copy link
Copy Markdown

Proof credentials weren't recorded after verification, so the same proof could be replayed until challenge expiry.

verify_proof now records mpp:proof:{challenge.id} via the store's atomic put_if_absent and rejects any repeat. Mirrors the Tempo hash-path dedup and the Rust SDK fix. Adds a test submitting the same proof twice (first succeeds, second rejected).

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jun 5, 2026

CLA assistant check
All committers have signed the CLA.

@stevencartavia stevencartavia changed the title Add proof credential replay-store conformance feat: add proof credential replay-store conformance Jun 5, 2026
Signed-off-by: steven <corderosteven6@gmail.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019e99f9-eb58-739a-bb39-019910d859c4
Co-authored-by: Amp <amp@ampcode.com>
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.

2 participants