-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Base64::decodeUrlSafe() validation is inconsistent #257
Comments
I am facing the issue "Invalid Base 64 Url Safe character" Any fixes please? |
Hi @TimWolla, This is correct, the method Regards. |
Thanks for the explanation, makes sense. |
Can you elaborate more on this? What is the input data? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In
Webauthn\Util\Base64::decodeUrlSafe()
theAssertion
at the beginning rejects=
(i.e. the padding character), but when decoding with the constant time decoder the::decode()
method instead of::decodeNoPadding()
is used. This is inconsistent and requires the decoder to do extra work.The text was updated successfully, but these errors were encountered: