CanvasSync icon indicating copy to clipboard operation
CanvasSync copied to clipboard

Update cryptography.py

Open VIXIVIXIV opened this issue 9 months ago • 1 comments

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.

VIXIVIXIV avatar May 10 '24 02:05 VIXIVIXIV

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

llavediez avatar May 27 '24 03:05 llavediez