summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_omemo.cpp
AgeCommit message (Collapse)Author
2019-04-08Jabber: merge of fixes from trunkGeorge Hazan
2019-03-26libaxolotl doesn't exist anymore, it's renamed to libsignalGeorge Hazan
2019-02-26XmlFirstChild / XmlGetAttr - safe wrappers for tinyxml2George Hazan
2019-02-19Jabber:George Hazan
- XmlGetChildText / XmlGetChildInt - new handy helpers for tinyxml2; - Unicode logging replaced with ANSI when appropriate; - JabberErrorMsg rewritten to be more useful
2019-02-19more checks for GetText()George Hazan
2019-02-19Jabber -> TinyXml2George Hazan
2019-01-28omemo: code cleaningGeorge Hazan
2019-01-04Update copyrightsdartraiden
2018-12-23in fact, we don't need mir_hmac_sha1 eitherGeorge Hazan
2018-10-01centralized system of processing message ids. also fixes #1375George Hazan
2018-05-03mir_forkThread<typename> - stronger typizatioin for thread function parameterGeorge Hazan
2018-04-27protocols: jabber: omemo:Gluzskiy Alexandr
- fixed aes decryption ( fixes #529 )
2018-04-26protocols: jabber: omemo:Gluzskiy Alexandr
- fixed memory leak on message decryption
2018-04-25protocols: jabber: omemoGluzskiy Alexandr
- fixed hmac_sha256 (used openssl based instead of broken internal implementation) - utf8 related fixes
2018-04-24protocols: jabber: omemoGluzskiy Alexandr
use c++ types
2018-04-24libs:Gluzskiy Alexandr
updated libsignal-c protocols: jabber: omemo: used 31bit device id instead of 32bit (32bit conflicts with conversations, not xep compliant)
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)