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

Aperta
#1,286 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
46
Fork
65
Merge medio
1g 5h
PR unite (30g)
26

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-edc/IdentityHub

Tutte le issue di eclipse-edc/IdentityHub

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.