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
In file base_chain.py line 88, I suggest to change the code base64.b16decode(encoded_base, casefold=False).decode('utf-8', 'replace')
to base64.b16decode(encoded_base.upper(), casefold=False).decode('utf-8', 'replace')
The text was updated successfully, but these errors were encountered:
Just ran into this issue and I agree, but then why not casefold=True? The docs say "For security purposes, the default is False" for casefold. I don't see why there would be any security concern of accepting lower-case input for this project, correct me if I'm wrong.
Just ran into this issue and I agree, but then why not casefold=True? The docs say "For security purposes, the default is False" for casefold. I don't see why there would be any security concern of accepting lower-case input for this project, correct me if I'm wrong.
Sry, I didn't view the whole code.This suggestion just try to resolve an error when decoding lower case base32, for this i just add ".upper()"
In file base_chain.py line 88, I suggest to change the code
base64.b16decode(encoded_base, casefold=False).decode('utf-8', 'replace')
to
base64.b16decode(encoded_base.upper(), casefold=False).decode('utf-8', 'replace')
The text was updated successfully, but these errors were encountered: