-
Notifications
You must be signed in to change notification settings - Fork 16
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
fix: allow optional field, add extra alg types #173
fix: allow optional field, add extra alg types #173
Conversation
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
@nklomp should we just remove the alg value validation? i think this will be more flexible |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #173 +/- ##
===========================================
- Coverage 92.81% 89.95% -2.87%
===========================================
Files 66 66
Lines 2715 2718 +3
Branches 705 705
===========================================
- Hits 2520 2445 -75
- Misses 194 255 +61
- Partials 1 18 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I rather not. We can always add it. If formats are present they are required If I remember correctly. |
@sanderPostma could you review please? |
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.
Mostly LGTM
But I have to talk to Niels about the pnpm version, so will put it on hold for now
be27cde
into
Sphereon-Opensource:develop
I think it is a list of allowed/supported formats by the verifier. Not a requirement to support it in the wallet AFAIK? Hmm okay. It just means that every new alg requires a new release. I think just interpretating it as string, especially because pex doesn't handle the actual crypto makes sense. So to uodate we need to go pex -> oid4vp -> credo -> paradym. And that's not even for a crypto suite we want to support, but just to parse the presentation definition Maybe it should at least be configurable from the outside? |
This PR does three things:
optional
in the v2 schema (per @cykoder's comment)Discovered when trying to handle a presentation request with PD from DanubeTech universal verifier (https://oid4vp.univerifier.io/)