| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Closes #502.
Co-authored-by: Jonah BrĂ¼chert <jbb@kaidan.im>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This implements XEP-0384 in version v0.8 with a manager and storage
classes to be user-implemented for persistant storage.
The license of the code is LGPL-2.1-or-later as usual. However since
libomemo-c (libsignal-protocol-c) is GPL-3.0, the built binary is always
licensed under GPL-3.0. Having our code LGPL licensed will make it
avoids relicensing in the future in case we port it to an LGPL
compatible omemo library.
Closes #133.
Co-authored-by: Linus Jahn <lnj@kaidan.im>
|
| |
|
|
|
| |
This avoids the need to include the whole TrustStorage in files like
SendStanzaParams.h.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
QXmppTrustStorage is now the base class for all trust storages used by
end-to-end encryption managers.
QXmppAtmTrustStorage is used by QXmppAtmManager.
QXmppTrustMemoryStorage is now the base class for all trust storages
that use the memory for storing data.
QXmppAtmTrustMemoryStorage can be used by QXmppAtmManager.
Methods needed by the upcoming OMEMO implementation are added.
Some existing methods are refactored.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* OMEMO has namespace 'urn:xmpp:omemo:2' and uses SCE 0.4 now
* TM has namespace 'urn:xmpp:tm:1' and uses Base64 for key identifiers
* ATM uses Base64 for key identifiers
|
| | |
|
| |
|
|
| |
This avoid many additional copies and comparisons.
|
| |
|
|
| |
Some implementations may require non-const access.
|
| | |
|
| |
|