Commit Graph

3536 Commits

Author SHA1 Message Date
Paul Schaub ce5b5f88ef
Rebase on master 2018-06-09 14:29:18 +02:00
Paul Schaub 19a91794c6 Dont add EME hint to ratchet update messages 2018-06-09 14:00:03 +02:00
Paul Schaub 2c605e9153 Bump bouncycastle to 1.59 2018-06-09 14:00:03 +02:00
Paul Schaub 2d70b2301f Fix checkstyle issue 2018-06-09 13:59:36 +02:00
Paul Schaub 04bc887960 Avoid ConcurrentModificationException 2018-06-09 13:59:36 +02:00
Paul Schaub 7a4977181f Fix NPE if MUC occupants cannot be retrieved 2018-06-09 13:59:36 +02:00
Paul Schaub 15083fa3b0 Stale devices: Consider date of deviceId publication 2018-06-09 13:59:36 +02:00
Paul Schaub 38d9d96d1f Use set instead of list for handling OmemoDevice 2018-06-09 13:59:36 +02:00
Paul Schaub 2d79cc981f Preserve OmemoConfiguration values 2018-06-09 13:59:36 +02:00
Paul Schaub 411104e7bc Fix javadoc 2018-06-09 13:59:36 +02:00
Paul Schaub 715df556f4 Fix javadoc (thanks cmeng) 2018-06-09 13:59:36 +02:00
Paul Schaub 8751138e19 Add method to establish fresh session 2018-06-09 13:59:36 +02:00
Paul Schaub f5b199158d Temp commit - migration guide 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 ba0b81f750 Add method to decrypt OmemoElements from a MamQueryResult 2018-06-09 13:59:36 +02:00
Paul Schaub 2b71b20a3e Add method to manually decrypt OmemoElement 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 ebf7969954 Update omemo.md 2018-06-09 13:59:36 +02:00
Paul Schaub 1cbc112c88 Remove unused code, rafactor 2018-06-09 13:59:36 +02:00
Paul Schaub 28cabf00ee CachingOmemoStore: check for nullity of wrapped store 2018-06-09 13:59:36 +02:00
Paul Schaub f3403571a7 Rewrite integration tests 2018-06-09 13:59:36 +02:00
Paul Schaub 8b8c6e190a Repair broken session with preKeyMessage 2018-06-09 13:59:36 +02:00
Paul Schaub a90e37ba53 Documentation 2018-06-09 13:59:36 +02:00
Paul Schaub ddb1f11c5a Fix AOoBE 2018-06-09 13:59:36 +02:00
Paul Schaub 20cca54ec2 Sending messages works again 2018-06-09 13:59:36 +02:00
Paul Schaub 9c7a027b62 Fix NPE 2018-06-09 13:59:36 +02:00
Paul Schaub c287345ce7 Fix fetchDeviceList bug, async listeners 2018-06-09 13:59:36 +02:00
Paul Schaub a10bab80cb Fix deviceList listener and subscribe to lists 2018-06-09 13:59:36 +02:00
Paul Schaub daf9ef94cd Delete old classes, fix javadoc errors 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 e5cdd89edc Ignore stale devices when encrypting 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
Paul Schaub 4e5cf82795 Simplfiy OmemoKeyUtil generics 2018-06-09 13:57:51 +02:00
Paul Schaub b0acf0bcc3 Temp commit 2018-06-09 13:57:51 +02:00
Paul Schaub 0530449e7e Fix rebase errors 2018-06-09 13:53:04 +02:00
Paul Schaub 85171ee71b Temp commit 2018-06-09 13:53:04 +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 fb7a22a761 Smack 4.2.5-SNAPSHOT 2018-06-09 13:44:40 +02:00
Florian Schmaus a89f3458f2
Merge pull request #239 from vanitasvitae/fileutils
Add method to delete directory
2018-05-22 09:40:21 +02:00
Paul Schaub 168e9398e3
Add method to delete directory 2018-05-21 12:35:25 +02:00
Paul Schaub 27c77fcb1c Add utility methods
ParserUtils: getShortAttribute
XmlStringBuilder: attribute(String, long), optAttribute(String, Long)
2018-05-20 11:27:52 +02:00
Florian Schmaus 84f282befe Add XMPPConnection trySendStanza() 2018-05-16 14:49:53 +02:00
Florian Schmaus c7697ea9d0 Add ArrayBlockingQueueWithShutdown.tryPut(E) 2018-05-16 07:57:50 +02:00
Florian Schmaus 59ac41faef README.md: Fix openhub.net link, remove Flattr 2018-05-13 21:21:49 +02:00
Florian Schmaus 0a55ca2e75 Smack 4.4.0-alpha1-SNAPSHOT 2018-05-12 19:47:48 +02:00
Florian Schmaus 0cdd80b09e Smack 4.3.0-beta2 2018-05-12 17:10:02 +02:00
Florian Schmaus fd97f5ba0b Use a CopyOnWriteArraySet for joinedRooms
Since it is accessed concurrently. And also may cause a
ConcurrentModificationException when the MultiUserChatManager tries to
re-join the joined rooms.

Fixes SMACK-819.
2018-05-10 20:30:24 +02:00