The spec mentions that some values van be decode/encoded with a non-constant-time base64 encoding and secret values should use a constant-time base64.
To reduce the error, when implementing this spec, it should define two encoding function base64url_safe and base64url_unsafe and use these for the appropriate values.
As far I have seen most uses of base64 are for non-secret data, but to be honest I'm not sure. Which explains this issue. :laughing:
The spec mentions that some values van be decode/encoded with a non-constant-time base64 encoding and secret values should use a constant-time base64.
To reduce the error, when implementing this spec, it should define two encoding function
base64url_safe
andbase64url_unsafe
and use these for the appropriate values.As far I have seen most uses of base64 are for non-secret data, but to be honest I'm not sure. Which explains this issue. :laughing: