titov-vv / tdecrypt

Draft project to decrypt local Telegram profile data
0 stars 0 forks source link

ValueError: keyType 24 doesn't handled #1

Open TaihouKai opened 3 weeks ago

TaihouKai commented 3 weeks ago

Hi, I tried so hard to find some tool to decrypt Telegram data, and I ended up here. Is this repo still working? I got the following error while running:

$ python main.py -p [profile]
Traceback (most recent call last):
  File "/Users/[username]/Desktop/Workspace/im-forensics/tdecrypt/main.py", line 35, in <module>
    main()
  File "/Users/[username]/Desktop/Workspace/im-forensics/tdecrypt/main.py", line 28, in main
    profile.load()
  File "/Users/[username]/Desktop/Workspace/im-forensics/tdecrypt/tprofile.py", line 209, in load
    map_elements = self.__ReadMap(decrypted_map)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/[username]/Desktop/Workspace/im-forensics/tdecrypt/tprofile.py", line 154, in __ReadMap
    raise ValueError(f"keyType {keyType} doesn't handled")
ValueError: keyType 24 doesn't handled

PS: I did the following changes to make the repo at least runnable:

titov-vv commented 3 weeks ago

I haven't touched it for about a year... Most probably telegram added some new type of message in recent releases. It is better to check in Telegram source code, but I don't have enough time for it now.