I recently ran into a canonicalization issue with the RsaSignature2018 suite.
I am using this library through verifiable-credentials-java for the java backend. On the other side, we are using digitalcredentials/vc for the react native application.
The canonicalization of the proof is different in both libraries.
I wanted to know what kind of workaround is being used in this Java library to bypass this bug (so I can also use it in JS), and if it is the expected thing to do. Which one is the solution that would guarantee more interoperability?
Hi!
I recently ran into a canonicalization issue with the RsaSignature2018 suite. I am using this library through verifiable-credentials-java for the java backend. On the other side, we are using digitalcredentials/vc for the react native application.
The canonicalization of the proof is different in both libraries.
Javascript:
Java:
I opened an issue https://github.com/digitalbazaar/jsonld.js/issues/524 and found out it is related to a problem with the spec.
I wanted to know what kind of workaround is being used in this Java library to bypass this bug (so I can also use it in JS), and if it is the expected thing to do. Which one is the solution that would guarantee more interoperability?
Thanks a lot!