openid / openid/OpenID4VC-HAIP

mdoc & SD-JWT VC 'must' requirements for status list are very different

Open
#374 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
57
Forks
17
PR merge metrics
No merged PRs in 30d

Description

https://openid.github.io/OpenID4VC-HAIP/openid4vc-high-assurance-interoperability-profile-1_1-wg-draft.html#name-ietf-sd-jwt-vc-profile has a bunch of requirements for status list, e.g.:

The public key used to validate the signature on the Status List Token defined in [I-D.ietf-oauth-status-list] MUST be included in the x5c JOSE header of the Token

Each Credential MUST have its own unique, unpredictable status list index

These requirements only apply to SD-JWT - for mdoc we just say:

The Credential Issuer MAY include the MSO revocation mechanism in the issued mdoc. When doing so, it MUST use one of the mechanisms defined in ISO/IEC 18013-5 ([ISO.18013-5.second.edition]).

which doesn't say anything on either of the two above topics. For 'Each Credential MUST have its own unique, unpredictable status list index' - whereas the base token list IETF draft has that as a 'SHOULD'.

This ends up with a weird asymmetry that is probably unexpected - when testing issuers, an SD-JWT VC issuer that reuses status list indexes will fail and can't be certified, but a mdoc issue that reuses status list indexes just gets a 'warning' and can be certified.

I'm not really sure what to do about that. We may just have to leave it as a weird oddity, unless ISO tighten up the text in -5 2nd edition (I've suggested they look into it).

Contributor guide

Open the contributing guide

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.

Research direction

Start with the linked OpenID4VC-HAIP section on the SD-JWT VC profile and compare its status-list requirements with the mdoc wording and the referenced status-list draft. Check the cited ISO/IEC 18013-5 second-edition material for the corresponding mdoc requirements. Done means reaching and documenting a decision on whether the profile text should be aligned or intentionally remain asymmetric.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, security
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.