Skip to content

fix: validate proof source DID chain id#267

Merged
brendanjryan merged 4 commits intomainfrom
fix/proof-source-did-validation
Mar 31, 2026
Merged

fix: validate proof source DID chain id#267
brendanjryan merged 4 commits intomainfrom
fix/proof-source-did-validation

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

@brendanjryan brendanjryan commented Mar 31, 2026

Summary

  • parse did:pkh:eip155 proof sources instead of trusting the last : segment
  • require the source DID chain id to match the resolved proof verification chain id
  • add regression coverage for malformed sources and mismatched source DID chain ids

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 31, 2026

Open in StackBlitz

npm i https://pkg.pr.new/mppx@267

commit: 62b2a2f

@brendanjryan brendanjryan merged commit dd27cb1 into main Mar 31, 2026
7 checks passed
@brendanjryan brendanjryan deleted the fix/proof-source-did-validation branch March 31, 2026 16:51
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