Credential Type Metadata Documents#566
Conversation
6c3c784 to
ecc74c9
Compare
faa5f84 to
3a330fd
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3a330fd267
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
3a330fd to
af4d8f4
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: af4d8f48db
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
0e5ca5d to
25ba60f
Compare
af4d8f4 to
4f2f3aa
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4f2f3aa79d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
4f2f3aa to
5935628
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5935628f7f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 62d7b345cb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
62d7b34 to
c7d06b8
Compare
Data classes have been integrated into VC-K
c7d06b8 to
88c16dd
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 88c16dd7ea
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| identifier: String, | ||
| representation: CredentialRepresentation, | ||
| ): Boolean { | ||
| val extensions = vckExtensions |
There was a problem hiding this comment.
Resolve inherited VCK extensions before matching
The fresh issue is that this matcher still inspects the unresolved child definition, so a static metadata document that extends a PID/mDL/JWT base and relies on the now-inherited vckExtensions has extensions == null here. In that case PLAIN_JWT/ISO_MDOC lookup by the inherited vcType/isoDocType never finds the child vct, and AttributeIndex falls back instead of resolving and merging the document; this affects bundled/static country- or issuer-specific extensions unless every child repeats the full vck block or has an alias.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
should be easy to provoke or disprove with a test
JesusMcCloud
left a comment
There was a problem hiding this comment.
will report back on the note to self later
| identifier: String, | ||
| representation: CredentialRepresentation, | ||
| ): Boolean { | ||
| val extensions = vckExtensions |
There was a problem hiding this comment.
should be easy to provoke or disprove with a test
| while (true) { | ||
| val current = load() | ||
| if (compareAndSet(current, transform(current))) return | ||
| } |
There was a problem hiding this comment.
this function is also available as a built-in.
Builds upon #567 to implement a registry of type metadata documents (see https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-16.html#name-sd-jwt-vc-type-metadata) that can be translated into internal credential schemes.
Actually resolve remote type metadata documents in #571.
Other credential schemes are migrated into a-sit-plus/credentials-collection#1