summaryrefslogtreecommitdiff
path: root/poezio/plugin_e2ee.py
AgeCommit message (Collapse)Author
2019-07-19poezio/plugin_e2ee: import missing typeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02poezio/plugin_e2ee: Use encrypted_tags attribute to complete whitelist ↵Maxime “pep” Buquet
filtering on encryption Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02poezio/plugin_e2ee: Implement previous commit, add encrypted_tags attributeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02poezio/plugin_e2ee: Add TODO in decryption method to match more than EME ↵Maxime “pep” Buquet
messages Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02e2ee-api: Fix 0380 link in documentationMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02e2ee-api: Some more changes to the documentationMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: Add documentationMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: change log line in _encryptMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: Always remove non-whitelisted subelements of messagesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: Drop message if no body and no stanza encryptionMaxime “pep” Buquet
To avoid leaking data when plugin doesn't do stanza encryption. This will inevitably reduce the number of features available, but users want to send "secure" messages right. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: do not edit non-chat/groupchat messagesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: Do not remove body from messages if presentMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: Add <eme/> only if <body/> is presentMaxime “pep” Buquet
As per discussion in jdev@ Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: Fix log messageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: Add replace_body_with_eme parameter to the classMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee-api: add comment on tag_whitelistMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee api: filter out non-whitelisted tags if not doing stanza encryptionMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee api: Utilize priority in event handlingMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee api: Ensure only one encryption method is enabled at a timeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee api: Avoid creating EME tag when looking if it's presentMaxime “pep” Buquet
Some slixmpp API fail.. it's be great if we didn't have to fiddle with the xml lib directly Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01e2ee api: Add space before encryption name in status barMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01First shot of an E2EE plugin interfaceMaxime “pep” Buquet
Features: - Decryption by default once the plugin is loaded if messages contains the right EME magic - Encryption of messages only if encryption is enabled for the current tab Missing pieces: - No special treatment done on the order of the treatment for messages yet - No special handling of non-Partial(/Full) Stanza Encryption yet (i.e., removing stuff other than <body/>) Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>