Commit Graph

51 Commits

Author SHA1 Message Date
Philipp Hörist
6a7be87889 [omemo] Update CHANGELOG & manifest.ini 2017-10-07 14:49:45 +02:00
Philipp Hörist
540a312e14 [omemo] Fix logging exception 2017-09-15 22:43:51 +02:00
Philipp Hörist
a206dfaf29 [omemo] Return None on empty result 2017-09-15 21:21:40 +02:00
Philipp Hörist
7873f0aee9 [omemo] Fix sending messages to a room fail
We would receive a KeyError for jids we dont have in the roster,
now we skip them and print a warning.

Fixes #173
2017-09-15 20:41:00 +02:00
Philipp Hörist
4e3c984145 [omemo] Update CHANGELOG & manifest.ini 2017-08-26 21:52:48 +02:00
Philipp Hörist
bfadef3c67 [omemo] Query only the most recent PEP items
This is due a update to ejabbered where Nodes can now hold 10
items per default
2017-08-26 21:50:19 +02:00
Philipp Hörist
9ce1c5b961 Use absolute imports on all plugins
This is necessary because Gajim is with 0.16.11 a python package
2017-08-18 21:35:29 +02:00
Philipp Hörist
c863886355 [omemo] Update CHANGELOG & manifest.ini 2017-08-07 20:24:08 +02:00
Philipp Hörist
557c14276c [omemo] Support 12bit IVs on httpupload files 2017-08-07 20:22:48 +02:00
Philipp Hörist
00554ce55f [omemo] Make sure from attr is a string 2017-08-07 18:03:03 +02:00
Philipp Hörist
ad50635347 Revert "[omemo] Make sure from attr is a string"
This reverts commit 346da60934
2017-08-07 17:58:10 +02:00
Philipp Hörist
346da60934 [omemo] Make sure from attr is a string 2017-07-28 21:19:44 +02:00
Philipp Hörist
bd2a2c69e1 [omemo] Better handle exception
- Print only warning instead of error, as the module is only optional
- Log the error to the debug log, so users dont think we didnt catch the exception
2017-06-28 22:50:08 +02:00
Philipp Hörist
fb9d6860fa [omemo] Update CHANGELOG & manifest.ini 2017-06-11 20:43:00 +02:00
Philipp Hörist
7fba797b33 [omemo] Refactor encryption methods 2017-06-11 20:42:51 +02:00
Philipp Hörist
3f60d1e0b6 [omemo] Return on message drop 2017-06-11 00:12:37 +02:00
Philipp Hörist
8db1bee024 [omemo] Let gajim-core issue a warning on plain text 2017-06-11 00:11:42 +02:00
Philipp Hörist
7d9f778514 [omemo] Update CHANGELOG & manifest.ini 2017-06-09 23:35:32 +02:00
Philipp Hörist
3e287d2a46 [omemo] Add encrypt_file method
The HTTPUploadPlugin calls that if encryption is enabled
2017-06-09 23:35:32 +02:00
Philipp Hörist
4d03491261 [omemo] Update CHANGELOG & manifest.ini 2017-06-02 03:30:59 +02:00
Philipp Hörist
5f17bcac22 [omemo] Dont handle LMC differently
A patch in Gajim made that unnecessary
2017-06-02 03:18:19 +02:00
Philipp Hörist
86afb2cacc [omemo] Set encryption name in event obj 2017-06-02 03:12:27 +02:00
Philipp Hörist
90887631a7 [omemo] Update CHANGELOG & manifest.ini 2017-05-23 20:28:01 +02:00
Philipp Hörist
0a8aa4df89 [omemo] Clean up some small things
- unused import
- unused var GAJIM_VERSION
- redundant self.plugin = self
- simplify condition
- redundant 'else'
2017-05-23 20:26:19 +02:00
Philipp Hörist
8d14bf328d [omemo] Fix regression when sending to Groupchat
This happend during porting the plugin to the new encryption API
2017-05-23 20:26:06 +02:00
Philipp Hörist
ddf3f86b9f [omemo] Update CHANGELOG & manifest.ini 2017-05-07 19:13:42 +02:00
Philipp Hörist
b8ff3d195b [omemo] Use Gajims encryption API 2017-05-07 19:13:09 +02:00
Philipp Hörist
de369fc6a0 [omemo] Update CHANGELOG & manifest.ini 2017-04-15 12:00:24 +02:00
Philipp Hörist
5da8674677 [omemo] Add aesgcm to Gajims uri schemes 2017-04-15 11:59:06 +02:00
Philipp Hörist
49ed50c563 [omemo] Update CHANGELOG & manifest.ini 2017-04-06 18:46:11 +02:00
Philipp Hörist
14e661a79c [omemo] Add auth tag to key instead of payload 2017-04-06 17:45:26 +02:00
Philipp Hörist
50fc495fbb [omemo] Remove fallback GCM implementation 2017-04-05 20:09:07 +02:00
Philipp Hörist
77f90fbe67 [omemo] Make python-cryptography mandatory 2017-04-05 20:06:26 +02:00
Philipp Hörist
f329d17483 [omemo] Handle aesgcm:// uri scheme 2017-04-05 17:13:58 +02:00
Philipp Hörist
37f7f48549 [omemo] Replace 'Upload' with 'Download'
This happend due to copy/paste from httpupload
2017-03-30 13:37:22 +02:00
Philipp Hörist
7984d6b9ab [omemo] Update CHANGELOG & manifest.ini 2017-03-26 21:10:50 +02:00
Philipp Hörist
750528068f [omemo] Add file decryption 2017-03-26 21:09:24 +02:00
Philipp Hörist
26f393e8a2 [omemo] Remove unused timestamp column 2017-03-16 19:40:53 +01:00
Philipp Hörist
6f292d138b [omemo] Update CHANGELOG & manifest.ini 2017-03-01 15:15:03 +01:00
Philipp Hörist
4d2e07634f [omemo] Use correct tag for EME 2017-03-01 15:13:55 +01:00
Philipp Hörist
18461876c2 [omemo] Update CHANGELOG & manifest.ini 2017-02-28 22:47:41 +01:00
Philipp Hörist
282f565583 [omemo] Set devices active after receiving a msg
Inactive or not known devices are added to the list
of possible receiving devices after we receive them
with a PreKeyWhisperMessage or WhisperMessage

This is so we dont have to rely only on devicelist
updates from the server
2017-02-28 22:43:35 +01:00
Philipp Hörist
547fda1b66 [omemo] Fix 'Copy to clipboard' 2017-02-28 22:41:05 +01:00
Philipp Hörist
11fb760a4d [omemo] Dont handle type 'normal' messages 2017-02-28 22:19:50 +01:00
Philipp Hörist
bc2731364b [omemo] Only publish own deviceid if request fails 2017-02-28 22:18:39 +01:00
Philipp Hörist
6ecf3c91ed [omemo] Update manifest.ini 2017-01-24 14:49:53 +01:00
Philipp Hörist
832c9879c8 [omemo] Update/Delete various files 2017-01-24 14:49:52 +01:00
Philipp Hörist
709b44a0ba [omemo] Port UI changes from master 2017-01-24 14:49:52 +01:00
Philipp Hörist
cc04e3ac5c [omemo] Port omemoplugin changes from master 2017-01-24 14:49:44 +01:00
Philipp Hörist
a58ff4f6e8 [omemo] Port python-omemo changes from master 2017-01-24 14:49:32 +01:00