Skip to content

add authentication and capability invocation to did by default - #9

Open
F-Node-Karlsruhe wants to merge 1 commit into
developfrom
dcp-key-auto-setup
Open

F-Node-Karlsruhe wants to merge 1 commit into
developfrom
dcp-key-auto-setup

Conversation

@F-Node-Karlsruhe

Copy link
Copy Markdown

What this PR changes/adds

DidDocument now publishes every verification method as both authentication and capabilityInvocation. The public did:web document includes those relationships for existing keys such as key-1.

Why it does that

Holders reject the issuer's self-issued token when the issuer DID has no capabilityInvocation keys. EDC 0.18.0's DidDocument has no such field, so the issuer DID only exposed key-1 as a verification method and credential offers failed.

Further notes

  • spi/identity-did-spi-patch replaces org.eclipse.edc:identity-did-spi and keeps the rest of that jar.
  • Reading or serializing a document rebuilds both relationship lists from its verification methods. Removing a verification method drops it from both lists.
  • Tests cover key activation, revocation, and the did.json response.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
@F-Node-Karlsruhe F-Node-Karlsruhe changed the title add authetńtication and capability invocation to did by default add authentication and capability invocation to did by default Nov 17, 2026
@mhellmeier
mhellmeier requested a review from eschrewe November 17, 2026 13:32

@eschrewe eschrewe left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upstream EDC identity hub created a fix for this issue some weeks ago, see here.

IMHO this PR should be closed since we will get that fixed in the next major version update. See the email I sent you today for more details.

BR
Ernst

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.

2 participants