Skip to content

Fix proof-purpose selection to scan all presentation proofs. - #10

Merged
dmitrizagidulin merged 1 commit into
mainfrom
fix-vp-proofs
Aug 5, 2026
Merged

Fix proof-purpose selection to scan all presentation proofs.#10
dmitrizagidulin merged 1 commit into
mainfrom
fix-vp-proofs

Conversation

@dmitrizagidulin

Copy link
Copy Markdown
Member

Presentation verification now derives the proof purpose by scanning every
proof in the proof set instead of reading proof[0] alone. A presentation
carrying an assertionMethod proof ahead of its authentication proof was
verified under AssertionProofPurpose, which skips non-matching proofs and
aggregates with "any verified" -- so the authentication proof binding the
response to the request's challenge and domain was never signature-checked.
If any proof declares authentication (or authenticationMethod),
AuthenticationProofPurpose is used.

Signed-off-by: Dmitri Zagidulin <dzagidulin@gmail.com>
@dmitrizagidulin
dmitrizagidulin merged commit c8a705e into main Aug 5, 2026
1 check passed
@dmitrizagidulin
dmitrizagidulin deleted the fix-vp-proofs branch August 5, 2026 21:01
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