We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I am using jws library which internally uses this module and it seems that the signature generated does not meet the specifications.
According to the standards, if I pass b64: false in the header, the signature returned should not be base64Url encoded.
After going through the code of the library, it looks like you are returning base64Url encoded signature irrespective of what is passed in the header.
https://github.com/brianloveswords/node-jwa/blob/master/index.js#L153
Would appreciate your take on this.
Thanks
The text was updated successfully, but these errors were encountered:
Hi @namrata25
"b64": false
"crit": ["b64"]
1
2
Since this jwa module really only deals with signing and verification of provided inputs what you're asking should be part of the module you're using.
jwa
Other JOSE packages, e.g. jose support the RFC7797-defined b64 critical parameter.
jose
Sorry, something went wrong.
No branches or pull requests
Hello,
I am using jws library which internally uses this module and it seems that the signature generated does not meet the specifications.
According to the standards, if I pass b64: false in the header, the signature returned should not be base64Url encoded.
After going through the code of the library, it looks like you are returning base64Url encoded signature irrespective of what is passed in the header.
https://github.com/brianloveswords/node-jwa/blob/master/index.js#L153
Would appreciate your take on this.
Thanks
The text was updated successfully, but these errors were encountered: