• Maxime Buquet's avatar
    E2EE MUC support · 71347163
    Maxime Buquet authored
    This change transmits the original JID of the sender (in decrypt) or
    receiver(s) (in encrypt).
    Handling of MUC is not complete. It is possible that some participants
    have access to realjids while others don't (e.g., moderators in
    semi-anon MUCs).
    The code currently doesn't handle this and this will cause at least two
    - Sending an encrypted message in a semi-anon MUC would reveal the
      sender's identity (public key)
    - Recipients wouldn't be able to decrypt this message as they don't have
      access to the sender's realjid. Unless they already have the bundle
      available and then they could associate the public key with a jid
      (another privacy issue/defeating the point of semi-anon rooms).
    TODO: Fix this ^
    Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
plugin.py 17.1 KB