You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the type protocol.URLEncodedBase64 is, correctly, decoding base64 without padding. (ref) however, a frontend tool I'm using to implement webauthn seems to be adding padding to the publicKey.response.userHandle.
Now I can strip this out myself, but would it be incorrect for this library to conveniently strip padding automatically given that it's not meant to be there anyway?
Use Case
No response
Documentation
No response
The text was updated successfully, but these errors were encountered:
Description
(version: github.com/go-webauthn/webauthn v0.5.0)
It seems the type
protocol.URLEncodedBase64
is, correctly, decoding base64 without padding. (ref) however, a frontend tool I'm using to implement webauthn seems to be adding padding to thepublicKey.response.userHandle
.Now I can strip this out myself, but would it be incorrect for this library to conveniently strip padding automatically given that it's not meant to be there anyway?
Use Case
No response
Documentation
No response
The text was updated successfully, but these errors were encountered: