ElDavoo / wa-crypt-tools

Manage WhatsApp .crypt12, .crypt14 and .crypt15 files.
GNU General Public License v3.0
583 stars 78 forks source link

Getting a invalid type error with python3 when running script #4

Closed ammadanjumch closed 2 years ago

ammadanjumch commented 2 years ago

% python3 ./WhatsApp-Crypt14-Decrypter/decrypt14.py msgstore.db.crypt14 msgstore.db Traceback (most recent call last): File "./WhatsApp-Crypt14-Decrypter/decrypt14.py", line 151, in def get_t1_and_key(key_file_stream) -> tuple[bytes, bytes]: TypeError: 'type' object is not subscriptable

ElDavoo commented 2 years ago

wihch python version are you using?

ElDavoo commented 2 years ago

I guess you are using python 3.8 or less. I will now make an update to make the script compatible with python 3.7+ :)

ammadanjumch commented 2 years ago

@ElDavoo ahh yeah that was it. Lets see how far that takes me now 🍡