-
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
Use Base64Url instead of Base64 in JWT signature #614
Labels
Comments
The fix will be available as a part of work on #604 but then must be cherrypicked to 1.8.x branch. |
hvge
added a commit
that referenced
this issue
Aug 13, 2024
The signature calculation is also wrong. We don't include header data to the signature. |
hvge
added a commit
that referenced
this issue
Aug 13, 2024
hvge
added a commit
that referenced
this issue
Aug 13, 2024
There's another problem found in JWT signature calculation. The output binary blob containing the signature should be in JOSE format, instead of DER. |
hvge
added a commit
that referenced
this issue
Aug 28, 2024
hvge
added a commit
that referenced
this issue
Sep 12, 2024
* Fix #614: Fixed JWT signature calculation (1.8.x release)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
signJwtWithDevicePrivateKey()
method ofPowerAuthSDK
is using a regular Base64 encoding instead of Base64Url encoding. Both Android and Apple platform has this issue.The text was updated successfully, but these errors were encountered: