Skip to content

fix(tempo): bind proof signatures to realm + wallet (EIP-712 v2)#22

Open
stevencartavia wants to merge 1 commit into
stripe:mainfrom
stevencartavia:fix/tempo-proof-realm-wallet-binding
Open

fix(tempo): bind proof signatures to realm + wallet (EIP-712 v2)#22
stevencartavia wants to merge 1 commit into
stripe:mainfrom
stevencartavia:fix/tempo-proof-realm-wallet-binding

Conversation

@stevencartavia
Copy link
Copy Markdown

Zero-amount Tempo proofs weren't bound to the realm, allowing cross-realm replay. Aligns the proof EIP-712 ABI with the canonical SDKs (mpp-rs, mppx).

  • domain version "1""2"
  • Proof(string challengeId)Proof(string challengeId,string realm)
  • client signs / server verifies with the challenge realm
  • wallet binding unchanged (signer recovered & compared to the did:pkh source)
  • adds test_proof.rb

Note: breaking for old v1 proofs

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jun 6, 2026

CLA assistant check
All committers have signed the CLA.

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jun 6, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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