Skip to content

fix(vcr/verifier): handle unparseable issuer DID instead of panicking (backport of #4302) - #4701

Open
reinkrul wants to merge 1 commit into
V6.2from
V6_2/backport-4302-unparseable-issuer-did
Open

reinkrul wants to merge 1 commit into
V6.2from
V6_2/backport-4302-unparseable-issuer-did

Conversation

@reinkrul

Copy link
Copy Markdown
Member

Backport of #4302 to V6.2.

The verifier ignored the error from parsing the issuer DID, so a credential with an issuer that isn't a valid DID caused a panic. It now returns an error. The cherry-pick applies without conflicts.

Testing: go test ./vcr/verifier/... with Go 1.26.10. (With Go 1.27, the existing status list tests on V6.2 hit a stack overflow in go-did v0.22.0, unrelated to this change.)

Assisted by AI

… (backport of #4302)

(cherry picked from commit 00e6972)

Assisted by AI

This branch has not been deployed

No deployments
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