Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Trust all IdentityKeys | Andreas Straub | 2015-07-19 | 1 | -2/+3 |
| | | | | | | | | | 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. | ||||
* | Refresh PEP on session establish | Andreas Straub | 2015-07-19 | 1 | -0/+18 |
| | | | | | | | | 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. | ||||
* | Fix asynchronous axolotl message sending | Andreas Straub | 2015-07-19 | 2 | -8/+27 |
| | | | | | | | | | | 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. | ||||
* | Properly track message sender | Andreas Straub | 2015-07-19 | 3 | -15/+16 |
| | | | | | | | 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. | ||||
* | Rework PEP content verification | Andreas Straub | 2015-07-19 | 2 | -48/+62 |
| | | | | | | 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) | ||||
* | Formatting fixes | Andreas Straub | 2015-07-19 | 1 | -2/+2 |
| | |||||
* | When receiving, add mock session if none exists | Andreas Straub | 2015-07-19 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
* | Tag messages with originating session | Andreas Straub | 2015-07-19 | 2 | -0/+9 |
| | | | | | 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. | ||||
* | Fetch bundles on-demand, encrypt in background | Andreas Straub | 2015-07-19 | 5 | -65/+109 |
| | | | | | | | | | | | 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. | ||||
* | Use bareJid for own session retrieval | Andreas Straub | 2015-07-19 | 1 | -1/+1 |
| | |||||
* | Migrate to new PEP layout | Andreas Straub | 2015-07-19 | 4 | -147/+157 |
| | | | | Merge prekeys into bundle node | ||||
* | Formatting fixes | Andreas Straub | 2015-07-19 | 1 | -22/+22 |
| | |||||
* | Save IdentityKeys in database | Andreas Straub | 2015-07-19 | 2 | -47/+108 |
| | |||||
* | DatabaseBackend bugfixes | Andreas Straub | 2015-07-19 | 1 | -0/+5 |
| | | | | Don't leak cursors, initially create tables | ||||
* | Reformat code to use tabs | Andreas Straub | 2015-07-19 | 10 | -1115/+1115 |
| | | | | This really sucks to do it like this. Sorry. :( | ||||
* | Added axolotl activation code to UI | Andreas Straub | 2015-07-19 | 5 | -0/+80 |
| | |||||
* | Added PEP and message protocol layers | Andreas Straub | 2015-07-19 | 8 | -8/+509 |
| | | | | Can now fetch/retrieve from PEP, as well as encode/decode messages | ||||
* | Reworked axolotl protocol layer | Andreas Straub | 2015-07-19 | 8 | -95/+579 |
| | | | | Numerous fixes | ||||
* | CryptoNext Menu entries added | Andreas Straub | 2015-07-19 | 2 | -0/+4 |
| | |||||
* | CryptoNext persistance layer mockup | Andreas Straub | 2015-07-19 | 6 | -65/+841 |
| | | | | | Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme. | ||||
* | bugfix: don't crash if aes key could not be set before jingle transfer | Daniel Gultsch | 2015-07-19 | 1 | -1/+4 |
| | |||||
* | bugfix: use sendIqPacket method in service instead of invoking ↵ | Daniel Gultsch | 2015-07-19 | 1 | -3/+2 |
| | | | | XmppConnection directly | ||||
* | bugfix: accept status code 201 on http upload | Daniel Gultsch | 2015-07-19 | 1 | -1/+1 |
| | |||||
* | changed switch widget | Daniel Gultsch | 2015-07-18 | 32 | -7/+131 |
| | |||||
* | pulled translations | Daniel Gultsch | 2015-07-18 | 7 | -1/+15 |
| | |||||
* | account for downloaded http files in dup checker | Daniel Gultsch | 2015-07-18 | 1 | -8/+18 |
| | |||||
* | code cleanup | Daniel Gultsch | 2015-07-17 | 1 | -1/+1 |
| | |||||
* | fixed inactive http download | Daniel Gultsch | 2015-07-17 | 1 | -1/+1 |
| | |||||
* | show error message in account details when info has not been edited | Daniel Gultsch | 2015-07-17 | 1 | -1/+1 |
| | |||||
* | increased ibb block size | Daniel Gultsch | 2015-07-17 | 2 | -4/+2 |
| | |||||
* | version bump to 1.5.0-beta.2 | Daniel Gultsch | 2015-07-16 | 1 | -1/+1 |
| | |||||
* | even less jumpy | Daniel Gultsch | 2015-07-16 | 1 | -1/+3 |
| | |||||
* | fixed some ux glitches in editaccount | Daniel Gultsch | 2015-07-16 | 3 | -9/+9 |
| | |||||
* | removed empty translation file | Daniel Gultsch | 2015-07-16 | 1 | -2/+0 |
| | |||||
* | made 'check image on http host' message more generic. fixed #1281 | Daniel Gultsch | 2015-07-16 | 28 | -104/+334 |
| | |||||
* | fixed some npes | Daniel Gultsch | 2015-07-16 | 1 | -4/+11 |
| | |||||
* | fixed crash on invalid muc bookmarks | Daniel Gultsch | 2015-07-15 | 1 | -3/+7 |
| | |||||
* | renamed colors | Daniel Gultsch | 2015-07-13 | 36 | -165/+162 |
| | |||||
* | catch exception on broken android phones | Daniel Gultsch | 2015-07-12 | 1 | -1/+7 |
| | |||||
* | made lock button reflect encryption status of the next messages instead of ↵ | Daniel Gultsch | 2015-07-12 | 1 | -16/+10 |
| | | | | the last | ||||
* | only try to change affilations for known jids | Daniel Gultsch | 2015-07-11 | 1 | -1/+1 |
| | |||||
* | try to catch weird npe in android sdk | Daniel Gultsch | 2015-07-11 | 1 | -0/+2 |
| | |||||
* | null check otr fingerprint before display | Daniel Gultsch | 2015-07-11 | 1 | -1/+3 |
| | |||||
* | renamed HttpConnection to HttpDownloadConnection | Daniel Gultsch | 2015-07-10 | 6 | -19/+19 |
| | |||||
* | renamed downloadable to transferable | Daniel Gultsch | 2015-07-10 | 14 | -101/+87 |
| | |||||
* | get file upload ready to work with https | Daniel Gultsch | 2015-07-10 | 3 | -38/+53 |
| | |||||
* | display toast in ui on failed http download | Daniel Gultsch | 2015-07-10 | 7 | -36/+105 |
| | | | | fixes #954 | ||||
* | show timestamp on images in mucs | Daniel Gultsch | 2015-07-10 | 1 | -1/+1 |
| | | | | fixes #1178 | ||||
* | added null check in sasl response verifier | Daniel Gultsch | 2015-07-10 | 1 | -1/+1 |
| | |||||
* | catch number format exception in server ack | Daniel Gultsch | 2015-07-10 | 1 | -10/+14 |
| |