CanvasSync
CanvasSync copied to clipboard
Update cryptography.py
Change password file open type to "w" from "wb". No idea if this causes security concerns, but at least you can use the program now. Fixes the bytes-like object issue after entering the password.
Not sure if it's just me, but this only partially fixed:
TypeError: a bytes-like object is required, not 'str'.
It then threw:
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
What worked for me was replacing PyCrypto with PyCryptodome since it's no longer updated
pip3 uninstall pycrypto pip3 install pycryptodome