8fd46d4
Adapt prettifyFingerprint() to axolotl FP sizes
Andreas Straub created
8fd46d4
Adapt prettifyFingerprint() to axolotl FP sizes
Andreas Straub created
491f623
Fix displaying Contact IdentityKeys
Migrate ContactDetailsActivity to use new SQL IdentityKeys storage, remove dead code from Contact class.
Andreas Straub created
0cf6485
Only cache session if successfully established
When receiving a message, only remember the XmppAxolotlSession wrapper if the prospective session was actually established. This prevents us from erroneously adding empty sessions that are never established using received PreKeyWhisperMessages, which would lead to errors if we try to use them for sending.
Andreas Straub created
6867b5c
Return empty set on invalid PEP devicelist
Andreas Straub created
25450bf
Trust all IdentityKeys
The trust-on-first-use policy leads to problems when receiving messages from two different devices of a contact before sending a message to them (as their IdentityKeys will not have been added yet). Since session trust will be managed externally anyway, this change is not a security problem, and will allow us to decrypt messages from yet-untrusted sessions.
Andreas Straub created
bf4185a
Refresh PEP on session establish
We now track preKeys used to establish incoming sessions with us. On each new established session, we remove the used prekey from PEP. We have to do this because libaxolotl-java internally clears the used preKey from its storage, so we will not be able to establish any future sessions using that key.
Andreas Straub created
6960050
Fix asynchronous axolotl message sending
XmppConnectionService.sendMessage() now dispatches messages to the AxolotlService, where they only are prepared for sending and cached. AxolotlService now triggers a XmppConnectionService.resendMessage(), which then handles sending the cached message packet. This transparently fixes, e.g., handling of messages sent while we are offline.
Andreas Straub created
ec68703
Properly track message sender
Previously, the sender was assumed to be the conversation counterpart. This broke carboned own-device messages. We now track the sender properly, and also set the status (sent by one of the own devices vs received from the counterpart) accordingly.
Andreas Straub created
18c1e15
Rework PEP content verification
Now checks which part(s) are out of sync w/ local storage, and updates only those, rather than assuming the entire node corrupt and overwriting it all (especially relevant for preKey list)
Andreas Straub created
9a0232f
Formatting fixes
Andreas Straub created
992cf56
When receiving, add mock session if none exists
We need a session object in order to build a session from a PreKeyWhisperMessage, so add an empty one when none exists on receiving a message. Warning: this will break right now if the session can not be constructed from the received message.There will be an invalid session which will break if we try to send using it.
Andreas Straub created
1b0596d
Tag messages with originating session
This can be used later in order to display trust status of messages, as well as for potential resending of messages in case of preKey conflicts.
Andreas Straub created
3815d4e
Fetch bundles on-demand, encrypt in background
Bundles are now fetched on demand when a session needs to be established. This should lessen the chance of changes to the bundles occuring before they're used, as well as lessen the load of fetching bundles. Also, the message encryption is now done in a background thread, as this can be somewhat costly if many sessions are present. This is probably not going to be an issue in real use, but it's good practice anyway.
Andreas Straub created
cb7980c
Use bareJid for own session retrieval
Andreas Straub created
c1d23b2
Migrate to new PEP layout
Merge prekeys into bundle node
Andreas Straub created
6492801
Formatting fixes
Andreas Straub created
74026b7
Save IdentityKeys in database
Andreas Straub created
9e07fc5
DatabaseBackend bugfixes
Don't leak cursors, initially create tables
Andreas Straub created
299bbdf
Reformat code to use tabs
This really sucks to do it like this. Sorry. :(
Andreas Straub created
065519d
Added axolotl activation code to UI
Andreas Straub created
77619b5
Added PEP and message protocol layers
Can now fetch/retrieve from PEP, as well as encode/decode messages
Andreas Straub created
f73aa1a
Reworked axolotl protocol layer
Numerous fixes
Andreas Straub created
077932e
CryptoNext Menu entries added
Andreas Straub created
b8048a5
CryptoNext persistance layer mockup
Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme.
Andreas Straub created
c4f3e5b
shut up linter
Daniel Gultsch created
9b70c7e
bugfix: don't crash if aes key could not be set before jingle transfer
Daniel Gultsch created
5c017e5
bugfix: use sendIqPacket method in service instead of invoking XmppConnection directly
Daniel Gultsch created
0166ced
bugfix: accept status code 201 on http upload
Daniel Gultsch created
f58b2af
changed switch widget
Daniel Gultsch created
731e1dc
Merge branch 'development'
Daniel Gultsch created
451345f
bump version to 1.5.0
Daniel Gultsch created
15b880f
pulled translations
Daniel Gultsch created
ce527c8
account for downloaded http files in dup checker
Daniel Gultsch created
aa1b9de
code cleanup
Daniel Gultsch created
c3584a6
fixed inactive http download
Daniel Gultsch created
13cce17
show error message in account details when info has not been edited
Daniel Gultsch created
1f43115
increased ibb block size
Daniel Gultsch created
4f62793
version bump to 1.5.0-beta.2
Daniel Gultsch created
425f047
even less jumpy
Daniel Gultsch created
6a329c7
fixed some ux glitches in editaccount
Daniel Gultsch created
babbd38
removed empty translation file
Daniel Gultsch created
a31ab55
Merge branch 'development' of github.com:siacs/Conversations into development
Daniel Gultsch created
7bd6654
made 'check image on http host' message more generic. fixed #1281
Daniel Gultsch created
b477b8f
fixed some npes
Daniel Gultsch created
43fb216
Merge pull request #1285 from kriztan/patch-2
fixed another typo
Daniel Gultsch created
73e703e
fixed another typo
Christian S. created
3190f11
Merge pull request #1283 from Manouchehri/development
Fixed broken URL.
Daniel Gultsch created
1a36d21
Merge pull request #1284 from kriztan/patch-1
fixed typo
Daniel Gultsch created
612e8bd
fixed typo
Christian S. created
34aff6f
Fixed broken URL.
The HTTPS server is throwing GitHub's certificate instead of a proper one, so I'm going to stick with HTTP for now.
David Manouchehri created