aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmppatmmanager/tst_qxmppatmmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Disable Qt keywords completelyLinus Jahn2022-12-261-30/+29
| | | | | | | | | | | | | | | Previously we had the policy that no qt keywords were allowed in headers that may be included by users. However since there was no automatic test verifying that in some places keywords were still used. This now disables qt keywords completely, also in tests and examples. Qt keywords are in general no good or really good idea as they even conflict with the standard library (`emit` at least). In some cases in the examples I just removed the slot tag if the functions didn't need to be slots (anymore). Closes #503.
* Stanza: Move E2eeMetadata into own header fileLinus Jahn2022-07-111-0/+1
|
* Move SecurityPolicy, TrustLevel intro extra headersLinus Jahn2022-06-181-89/+91
| | | | | 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-97/+97
|
* tests: AtmManager: Apply clang-format after replacing '->' with '.'Melvin Keskin2022-04-011-118/+118
|
* tests: AtmManager: Do not use pointer for 'm_manager'Melvin Keskin2022-03-291-22/+21
|
* AtmManager: Fix memory leaks in tests and apply clang-formatMelvin Keskin2022-03-291-91/+90
|
* tests: atm manager/trust storage: Fix use of unexported symbolsLinus Jahn2022-03-171-1/+4
|
* tests: Fix odr-violation in atmmanager/truststorage testsLinus Jahn2022-03-161-1/+0
|
* Add parameter 'keyOwnerJid' to trust storages' 'trustLevel()'Melvin Keskin2022-03-071-0/+8
|
* Stanza: Make E2eeMetadata optional to avoid allocationLinus Jahn2022-03-031-1/+1
| | | | | | | | | | | Avoids an allocation of the E2eeMetadataPrivate object when it's not used. It doesn't use optional<E2eeMetadata> directly because that wouldn't avoid the allocation and takes up 16 bytes instead of 8. This concept could be generalized and used elsewhere in the code (e.g. extended addresses in the stanza are unused 99% of the time).
* Add QXmppE2eeMetadata used by QXmppStanzaMelvin Keskin2022-03-031-3/+7
| | | | | | That class contains addtional data needed for end-to-end encryption purposes. 'senderKey' is moved from QXmppMessage to QXmppE2eeMetadata. 'sceTimestamp' is introduced.
* Split up ATM parts of trust storage and refactor (#388)Melvin Keskin2022-01-151-7/+9
| | | | | | | | | | | | 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-296/+296
| | | | | | * 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
* AtmManager: Use security policiesMelvin Keskin2021-09-251-15/+58
|
* Add QXmppAtmManagerMelvin Keskin2021-09-161-0/+2054