mautrix / python

A Python 3 asyncio Matrix framework.
Mozilla Public License 2.0
174 stars 71 forks source link

Unable to decrypt events in encrypted rooms #159

Closed raging6637 closed 1 year ago

raging6637 commented 1 year ago

Linking this issues as this is the root cause of my findings. https://github.com/maubot/maubot/issues/167

I tried to play with maubot/mautrix-python - when I try to decrypt an event I face the following error mentioned in the first issue.

With the debugger I find that no session is found for decrypting as here https://github.com/mautrix/python/blob/ea4229b25f49895d4b82b6876c871a8c4b864f9f/mautrix/crypto/decrypt_megolm.py#L55

I know there's a todo about wedged session, but I'm unsure that's the root cause yet.

raging6637 commented 1 year ago

Okay - I'm closing here. It seems I may have some information. Will post on original issue

/close