aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmppomemodata/tst_qxmppomemodata.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement XEP-0384: OMEMO Encryption v0.8Melvin Keskin2022-08-131-1/+1
| | | | | | | | | | | | | | | 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>
* Message: Initialize message type directly as 'chat'Melvin Keskin2022-06-141-2/+2
| | | | | | | | Previously the type had been set to Normal first and then to Chat. There's no change in behviour. The changes to the unit test qxmppomemodata are just for consistency. Signed-off-by: Linus Jahn <lnj@kaidan.im>
* tests: OmemoData: Add test for OmemoIqMelvin Keskin2022-04-081-0/+61
|
* Make OMEMO data classes privateMelvin Keskin2022-04-071-5/+88
|
* OmemoDeviceBundle: Use methods for adding / removing public pre keysMelvin Keskin2022-04-071-1/+7
|
* OmemoDeviceBundle: Use QHash instead of QMap for public pre keysMelvin Keskin2022-04-071-5/+31
|
* tests: OmemoData: Add function for checking multiple XML stringsMelvin Keskin2022-04-071-0/+26
|
* Use QVERIFY instead of QCOMPARE for 'doc.setContent(xml, true)'Melvin Keskin2022-03-161-5/+5
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-23/+4
|
* 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-14/+14
| | | | | | * 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
* Add QXmppOmemoElementMelvin Keskin2021-09-031-0/+171
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoEnvelopeMelvin Keskin2021-09-031-0/+75
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoDeviceBundleMelvin Keskin2021-09-031-0/+72
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoDeviceListMelvin Keskin2021-09-031-0/+62
| | | | Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>
* Add QXmppOmemoDeviceElementMelvin Keskin2021-09-031-0/+105
Co-authored-by: Germán Márquez Mejía <mancho@olomono.de>