Skip to content

#4299: upgrade go-did to v0.21.0 for VP-JWT iss claim fix#4300

Merged
reinkrul merged 1 commit into
masterfrom
iss4299-go-did-0.21.0
Jun 2, 2026
Merged

#4299: upgrade go-did to v0.21.0 for VP-JWT iss claim fix#4300
reinkrul merged 1 commit into
masterfrom
iss4299-go-did-0.21.0

Conversation

@reinkrul
Copy link
Copy Markdown
Member

@reinkrul reinkrul commented Jun 2, 2026

Fixes #4299.

Bumps github.com/nuts-foundation/go-did from v0.20.0 to v0.21.0, pulling in go-did#148.

What changed

  • VP-JWTs now encode the presentation holder as the standard iss claim and no longer emit the non-standard vp.holder field, aligning with W3C VC Data Model v1.1.
  • Regression test in vcr/holder asserting the holder lands in iss and vp.holder is gone.

Why

AORTA testing rejected our VP-JWTs as non-compliant: the iss claim was missing and a holder field appeared inside the VP object. Root cause was in go-did.

Scope

Dependency bump + regression test only — no production source changes. The existing parser already treats iss as the canonical holder. Full vcr/... and auth/... suites pass.

Assisted by AI

Encodes the presentation holder as the JWT `iss` claim and drops the
non-standard `vp.holder` field, per go-did#148. The existing parser
already treats `iss` as the canonical holder, so no source changes are
needed.

Adds a regression test asserting the holder is carried in `iss` and that
`vp.holder` is no longer emitted.

Assisted by AI
@qltysh
Copy link
Copy Markdown
Contributor

qltysh Bot commented Jun 2, 2026

Qlty


Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@reinkrul reinkrul merged commit f4e71e4 into master Jun 2, 2026
13 of 14 checks passed
@reinkrul reinkrul deleted the iss4299-go-did-0.21.0 branch June 2, 2026 08:32
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.

auth: VP-JWT client assertions omit iss and emit non-spec vp.holder

2 participants