Commit graph

27 commits

Author SHA1 Message Date
e9d166c0a1
Add support for roezio / importing xdg value
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21 21:17:10 +02:00
5a14785334
Add own-key support to fingerprint method
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-11 14:08:22 +02:00
d40a9d90cc
Fetch up-to-date bundle info on /omemo_fingerprint
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-07-11 12:22:58 +02:00
b49d60e7ce
reset_session: command args is a str
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 20:45:00 +01:00
7854f57c9f
/omemo_reset command behind config flag
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 20:20:40 +01:00
86423b59a7
decrypt: use correct signature from poezio.E2EEPlugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 16:28:23 +01:00
81ce08d2be Let's actually wait that poezio is released to remove MUC workaround.
This reverts commit 91e52cb724.
2022-03-24 16:28:00 +01:00
5a9daa9db7
implement format_fingerprint method
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 01:16:07 +01:00
b4a03e3034
reorder imports
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 01:15:30 +01:00
9e25a99316
get_fingerprints is not async
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20 23:06:57 +01:00
91e52cb724
Remove MUC workaround as new poezio is released
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20 23:06:39 +01:00
80f2cf74d9
Stop declaring trust states until they're actually handled
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20 23:05:52 +01:00
fe461a09ea
Reenable auto heartbeats
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-11 12:49:24 +01:00
26fec1630d Revert "Update reference body again"
This reverts commit a38c6ec551.
2022-03-08 19:07:20 +01:00
a79383ee1e
Disable heartbeats for now
This will wait until we merge other changes in poezio and figure out if
it doesn't cause issues.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-28 18:11:30 +01:00
17318815db
Take input when started as the main module
The encoding method that's used is kinda annoying because the data_dir
tree is unreadable. Probably urlencode would have been better.. but now
we'd need to migrate everything.

This provides a quick way to get a JID converted to what we use as
encoding.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 18:51:54 +01:00
ec5d502f24
Use f-strings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 13:22:10 +01:00
5db76017ed Remove unused variable
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 13:21:52 +01:00
a38c6ec551 Update reference body again
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-02-16 13:21:52 +01:00
d6058156d9
Update for slixmpp-omemo update. API is now mostly async
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-30 14:38:13 +01:00
7243414aa0
Handle body is None case when decrypting
Heartbeats don't have a payload and body will be None here.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-15 12:39:06 +01:00
f677633c69
Add comment to highlight conflict prevention
We use dark magic to prevent illegal chars on a range of filesystems,
same as the omemo library uses. Maybe that should be abstracted away.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-09-24 10:45:34 +02:00
beb5255cb2
Ensure omemo folder is created with mode 0700
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-28 20:39:52 +02:00
0183107d1e
Update copyright year
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-18 23:46:23 +02:00
1e13ffa0bd
Workaround poezio 00a91774; get realjids for MUC
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-17 03:00:26 +02:00
mathieui
5fe4e9164f Add a workaround for MUC reflections
with an option for broken muc implementions which change message ids on
the fly.
2021-01-30 20:02:45 +01:00
3858d80510
Use setuptools entry_point instead of namespace
Requires poezio update (3577f887).

This simplifies some things for the tooling. No more name conflicts with
the omemo library for one, and no need for an almost empty folder.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-02-17 03:07:58 +01:00
Renamed from poezio_plugins/omemo/__init__.py (Browse further)