aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppTrustMemoryStorage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement XEP-0384: OMEMO Encryption v0.8Melvin Keskin2022-08-131-0/+2
| | | | | | | | | | | | | | | 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>
* Move SecurityPolicy, TrustLevel intro extra headersLinus Jahn2022-06-181-10/+11
| | | | | This avoids the need to include the whole TrustStorage in files like SendStanzaParams.h.
* Add QXmppTrustManager as base of trust managers such as QXmppAtmManagerMelvin Keskin2022-05-061-9/+17
|
* Add parameter 'keyOwnerJid' to trust storages' 'trustLevel()'Melvin Keskin2022-03-071-2/+2
|
* Split up ATM parts of trust storage and refactor (#388)Melvin Keskin2022-01-151-136/+85
| | | | | | | | | | | | 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.
* Convert copyright headers to REUSELinus Jahn2022-01-141-22/+3
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* Update to OMEMO 0.8, TM 0.6 and ATM 0.4Melvin Keskin2021-10-101-19/+19
| | | | | | * 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
* TrustMemStorage: Remove now unused comparison operatorsLinus Jahn2021-09-301-15/+0
|
* TrustMemStorage: Use correct way for removing from QMultiHashLinus Jahn2021-09-301-32/+22
| | | | This avoid many additional copies and comparisons.
* TrustStorage: Remove unnecessary const constraintLinus Jahn2021-09-301-3/+3
| | | | Some implementations may require non-const access.
* TrustMemoryStorage: Add security policiesMelvin Keskin2021-09-251-0/+21
|
* Add QXmppTrustMemoryStorageMelvin Keskin2021-09-161-0/+320