Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for signed_metadata in Credential Issuer Metadata #301

Open
2 tasks done
dzarras opened this issue Feb 25, 2025 · 0 comments · May be fixed by #302
Open
2 tasks done

Add support for signed_metadata in Credential Issuer Metadata #301

dzarras opened this issue Feb 25, 2025 · 0 comments · May be fixed by #302
Assignees
Labels
feature New feature or request

Comments

@dzarras
Copy link
Contributor

dzarras commented Feb 25, 2025

Quoting the spec:

signed_metadata:

String that is a signed JWT. This JWT contains Credential Issuer metadata parameters as claims. The signed metadata MUST be secured using JSON Web Signature (JWS) [RFC7515] and MUST contain an iat (Issued At) claim, an iss (Issuer) claim denoting the party attesting to the claims in the signed metadata, and sub (Subject) claim matching the Credential Issuer identifier. If the Wallet supports signed metadata, metadata values conveyed in the signed JWT MUST take precedence over the corresponding values conveyed using plain JSON elements. If the Credential Issuer wants to enforce use of signed metadata, it omits the respective metadata parameters from the unsigned part of the Credential Issuer metadata. A signed_metadata metadata value MUST NOT appear as a claim in the JWT. The Wallet MUST establish trust in the signer of the metadata, and obtain the keys to validate the signature before processing the metadata. The concrete mechanism how to do that is out of scope of this specification and MAY be defined in the profiles of this specification.

  • Add a way to produce issuer-signed metadata (i.e. sub is iss)
  • Add configuration options to control the signing key used for metadata
@dzarras dzarras added the feature New feature or request label Feb 25, 2025
@dzarras dzarras added this to the pid-issuer v0.4.0 milestone Feb 25, 2025
@dzarras dzarras self-assigned this Feb 25, 2025
@dzarras dzarras linked a pull request Feb 25, 2025 that will close this issue
2 tasks
@babisRoutis babisRoutis removed this from the pid-issuer v0.4.0 milestone Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants