cea2345f29
echo_bot: change messages style
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-12 19:26:24 +02:00
d9b77dbf86
Release 0.5.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-12 11:22:23 +02:00
78db04a1a8
Add my_fingerprint method
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-12 11:14:19 +02:00
92a379a327
Merge branch 'change-fp-repr' into 'master'
...
fp_from_ik: change fp repr to lowercase with no colon
See merge request poezio/slixmpp-omemo!8
2021-07-12 11:09:42 +02:00
6c61d0f237
fp_from_ik: change fp repr to lowercase with no colon
...
This allows the user to be able to do what they want with the string.
They can then insert colons, or split up in groups of chars or..
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-06-29 02:02:43 +02:00
957b555d93
Raise an exception when the payload is not of the form we expect
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-28 12:28:52 +01:00
94e3a62d8a
Error out when data_dir is not specified. #11
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-12 01:30:30 +01:00
534492fe45
Simplify fp_from_ik method, remove codec import
...
Reuse changes from python-omemo, explicitly the following PR under CC0:
https://github.com/Syndace/python-omemo/pull/28
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-11 03:26:32 +01:00
b5faae0b23
Change variable name to make mypy happier
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-11 01:33:10 +01:00
1ac08130ed
Ensure expect_problems
is a dict within encrypt_message
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-11 01:32:39 +01:00
ce868745d5
CI: Allow failure for now
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-11 01:26:34 +01:00
a478dc59de
Add .gitlab-ci.yml
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-11 01:24:48 +01:00
266684b036
Release version 0.4.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-10 23:17:01 +01:00
7d80d74554
Add ChangeLog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-10 23:03:48 +01:00
7a60a96e5d
Remove the note on licensing
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-11 00:38:44 +01:00
b380bfa7d6
Ensure devicelist and bundles are published after receiving precondition-not-met
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-11 00:29:46 +01:00
fc8349a5a3
Merge branch 'master' into 'master'
...
preventing `variable not defined` exception when no option available
See merge request poezio/slixmpp-omemo!5
2020-01-28 00:21:41 +01:00
senior
b5ebcaf326
preventing variable not defined
exception when no option available
2020-01-27 23:32:08 +03:00
fe897a786e
Attempt at having more useful errors for plugin setup
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-29 15:38:51 +01:00
6675ab631c
Bump version to 0.3.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-29 01:55:32 +01:00
4ee6b424dd
Make no promises for python 3.5/3.6
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-29 01:54:52 +01:00
fbf13b1adc
Fix comment
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-22 04:08:54 +01:00
fawz
60badde5a7
Pass correct type, use full jid explicitly
2019-12-14 18:08:23 +01:00
fawz
9f1f538d78
Populate expect_problems with JID instances instead of bare_jids
2019-12-14 18:08:23 +01:00
89758db2b2
Use the correct method name setTrust
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-13 19:13:39 +01:00
b18f7d9973
Update trust methods for 0.11.0 omemo update
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-13 19:05:49 +01:00
39a9fef73b
Phrasing + english in docstring
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-25 03:36:38 +02:00
9096891e28
Add docstring for _set_node_config
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-25 03:27:00 +02:00
753c5de27c
Merge branch 'precondition-not-met-fallback' into 'master'
...
Implement fallback on precondition-not-met error when publishing devicelist and bundle
Closes #6
See merge request poezio/slixmpp-omemo!2
2019-10-25 03:20:37 +02:00
6850051b32
Implement fallback on precondition-not-met error when publishing devicelist and bundle
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-25 03:19:34 +02:00
9e2dcc5529
Prepare for version 0.2.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02 02:31:38 +02:00
e6ce39bcc9
Echo_bot: Add documentation for expect_problems
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02 02:28:39 +02:00
153edfb564
Echo_bot: Use expect_problems and handle MissingBundleException
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02 02:21:53 +02:00
2dc08c9d2f
Echo_bot: prevent loops when decrypting/encrypting
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02 02:21:00 +02:00
79a4f417ed
Adapt example to new decrypt API
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02 02:18:16 +02:00
62b6037611
Convert jid to str before passing in decrypt_message
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-02 02:17:19 +02:00
e893e6aeec
Change decrypt_message API. Don't take the entire message anymore
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-27 23:43:04 +02:00
2b63352626
Remove fingerprint from get_trust_for_jid, simply wrap the omemo lib method
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-25 23:20:42 +02:00
508a1fe987
Coding style changes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-25 23:19:40 +02:00
9d3915a27c
Add docstring for get_trust_for_jid
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-25 11:48:48 +02:00
179db446fe
Add get_trust_for_jid method
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-25 01:56:28 +02:00
545123773b
Style fixes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-25 00:39:03 +02:00
96e4ecf683
Properly name values passed to EncryptionPrepareException
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-25 00:35:30 +02:00
2a346ac48d
Keep track of known bundles on the instance
...
Since we're raising exceptions often to yield to the client, we need to
keep track of bundles on the object and not just in the method itself.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-24 00:44:46 +02:00
869b11d322
Make session_start handler async and use asyncio helper in it
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-24 00:14:41 +02:00
0e65c68371
Check for publish-options support and add them in devicelist and bundle set operations
...
Ensure that publish-options are added at the end in the pubsub request,
otherwise it seems to be invalid.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-24 00:13:41 +02:00
0b6ef3a860
Use get_info instead of get_items to get account features
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23 22:36:43 +02:00
de585a23b2
Unnecessary elif after raise
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23 12:52:46 +02:00
bf2b2283f5
Use session_start instead of session_bind to ensure we're authenticated
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-22 19:44:21 +02:00
a07c3d9745
Only use publish-options if advertized by the server
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-22 19:43:49 +02:00