Commit Graph

20 Commits

Author SHA1 Message Date
Paul Schaub ce5b5f88ef
Rebase on master 2018-06-09 14:29:18 +02:00
Paul Schaub 2d79cc981f Preserve OmemoConfiguration values 2018-06-09 13:59:36 +02:00
Paul Schaub 4fd2300a2f Add decryption of MamQueryResults + Inttest 2018-06-09 13:59:36 +02:00
Paul Schaub 0a681f7353 Replace hacks with synchronized call 2018-06-09 13:59:36 +02:00
Paul Schaub f3403571a7 Rewrite integration tests 2018-06-09 13:59:36 +02:00
Paul Schaub 50f8a4f1fe Reimplement encryption, solve compiler errors 2018-06-09 13:59:36 +02:00
Paul Schaub 7bff6e7d99 Fix some issues and delete old code. 2018-06-09 13:59:36 +02:00
Paul Schaub 2db7717abc Temp commit 2018-06-09 13:59:01 +02:00
vanitasvitae 9a779ff8aa Refactoring 2018-06-09 13:53:04 +02:00
vanitasvitae 53b70da90e Add SessionRenegotiationIntegrationTest 2018-06-09 13:53:04 +02:00
vanitasvitae 36dae1ece4 Move trust management from OmemoStore to TrustCallback
Refactor various method names to more precisely reflect
what happens

Introduce CachingOmemoStore, SignalCachingOmemoStore,
which can be either used standalone as ephemeral OmemoStore
implementations, or as wrappers around other implementations
to add a cache layer for reduced storage access.

Get rid of "isFreshInstallation". Keys are now - given
that they don't exist - generated on startup.

Bump libsignal-protocol-java to 2.6.2

Prevent offline access to some functions which require
authenticated connection

Create more advanced unit tests and integration tests

Add async initialization function for OmemoManager

Remove session handling from smack-omemo.
This is now handled - in case of smack-omemo-signal -
solely by libsignal-protocol-java
2018-06-09 13:53:04 +02:00
Florian Schmaus e8923b9d16 Enable trailing whitespace checkstyle check
for all source code regions, including javadoc.
2018-05-09 23:26:39 +02:00
Florian Schmaus ad87243060 Globally 's;stanza(/packet);stanza;' 2018-03-31 14:17:30 +02:00
Florian Schmaus 3132d9a224 Bump errorprone to 2.2.0 2018-03-28 15:56:04 +02:00
Paul Schaub cb18056613 Fix minor codestyle issues 2017-12-17 11:03:46 +01:00
Florian Schmaus 9e11b68144 Add comment style checkstyle rule requiring a space 2017-11-20 08:53:19 +01:00
vanitasvitae 8052ee752b Add missing cleanup in Omemo integrationtest 2017-08-14 21:14:28 +02:00
Florian Schmaus 772e45da92 Introduce NotAPubSubNodeException
Fixes SMACK-759.
2017-08-14 20:23:35 +02:00
Florian Schmaus 08e897113d Add CustomImportOrder checkstyle rule
And matching ImportOrder settings for Eclipse in
resources/eclipse/smack.importorder
2017-06-14 17:12:43 +02:00
vanitasvitae e86700b040 Add OMEMO support
This commit adds the modules smack-omemo and smack-omemo-signal.
smack-omemo is licensed under the Apache license like the rest of the smack project.
smack-omemo-signal on the other hand is licensed under the GPLv3.
Due to the fact, that smack-omemo is not of much use without smack-omemo-signal,
the OMEMO feature can currently only be used by GPLv3 compatible software.
This may change in the future, when a more permissively licensed module becomes available.

Fixes SMACK-743.
2017-06-02 13:40:10 +02:00