diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-12-31 10:26:59 +0100 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2020-01-01 22:36:41 +0100 |
commit | 713471634340cfb170becf9a210baa547ff2707c (patch) | |
tree | afddf4f50c3a884254d7ba85506bb43f82c9bb56 /plugins/revstr.py | |
parent | 92e81d8f877bc69f83a4673695ccb712d5542891 (diff) | |
download | poezio-713471634340cfb170becf9a210baa547ff2707c.tar.gz poezio-713471634340cfb170becf9a210baa547ff2707c.tar.bz2 poezio-713471634340cfb170becf9a210baa547ff2707c.tar.xz poezio-713471634340cfb170becf9a210baa547ff2707c.zip |
E2EE MUC support
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
issues:
- 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 “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins/revstr.py')
0 files changed, 0 insertions, 0 deletions