Commit graph

132 commits

Author SHA1 Message Date
757b6b7b27 xep_0384: Fix important details :)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
e0bdfc7102 xep_0384: Update device list handling
- Update device list handling to use SessionManager storage.
- Remove clear device list for now as it's not supported in the lib

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
8a22062b5b xep_0384: Fix deviceID variable
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
e58c50338a xep_0384: Update with current python-omemo version
- Update the plugin to integrate changes from the omemo library we are
using.
- Disable handlers for now to be able to gradually see if they are still
up-to-date

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
lumi
04fb45bdea xep_0384: add .my_fingerprint 2019-01-29 18:05:59 +01:00
lumi
7f8fc9f860 Add .my_device_list.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
lumi
915e0c9c1b Fix list device handling
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
lumi
737f5eae33 Fix decryption.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
deba255cb0 xep_0384: First attempt at decrypting messages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
f38fbc6b60 xep_0384: Add interface for .text on Key element
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-29 18:05:59 +01:00
8b2348698e xep_0384: Add clear_devices helper 2019-01-29 18:05:59 +01:00
6f50f5dee7 xep_0384: is_encrypted helper 2019-01-29 18:05:59 +01:00
67c66eca1b xep_0384: Publish bundle 2019-01-29 18:05:59 +01:00
3322d17aa4 xep_0384: Handle device list
- Split get/store and common operations.
- Always try to set at init time
- Add ourselves in the list if not present
- Correctly cast from/to str/int
2019-01-29 18:05:59 +01:00
e27890c868 xep_0384: Remove JID import 2019-01-29 18:05:59 +01:00
571aa85656 xep_0384: Add omemo session 2019-01-29 18:05:59 +01:00
e7bad69fc7 xep_0384: b64 helpers 2019-01-29 18:05:59 +01:00
af662289dd xep_0384: Temporarily add wrappers for omemo (thanks lovetox) 2019-01-29 18:05:59 +01:00
78f42fde5c xep_0384: add helper to access .text 2019-01-29 18:05:59 +01:00
9a3effbe40 xep_0384: convert text value to str 2019-01-29 18:05:59 +01:00
43cae6d871 xep_0384: add plugin_multi_attrib for devices 2019-01-29 18:05:59 +01:00
e1c59d1c3d xep_0384: Fix bundles NS 2019-01-29 18:05:59 +01:00
39a7155176 xep_0384: Remove useless getter 2019-01-29 18:05:59 +01:00
186ab44b23 xep_0384: Allowing editing .text with 'value' attr 2019-01-29 18:05:59 +01:00
abbc5c7909 xep_0384: fix prekeys attribute name 2019-01-29 18:05:59 +01:00
87df513331 xep_0384: Do not init plugin if omemo lib not available
The omemo library being GPL at the moment, requiring it unconditionally
would also unconditionally make Slixmpp GPL. It's now a packaging issue.
2019-01-29 18:05:59 +01:00
44ae0ca032 xep_0384: Avoid conflicting filenames 2019-01-29 18:05:59 +01:00
206d46ac2a xep_0384: fix element interface; attach to the correct element 2019-01-29 18:05:59 +01:00
783a1ca0d2 xep_0384: Add 'bundle' element 2019-01-29 18:05:59 +01:00
df0aaf3590 xep_0384: Add 'encrypted' element 2019-01-29 18:05:59 +01:00
dbd6b3ad3d xep_0384: Rename list plugin_attrib to devices 2019-01-29 18:05:59 +01:00
9100f9899b xep_0384: Promote to multiple files 2019-01-29 18:05:59 +01:00