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
A ValueError is sometimes being raised when attempting to authenticate credentials. The error occurs when a salt value contains a leading dash. For example: -16e462a84f2df159eee0c14642974ee7. This seems to only happen when a given username does not exist within the userpool? But not always.
The value error contains this message: non-hexadecimal number found in fromhex() arg at position 0
I have tracked it down to this snippet (line 174 in aws_srp.py):
A ValueError is sometimes being raised when attempting to authenticate credentials. The error occurs when a salt value contains a leading dash. For example:
-16e462a84f2df159eee0c14642974ee7
. This seems to only happen when a given username does not exist within the userpool? But not always.The value error contains this message:
non-hexadecimal number found in fromhex() arg at position 0
I have tracked it down to this snippet (line 174 in aws_srp.py):
in the
hex_hash
function:I would submit a fix but I am not sure how the application is expected to handle these kinds of scenarios.
The text was updated successfully, but these errors were encountered: