Support X.509 certificate metadata on IdentityHub-generated key pairs

Open
#1,286 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
api, backend

Research direction

Read the KeyPair management and Identity API entry points, then trace how public key JWKs are published in participant DID documents. Identify where existing key metadata is stored and surfaced; the change is complete when X.509 metadata can be added or replaced on generated key pairs without rotating key material and appears in the published JWK. The issue names no files or tests, so locate relevant coverage before starting.

Written by the indexing model from the issue text.

Description

triage

Feature Request

Related discussion: https://github.com/eclipse-edc/IdentityHub/discussions/1263

Which Areas Would Be Affected?

KeyPair management, Identity API, DID document publishing

Why Is the Feature Desired?

Some ecosystems anchor participant identities in an X.509 PKI. For example, Gaia-X requires the verification method in a participant's DID document to reference the certificate chain of its key so verifiers can validate it against a trusted certificate authority.

Currently, X.509 certificate metadata (x5u, x5c, x5t#S256) can only be attached to imported key pairs by including it in the public key JWK at import time. Because a certificate can only be issued after a key pair exists, and certificates are periodically renewed for the same key, IdentityHub-generated key pairs cannot currently be used in these ecosystems.

Solution Proposal

Allow adding and updating/replacing X.509 certificate metadata fields (x5u, x5c, x5t#S256) on existing key pairs, including those generated by IdentityHub, without modifying or rotating the underlying key material. When updated, the new metadata should be reflected in the public key JWK published in the participant's DID document.

Dominant language
Java
Stars
46
Forks
65
Avg merge
1d 5h
Merged PRs (30d)
26

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-edc/IdentityHub

All issues in eclipse-edc/IdentityHub

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.