-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: jarm #147
feat: jarm #147
Conversation
This is going to clash with our mdoc support branch which is soon to be merged. |
I think it's best if we update to your mdoc support then as the todo comments also mentions "Move MdocVerifiablePresentation to the SSI SDK. (Should not be a class)". So if you added the needed types to the ssi-sdk we can cross that one off :) |
I think we should allow passing in the encrypted response. Same like we allow passing the signed request.
I think for the Funke we need to extract it from
@sanderPostma I saw you also had some MDOC integration work in the PEX library. Is the idea that PEX will support MDOC natively, and that it can also process e.g. a submission including both mdoc and sd-jwt presentations? |
I will start moving the external depdency. Are you okay with the general abstractions? |
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.
See remark about kid in the callback interface. Rest looks okay to proceed
It seems this test is failing @auer-martin
|
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.
Some small remarks. The client_id aud validation seems to be incorrect
packages/jarm/lib/jarm-auth-response/v-jarm-auth-response-params.ts
Outdated
Show resolved
Hide resolved
packages/jarm/lib/jarm-auth-response/v-jarm-auth-response-params.ts
Outdated
Show resolved
Hide resolved
packages/jarm/lib/jarm-auth-response/v-jarm-auth-response-params.ts
Outdated
Show resolved
Hide resolved
packages/jarm/lib/jarm-auth-response-send/jarm-auth-response-send.ts
Outdated
Show resolved
Hide resolved
Is this ready to merge now @nklomp? |
Yes, needed to do a round of testing |
Some left todos.
The version is currently not inferred correctly. This is probably due to a type issue with the MDOC presentation definition input.