summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_omemo.cpp
AgeCommit message (Collapse)Author
2018-03-27protocols: jabber: omemoGluzskiy Alexandr
- fix possible crash on early session negotiation
2018-03-05Jabber: code cleaning & simplificationGeorge Hazan
2018-01-01massive copyright updatedartraiden
2017-12-11mir_base64_* => parameters type fixGeorge Hazan
2017-12-06convert all files exept curl and new_gpg to utf-8 BOM (reverted from commit ↵Kirill Volinsky
62202ed10617927d5429bc59898e12a366abe744)
2017-12-06convert all files exept curl and new_gpg to utf-8 BOMKirill Volinsky
2017-11-27jabber: omemo: "updated"(rollback) to latest version of ↵Gluzskiy Alexandr
https://xmpp.org/extensions/xep-0384.html
2017-11-23database enumerators => void* instead of LPARAMGeorge Hazan
2017-11-13Code modernize ...Goraf
* replace 0/NULL with nullptr [using clang-tidy]
2017-09-15jabber: omemo: forgotten changes in namespace for xep-0384Gluzskiy Alexandr
2017-09-14jabber: omemo: switched to xep-0384Gluzskiy Alexandr
used newest xep-0384 (https://xmpp.org/extensions/xep-0384.html) instead of https://conversations.im/xeps/multi-end.html (they are incompatible)
2017-09-01jabber: omemo: working on 4.7Gluzskiy Alexandr
properly refresh used prekeys and reannounce bundle
2017-08-23code cleaningGeorge Hazan
2017-08-20jabber: omemo: working on TODOGluzskiy Alexandr
aes_128_gcm: disabled any aad/tag related cals as it's not described at all in omemo xep
2017-08-17jabber: omemo: working on TODOGluzskiy Alexandr
implemented message queue for messages received/sendt before omemo sessions created //this solve problem with loosing first message
2017-05-27jabber: omemo: TODO for fuiture workGluzskiy Alexandr
2017-05-18jabber: omemo: 4.5 another signed/unsigned fixGluzskiy Alexandr
2017-05-16jabber: omemo: fixed decryptionGluzskiy Alexandr
fixed decryption logic bug appeared due to my misunderstanding of omemo sessions concept
2017-05-15compilation fixwatcherhd
2017-05-15jabber: omemo: changed fingerprint format, more sanity checks in session ↵Gluzskiy Alexandr
creation
2017-05-13Jabber: spelling correctiondartraiden
2017-05-13jabber: omemo: crash fixGluzskiy Alexandr
fixed crash and added error message if pre_key_signal_message_deserialize failed fixed logic for picking remote prekey (it was 1/prekey_count possibility of inifinite loop or no prekey)
2017-05-12jabber: omemo: crashfixGluzskiy Alexandr
better init/deinit
2017-05-12jabber: omemo: old code cleanupGluzskiy Alexandr
respect omemo option (do not do unnecessary allocations/cleanup)
2017-05-12jabber: omemo: refactoringGluzskiy Alexandr
attached all account related data to protocol instances better logging
2017-05-11jabber: omemo: added some debug logging into netlibGluzskiy Alexandr
2017-05-10jabber: omemo: signed/unsigned fixes...Gluzskiy Alexandr
2017-05-09jabber: omemo: build fix for old compillersGluzskiy Alexandr
used strtoul instead of _wtoll which is better way to convert string to unsigned long because it's portable c++ function
2017-05-08jabber: omemo: fixes in 4.4, 4.2, basic fingerprint verification implementedGluzskiy Alexandr
fixed "device id" variable size/conversion in few places implemented basic fingerprint verification (own fingerprint can be found in database Jabber module with name "OmemoFingerprintOwn")
2017-05-04jabber: omemo: fixes in 4.1, storage backend related fixesGluzskiy Alexandr
does not store base64 encoded private keys (does not used enywhere) fixed few memory leaks in refreshdevice (still have some, not critical) added few missed things to signal data backend implementation
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