openid / openid/OpenID4VCI

Credential Issuer Metadata value_type for dates

Open
#90 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

issuer-metadata
Dominant language
No language data
Stars
125
Forks
41
PR merge metrics
No merged PRs in 30d

Description

For holders and verifiers to being able to parse dates dynamically in credentials it would be beneficial to have the date format encoded in the metadata.

Have there been any considerations for how to handle date and datetime values?

I would see a solution to use the RFC3339 for value_type.

Example Issuer Metadata

"credentialSubject": {
        "birthday": {
                "value_type": "full-date"
        },
        "graduation_year": {
                "value_type": "date-fullyear"
        }
}

Example Credential Data

"credentialSubject": {
        "birthday": "1970-01-01"
        "graduation_year": "2023"
}

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

The issue names no repository files, tests, or entry points. Begin by reviewing the existing Credential Issuer Metadata definition and related value_type handling, then determine whether RFC3339-based date values are supported and which forms are needed. Done means reaching a decision and documenting the accepted metadata and credential representations.

Written by the indexing model from the issue text.

Assessment

Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.