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
sign.py calls get_signature(request) and passes it to validate_multiple_signatures(), which calls make_hmac_for(key, body). Unfortunately, the signature from get_signature is a string, whilst the signature from make_hmac_for() is a byte array.
The workaround is to cast them both to byte arrays with six.b() right before the comparison, otherwise they comparison always fails.
The text was updated successfully, but these errors were encountered:
sign.py calls
get_signature(request)
and passes it tovalidate_multiple_signatures()
, which callsmake_hmac_for(key, body)
. Unfortunately, the signature fromget_signature
is a string, whilst the signature frommake_hmac_for()
is a byte array.The workaround is to cast them both to byte arrays with
six.b()
right before the comparison, otherwise they comparison always fails.The text was updated successfully, but these errors were encountered: