Open vu1Art1st opened 1 year ago
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')
tobase64.b16decode(encoded_base.upper(), casefold=False).decode('utf-8', 'replace')