Skip to content

Format Specific Details #8

Closed
Closed

Description

@c2bo

We need to decide how exactly to deal with format specific details and where to best define those. This will likely result in 2 separate discussions on:

  • Extension point for credential formats - this likely also means defining expectations towards a defined format
  • Scope of this document - what exactly do we define

OpenID4VP has an appendix B [https://openid.github.io/OpenID4VP/openid-4-verifiable-presentations-1_0-wg-draft.html#appendix-B] that is used to define some initial credential formats to be used with the protocol. We need to describe the general extension point and make a decisions if we want to define some (and which ones) in this document.

Activity

  1. martijnharing commented on Jul 20, 2026

    @martijnharing
    Collaborator

    We need a normative section on what needs to be specified for each credential format. That needs to at least include the following things:

    • What is the value of the credential format identifier
    • What the content is of the credential type field
    • What the meaning is of the path element, how it relates to specific fields in the credential / response
    • How the value matching works
    • How the issuer identifier request applies
    • Any format specific extensions (e.g. cryptographic algorithm values)
    • How the cryptographic binding parameter request applies
    • What the structure is of the response of the credential format
    • What the transaction data request means for this credential format
    • How the transaction transcript is included in the response

    We should at least define this for mdoc and sd-jwt vc. Should we make a separate issue on how to handle this for ZKP?

  2. c2bo commented on Jul 20, 2026

    @c2bo
    MemberAuthor

    We should at least define this for mdoc and sd-jwt vc. Should we make a separate issue on how to handle this for ZKP?

    Yes, I'd propose for the ZKP-relevant questions to be handled via their own issue(s) since that likely also has implications on query language etc.

  3. andrewhughes3000 commented on Jul 20, 2026

    @andrewhughes3000
    Member

    2026-07-20 discussion

    1. list of things needed to be defined (Martijn's list is a start)
    2. Where these things should be defined?
    • a registry for credential formats (separate from the specs) would be useful
    • Suggestion: IANA registry option (maybe in OAuth WG or similar IETF location?)
    • Timeline for processes for establishing separate registry needs to be considered; change management (ie which group controls edits/enhancements), seems to be extra complexity and work at this time
    • Focus on "MVP" now
    • DCHP should define the formats (or at least the profiles)
    • SD-JWT and SD-JWT VC are already at IETF which adds complexity if we want to move them
    • Separating protocol from format specs would improve hygiene
    • Need to consider feature requirements for credential requests

    a) define formats in this WG
    b) specific spec/document structure tbd (create the text as if it will be a separate document so detangling later is not needed)
    c) (and don't boil the ocean)

  4. awoie commented on Jul 28, 2026

    @awoie
    Contributor

    Per the 2026-07-20 discussion, splitting this into per-format issues that can be worked in parallel:

    ZKP is already tracked in #17, so nothing new needed there. Keeping it separate as @martijnharing and @c2bo suggested, since it likely has query-language implications and should not block the two format sections.

    The mdoc and SD-JWT VC issues each carry the full list from this issue so the items stay with the work.

    Recording the scope decisions so we don't relitigate them: formats get defined in this WG, the text is written as if it will become a separate document later, and a separate registry is out of scope for MVP.

    @martijnharing - one thing I have not carried over is your ask for a normative section stating what any credential format must specify. With two formats in the spec and no registry for now, I'd fold that into the appendix intro rather than make it separate work. Shout if you'd rather have it as its own issue.

    Marking this pending-close.

  5. awoie commented on Aug 11, 2026

    @awoie
    Contributor

    Closing this issue now that the two-week notice period has ended and we have decomposed this issue into new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions