Age | Commit message (Collapse) | Author |
|
- fix possible crash on early session negotiation
|
|
|
|
|
|
|
|
62202ed10617927d5429bc59898e12a366abe744)
|
|
|
|
https://xmpp.org/extensions/xep-0384.html
|
|
|
|
* replace 0/NULL with nullptr [using clang-tidy]
|
|
|
|
used newest xep-0384 (https://xmpp.org/extensions/xep-0384.html) instead of https://conversations.im/xeps/multi-end.html (they are incompatible)
|
|
properly refresh used prekeys and reannounce bundle
|
|
|
|
aes_128_gcm: disabled any aad/tag related cals as it's not described at all in omemo xep
|
|
implemented message queue for messages received/sendt before omemo sessions created //this solve problem with loosing first message
|
|
|
|
|
|
fixed decryption logic bug appeared due to my misunderstanding of omemo sessions concept
|
|
|
|
creation
|
|
|
|
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)
|
|
better init/deinit
|
|
respect omemo option (do not do unnecessary allocations/cleanup)
|
|
attached all account related data to protocol instances
better logging
|
|
|
|
|
|
used strtoul instead of _wtoll which is better way to convert string to unsigned long because it's portable c++ function
|
|
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")
|
|
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
|
|
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
|
|
|
|
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
|
|
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)
|
|
|
|
This reverts commit 3919b8b2d5270a41cbad66158165a4101b230e95.
returning 26092086b62afd9bdef93f4756ae7558ec681e9a to the original state
|
|
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 '}'
|
|
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
|
|
fixed bug with resident db settings
fixed design of per contact memory data storage for signal related structures
|
|
4.5 is next
|
|
finished implementation of signal store backend
basic session creation tests done
|
|
|
|
fixed few memory leaks in signal store backend
implemented prekey and signed prekey signal store backends //one left
|
|
finished first part of data backend implementation for libsignal (3 left to do) //untested
|
|
implementing signal session store backend
|
|
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.
|
|
implemented sessions cleanup on exit
|
|
libsignal session store callbacks skeleton
|
|
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)
|
|
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
|