Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-21 | mypy: Type some more things | Emmanuel Gil Peyrot | |
This lets us pass under mypy 0.971, and is yet another step towards mypyc compatibility perhaps. | |||
2022-07-11 | plugin_e2ee: pass on 'own key' information to plugin | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-07-04 | plugin_e2ee: ignore incorrect mypy error | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-07-03 | plugin_e2ee: fingerprint command defaults to ownjid in MucTab | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-07-03 | plugin_e2ee: log JID when no FPs can be found | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-31 | Change license for (some previous and) future revisions to GPL-3.0-or-later | Maxime “pep” Buquet | |
From this revision on, all changes that were under the following authors' names are also under GPL-3.0-or-later, and not just future changes: - Maxime Buquet (or Maxime “pep” Buquet) Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-23 | chattab: add e2e_encryption property | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-21 | plugin_e2ee: Allow /<name>_fingerprint in RosterInfoTab without argument | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-21 | plugin_e2ee: rework fingerprint display slightly | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-21 | plugin_e2ee: new format_fingerprint method to be overriden by plugin | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-21 | plugin_e2ee: get_fingerprint is now async | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-17 | plugins/b64: specify supported_tab_types; Fix type in plugin_e2ee | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-17 | plugin_e2ee: Ensure supported_tab_types is specified in plugin | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: _decrypt_wrapper doesn't need a return type | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: Ensure all encrypted messages we handle are processed | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: Use f-string | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: Add TODO in _encrypt filter | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: quit _encrypt filter as soon as we seen encrypted tags | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: allow normal message to pass through again when not encrypting | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: check all encrypted tags in _decrypt and _encrypt | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: drop message if tab is None and doesn't contain encrypted tag | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-16 | plugin_e2ee: let already encrypted messages through | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-01 | plugin_e2ee: ignore mypy failures with passthrough metaclass param | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-01 | plugin_e2ee: encrypt: also search tabs for barejids if not found | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-01 | plugin_e2ee: don't fail on tab.jid if tab is None | Maxime “pep” Buquet | |
I doubt this is the proper fix, there are still paths that use tab below that. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-01 | plugin_e2ee: allow decrypt call to be async | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2022-03-01 | fix: do not traceback on encrypted payloads without a tab open | mathieui | |
2021-08-07 | plugin_e2ee: handle empty args in /foo_state commands | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2021-07-17 | plugin_e2ee: correctly pass realjid to decrypt call in MUC | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2021-04-02 | fix: tons of type errors | mathieui | |
2021-04-02 | refactor: rewrite config.get() to getbool, getstr, getint… | mathieui | |
2020-12-12 | from __future__ import annotations | Emmanuel Gil Peyrot | |
Now that our baseline is Python 3.7, we can rely on type annotations to be lazily evaluated. | |||
2020-01-11 | plugin_e2ee: Remove debug logging of encrypted messages | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-11 | plugin_e2ee: prevent empty JID from being passed to plugin | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2020-01-01 | E2EE MUC support | Maxime “pep” Buquet | |
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> | |||
2019-12-31 | Allow encryption in normal messages | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-31 | E2EEPlugin: Mute some lint warnings because of metaclass | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-30 | Add TODO in plugin_e2ee _decrypt | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-28 | Disable a pylint error on a line (due to __getattr__ override) | mathieui | |
2019-12-27 | omemo: remove unnecessary newline in docstring | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: prevent traceback when no JID is specified in non-supported tab | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: use dedicated method to check if encryption is enabled | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: use jid property instead of name on chat tab | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: fix show_fingerprints (JID instead of str) | mathieui | |
2019-12-27 | omemo: add an api in plugin_e2ee to get the fingerprint(s) of a jid | mathieui | |
2019-12-27 | omemo: fix an indent error and make mypy happy | mathieui | |
2019-12-27 | omemo: fix some errors / feedback in trust setting | mathieui | |
2019-12-27 | omemo: fix the type of the supported tab tyoes | mathieui | |
2019-12-27 | omemo: add supported_tab_types and trust_states plugin attributes | mathieui | |
- supported tab types is a list of tabs this plugin should be active in (only chattabs) - trust_states is a dict[str → set] containing only two keys: accepted and rejected, whose values are the internal plugin states that should allow encryption and the ones that should not | |||
2019-12-27 | omemo: add a wrapper around _encrypt() to handle user feedback | mathieui | |
(yes, another one) |