Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-28 | Merge branch 'plugin-omemo' into 'master' | Maxime Buquet | |
E2EE plugins support See merge request poezio/poezio!18 | |||
2019-12-28 | Disable a pylint error on a line (due to __getattr__ override) | mathieui | |
2019-12-27 | omemo: omemo_plugin moved to its own repository for licensing purposes | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Add TODO for unverified state | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
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: Update decrypt_message with slixmpp-omemo changes | Maxime “pep” Buquet | |
decrypt_message now takes an Encrypted container and a sender (JID) instead of a Message object. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Update get_fingerprints with slixmpp-omemo changes | Maxime “pep” Buquet | |
slixmpp-omemo's get_trust_for_jid doesn't provide fingerprints directly anymore, it simply wraps the omemo lib method. 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: implement get_fingerprints method | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
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: handle MissingBundleException when it comes from ↵ | Maxime “pep” Buquet | |
EncryptionPrepareException We're not supposed to see MissingBundleException directly as it's handled by slixmpp-omemo. Slixmpp-omemo will give us all the remaining exceptions via EncryptionPrepareException when it doesn't know what to do anymore. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | Remove exception catchall in omemo plugin as it's now handled in plugin_e2ee | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Remove unused variable in encrypt method | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: add supported_tab_types and trust_states into the omemo plugin | 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: session_start is now async | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: add a wrapper around _encrypt() to handle user feedback | mathieui | |
(yes, another one) | |||
2019-12-27 | omemo: fix indentation of one line | mathieui | |
2019-12-27 | omemo: add missing typing import | mathieui | |
2019-12-27 | Fix potential race condition when encrypting | mathieui | |
(do not try to rely on the current tab) | |||
2019-12-27 | omemo: Edit and move TODO comment for NoEligibleDevicesException | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | Add a "passthrough" parameter for calls through the safetymetaclass | mathieui | |
So errors don’t get caught | |||
2019-12-27 | omemo: Catch IqError and IqTimeout and display generic message for now | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Skip devices on MissingBundleException. Encrypt to the rest | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: ensure whitelist includes encryption tag in the correct format | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: use @to instead of @from for message recipients | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: decode decrypted body | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: handle async encryption methods | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: handle StaticConversationTab as well | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Ensure session_start is published | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: put OMEMO data into a folder specific to the account | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: the container tag for OMEMO is 'encrypted' not 'payload' | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: adapt to new E2EE API | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Add omemo_enable and omemo_disable commands | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: add docstring on the plugin | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: remove unused imports and reorder them | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Add omemo status in the tab infobar | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: remove unused commands | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: change /omemo description | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: consistent returns | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: remove useless log | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Use DATA_HOME instead of CACHE_HOME | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: Add dummy sending command for testing purposes | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-12-27 | omemo: catch xep_0384.MissingOwnKey exception | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> |