summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_omemo.cpp
AgeCommit message (Collapse)Author
2017-05-02jabber: omemo: basic implementation doneGluzskiy Alexandr
omemo now works, done basic testing with miranda<>miranda but not ready for use, incompatible with gajim (due to upstream regression in libsignal ?, or some my own bugs), storage backend still missing few functions (which is crutical in some situations) fixed crash in libsignal-c crypto backend implementation few small changes in aes-gcm encrypt/decrypt implementation (auth tag verification still fails), but decryption looks ok more strict type check for device id to avoid overflow (it must be 4byte size unsigned integer) finished basic implementation of 4.7 4.5 return error and does not send anything if no sessions available
2017-04-29jabber: omemo: forgotten bits....Gluzskiy Alexandr
2017-04-29jabber: omemo: various fixesGluzskiy Alexandr
4.3 reworked prekeys storage to support non subsequent id's (required for session data backend and session internals in libsignal-c) 4.3 fixed signed/unsigned bug 4.4 used actual number of available prekeys to choose from instead of "100" constant 4.4 reworked data storage backend a bit, fixed few signed/unsigned bugs 4.2 fixed bug in old settings cleanup
2017-04-27jabber: omemo: work on 4.4, 4.5, 4.7Gluzskiy Alexandr
few fixes in session data backend implementations //looks like require to be reworked a bit more work with message encryption done (complete but does not work because of broken session ?) some work with message decryption is done (enough to test session cipher)
2017-04-26compilation fix (thanks sss)watcherhd
2017-04-26Revert "Revert "jabber: omemo: improoved 4.4, working on 4.5""watcherhd
This reverts commit 3919b8b2d5270a41cbad66158165a4101b230e95. returning 26092086b62afd9bdef93f4756ae7558ec681e9a to the original state
2017-04-25Revert "jabber: omemo: improoved 4.4, working on 4.5"watcher
This reverts commit 26092086b62afd9bdef93f4756ae7558ec681e9a. breaks compilation in MSVS 2010: >src\jabber_omemo.cpp(1253): error C2059: syntax error : '{' 3>src\jabber_omemo.cpp(1253): error C2143: syntax error : missing ';' before '{' 3>src\jabber_omemo.cpp(1257): error C2143: syntax error : missing ';' before '}'
2017-04-24jabber: omemo: improoved 4.4, working on 4.5Gluzskiy Alexandr
fixed few bug in session store implementation improoved session store to avoid possible collisions 4.5 internally done //TODO: wrap all internal data to omemo "MessageElement" and send it
2017-04-16jabber: omemo: 4.4 (signal session related fixes)Gluzskiy Alexandr
fixed bug with resident db settings fixed design of per contact memory data storage for signal related structures
2017-04-15jabber: omemo: 4.4 is done ?Gluzskiy Alexandr
4.5 is next
2017-04-14jabber: omemo: working on 4.4Gluzskiy Alexandr
finished implementation of signal store backend basic session creation tests done
2017-04-13compilation fix + fix for line endingsGeorge Hazan
2017-04-13jabber: omemo: working on 4.4Gluzskiy Alexandr
fixed few memory leaks in signal store backend implemented prekey and signed prekey signal store backends //one left
2017-04-12jabber: omemo: working on 4.4Gluzskiy Alexandr
finished first part of data backend implementation for libsignal (3 left to do) //untested
2017-04-09jabber: omemo: working on 4.4Gluzskiy Alexandr
implementing signal session store backend
2017-04-08jabber: omemo: working on 4.4Gluzskiy Alexandr
imlemented session creation //not tested yet as it depends on storage backend which is not implemented yet fixed cleanup of sginal structures //temporary fix, cleanup must be reimplemented in per protocol basis later //storage backend implementation come next.
2017-04-06jabber: omemo: working on 4.4Gluzskiy Alexandr
implemented sessions cleanup on exit
2017-04-06jabber: omemo: working on 4.4Gluzskiy Alexandr
libsignal session store callbacks skeleton
2017-04-05jabber: omemo: working on 4.4Gluzskiy Alexandr
started implementation of omemo session setup (4.4) currently trying to setup session on outgoing message send attempt for simplicity, this must be changed in future fixed bug in incomming message handler (4.7)
2017-04-02jabber: omemo: working on 4.3Gluzskiy Alexandr
proper dynamic caps implementation for omemo caps/features and for miranda caps/features in general as required by xep-0115 removed my old attempt to implement dynamic omemo cap fixed few bugs in OmemoHandleDeviceList
2017-03-27omemo: working on 4.3Gluzskiy Alexandr
removed xep-0060 8.1.1 implementation because xep-0163 requires node auto-create support reverted to "instand publish" logic instead of node precreation //looks like we have some problems with pubsub events receiving mechanism or client features publishing which is blocker problem for continuing to work on omemo implementation.
2017-03-27omemo: working on 4.3Gluzskiy Alexandr
altered features names for compatibility with existing implementations
2017-03-21omemo: working on 4.3Gluzskiy Alexandr
createnode fixes typo fixes
2017-03-20omemo: working on 4.3Gluzskiy Alexandr
implemented pubsub address detection as required by xep-0060 8.1.1 implemented xep-0060 8.1.1, xep-0163 3 as required by omemo 4.3 omemo 4.3 now complete and working //TODO: chek createnode handlers, not always called, especially if connection is slow
2017-03-17fix for buffer overrunGeorge Hazan
2017-03-12omemo: working on 4.3Gluzskiy Alexandr
started implementation of xep-0060 8.1.1 as required by xep-0.163 3 please corect me if it already done somewhere in jabber i still need a way to get pubsub address of current jabber server via some jabber api //oh... i can't use this shitty one word useless comments, i am starting to hate myself, sorry... //so i will write normal long comments as always )
2017-03-08self-made crutch replaced with the existing functionGeorge Hazan
2017-03-07minor code cleaningGeorge Hazan
2017-03-06omemo: working on 4.3Gluzskiy Alexandr
2017-03-04omemo: working on 4.3, libsignal-c: missed exportsGluzskiy Alexandr
2017-03-03omemo: working on 4.3, libsignal-c: missed exportsGluzskiy Alexandr
2017-03-01omemo: initial implementation of 4.2, 4.3 ↵Gluzskiy Alexandr
(https://conversations.im/xeps/multi-end.html) //using short uninformative comments from now, as requested on http://forum.miranda-ng.org/index.php?topic=4506.msg19076#msg19076, due to inconvinient way of how github ui show comments
2017-02-28jabber: fix caps ui bug introduced in early omemo implementation stageGluzskiy Alexandr
omemo: basic device list event handler, added +notify cap to permanent caps, currenlty jabber have problems with dynamic caps...
2017-02-23libs:Gluzskiy Alexandr
libsignal-c: added few more missed exports protocol: jabber: omemo: implemented 4.1 (https://conversations.im/xeps/multi-end.html)
2017-02-21protocols:Gluzskiy Alexandr
jabber: omemo: empty handlers for omemo message/key, omemo devicelist update
2017-02-20protocols:Gluzskiy Alexandr
jabber: omemo: init_device functio (skeletoon..)
2017-02-17protocols:Gluzskiy Alexandr
jaber: omemo: used openssl based aes encryption and digest_sha512 code from https://github.com/WhisperSystems/libsignal-protocol-c/blob/master/tests/test_common.c
2017-02-15crash fixGeorge Hazan
2017-02-14protocols:Gluzskiy Alexandr
jabber: omemo: added hmac_sha256 callbacks to libsignal-c initialization
2017-02-13protocols:Gluzskiy Alexandr
jabber: started work on omemo skeleton basic signal library initialization test
2017-02-13porotocol:Gluzskiy Alexandr
whatsapp: use new libsignal header (looks unused anyway....)