-
Notifications
You must be signed in to change notification settings - Fork 13
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
Make sdjwt instance non abstract #122
Conversation
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #122 +/- ##
==========================================
+ Coverage 96.05% 97.18% +1.12%
==========================================
Files 22 23 +1
Lines 1826 1844 +18
Branches 259 264 +5
==========================================
+ Hits 1754 1792 +38
+ Misses 72 52 -20 ☔ View full report in Codecov by Sentry. |
The library can be used to create sd-jwt based credentials. To be compliant with the `sd-jwt-vc` standard, you can use the `@sd-jwt/sd-jwt-vc` that is implementing this spec. | ||
If you want to use the pure sd-jwt class or implement your own sd-jwt credential approach, you can use this library. |
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.
Good. I'll change the package name in #118
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.
It looks good to me :)
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
As discussed in #114 the sdjwtinstance should be non abstract to allow people to use it on its own.
I included the
validateReservedFields
function that will return nothing in the sdjwtinstance, but can be implemented in extended classes likesdjwtvcinstance
. Doing so, we don't have to override the while isse functionSigned-off-by: Mirko Mollik mirko.mollik@fit.fraunhofer.de