-
Notifications
You must be signed in to change notification settings - Fork 9
Align IssuerMetadata with VCI 1.0 spec #438
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
Conversation
…r support Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
…-framework-dotnet into algin-isser-metadata-with-oid4vci1.0 Signed-off-by: Johannes Tuerk <[email protected]>
…-framework-dotnet into algin-isser-metadata-with-oid4vci1.0 Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
| select path; | ||
| } | ||
|
|
||
| public static JArray ToArray(ClaimPath claimPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ToJArray
| array.Add(new JValue(index)); | ||
| return Unit.Default; | ||
| }, | ||
| selectAll => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value selectAll is never used
|
|
||
| public static class ClaimPathFun | ||
| { | ||
| public static JsonPath ToJsonPath(this ClaimPath claimPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a StringBuilder
|
|
||
| namespace WalletFramework.Oid4Vc.Oid4Vci.CredConfiguration.Models; | ||
|
|
||
| public record ClaimDisplay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete the other legacy ClaimDisplays
|
|
||
| public record ClaimDisplay | ||
| { | ||
| public Option<string> Name { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove public setter
| { | ||
| public Option<string> Name { get; set; } | ||
|
|
||
| public Option<Locale> Locale { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove public setter
|
|
||
| namespace WalletFramework.Oid4Vc.Oid4Vci.CredConfiguration.Models; | ||
|
|
||
| public record ClaimDisplay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to have a name without a locale ? Otherwise, a name must be mapped by a locale and this is not reflected here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, according to the specs a name can exist without a locale. https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#appendix-B.2-2.3.1
| } | ||
|
|
||
| [Fact] | ||
| public void Can_Decode_And_Encode_From_Json_Draft14() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename test
| } | ||
| }; | ||
|
|
||
| public static JObject EncodedAsJsonDraft15 => new() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this sample
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Kevin <[email protected]>
Dindexx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Johannes Tuerk <[email protected]>
* support credential_metadata in issuer metadata and drop AttributeOrder support Signed-off-by: Johannes Tuerk <[email protected]> * clean attribute order Signed-off-by: Johannes Tuerk <[email protected]> * Merge branch 'v3.0.0' of github.com:openwallet-foundation-labs/wallet-framework-dotnet into algin-isser-metadata-with-oid4vci1.0 Signed-off-by: Johannes Tuerk <[email protected]> * Add CredentialsSet id as index to SdJwt and MDoc records Signed-off-by: Johannes Tuerk <[email protected]> * Fix the issuance for the PID (associate SdJwt AND MDocs with PID) Signed-off-by: Johannes Tuerk <[email protected]> * implement requested changes Signed-off-by: Johannes Tuerk <[email protected]> * minimal cleanup Signed-off-by: Kevin <[email protected]> * Revert Vctmetadata ClaimDisplay removal Signed-off-by: Johannes Tuerk <[email protected]> --------- Signed-off-by: Johannes Tuerk <[email protected]> Signed-off-by: Kevin <[email protected]> Co-authored-by: Kevin <[email protected]> Signed-off-by: Kevin <[email protected]>
* Migrate storage layer to EF Core Signed-off-by: Kevin <[email protected]> * deprecate aries and indy (#427) Signed-off-by: Kevin <[email protected]> * Align IssuerMetadata with VCI 1.0 spec (#438) * support credential_metadata in issuer metadata and drop AttributeOrder support Signed-off-by: Johannes Tuerk <[email protected]> * clean attribute order Signed-off-by: Johannes Tuerk <[email protected]> * Merge branch 'v3.0.0' of github.com:openwallet-foundation-labs/wallet-framework-dotnet into algin-isser-metadata-with-oid4vci1.0 Signed-off-by: Johannes Tuerk <[email protected]> * Add CredentialsSet id as index to SdJwt and MDoc records Signed-off-by: Johannes Tuerk <[email protected]> * Fix the issuance for the PID (associate SdJwt AND MDocs with PID) Signed-off-by: Johannes Tuerk <[email protected]> * implement requested changes Signed-off-by: Johannes Tuerk <[email protected]> * minimal cleanup Signed-off-by: Kevin <[email protected]> * Revert Vctmetadata ClaimDisplay removal Signed-off-by: Johannes Tuerk <[email protected]> --------- Signed-off-by: Johannes Tuerk <[email protected]> Signed-off-by: Kevin <[email protected]> Co-authored-by: Kevin <[email protected]> Signed-off-by: Kevin <[email protected]> * adjust readme for deprecating indy (#439) Signed-off-by: Kevin <[email protected]> * adjustment for indy migration (#450) Signed-off-by: Kevin <[email protected]> * Fix supported algs for the issuer signed jwt in wallet metadata (#449) Signed-off-by: Johannes Tuerk <[email protected]> Signed-off-by: Kevin <[email protected]> * fix tests Signed-off-by: Kevin <[email protected]> * make dependencies packable again Signed-off-by: Kevin <[email protected]> * DC-API: Validate origin Signed-off-by: Kevin <[email protected]> * Introduce SDLC (#466) * initial sdcl introduction Signed-off-by: Johannes Tuerk <[email protected]> * add TODO Signed-off-by: Johannes Tuerk <[email protected]> * sign git tag Signed-off-by: Johannes Tuerk <[email protected]> * update sdlc guide Signed-off-by: Johannes Tuerk <[email protected]> --------- Signed-off-by: Johannes Tuerk <[email protected]> Signed-off-by: Kevin <[email protected]> * Dc api validate origin (#473) * DC-API: Validate origin Signed-off-by: Kevin <[email protected]> * DC-API: refactor Signed-off-by: Kevin <[email protected]> --------- Signed-off-by: Kevin <[email protected]> --------- Signed-off-by: Kevin <[email protected]> Signed-off-by: Johannes Tuerk <[email protected]> Co-authored-by: Johannes Tuerk <[email protected]>
Short description of what this resolves: