-
Notifications
You must be signed in to change notification settings - Fork 2
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
Is it empty implementation equivalent to Not Implemented? #2
Comments
@dileepbapat - you're correct, a standalone RSA suite is not implemented at this point. (We don't really use it in any of our use cases / deployments.) |
@dmitrizagidulin I've tested with the latest version of vc.js with rn branch, and it works well. Could you please merge the PR #1? |
@uocnb - oh, hey, good to know! :) Thanks for testing it. |
Hi @uocnb. Did it worked out of the box for you? I'm generating my credentials with https://github.com/danubetech/verifiable-credentials-java. It generates them with RS256 ALG. BTW, I also tried generating (java) and validating (js) credentials with ED25519 and works ok. Just in case, reproducer here: https://github.com/fabrii/dc-playground Thanks |
Found out that the RsaSignature2018 is working perfectly. The problem is that the received "verifyData" byte array is different on javascript vs java library. I am digging a bit further to know why. |
Seems to be related to an error in the canonicalization process. Opened an issue upstream: digitalbazaar/jsonld.js#524 @dmitrizagidulin, I would really appreciate if you could take a look and tell me what you think. Thanks! |
Hi @fabrii, as I remember it required few changes to make it work. It's long time already when I'm working with this. Good luck! |
I made it work. The suite is working ok. The problem is with the canonicalization process. More info in the issue opened in digitalbazar. Thanks. |
https://github.com/digitalbazaar/rsa-signature-2018/blob/master/lib/RsaSignature2018.js
Above file defines an empty object, is it missing implementation?
Change: https://github.com/digitalbazaar/jsonld-signatures/blob/master/CHANGELOG.md#800---2021-03-18 moves signature suites into its own repo (which is this)
The text was updated successfully, but these errors were encountered: