Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix displaying Contact IdentityKeys | Andreas Straub | 2015-07-19 | 2 | -65/+2 |
| | | | | | Migrate ContactDetailsActivity to use new SQL IdentityKeys storage, remove dead code from Contact class. | ||||
* | Only cache session if successfully established | Andreas Straub | 2015-07-19 | 1 | -1/+6 |
| | | | | | | | | 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. | ||||
* | Return empty set on invalid PEP devicelist | Andreas Straub | 2015-07-19 | 2 | -19/+20 |
| | |||||
* | 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 | 7 | -65/+842 |
| | | | | | Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme. | ||||
* | shut up linter | Daniel Gultsch | 2015-07-19 | 1 | -1/+1 |
| | |||||
* | 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 | 39 | -8/+914 |
| | |||||
* | bump version to 1.5.0 | Daniel Gultsch | 2015-07-18 | 1 | -2/+2 |
| | |||||
* | 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 | 2 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | Merge branch 'development' of github.com:siacs/Conversations into development | Daniel Gultsch | 2015-07-16 | 1 | -3/+2 |
|\ | |||||
| * | Merge pull request #1285 from kriztan/patch-2 | Daniel Gultsch | 2015-07-16 | 1 | -1/+0 |
| |\ | | | | | | | fixed another typo | ||||
| | * | fixed another typo | Christian S. | 2015-07-16 | 1 | -1/+0 |
| |/ | |||||
| * | Merge pull request #1283 from Manouchehri/development | Daniel Gultsch | 2015-07-16 | 1 | -1/+1 |
| |\ | | | | | | | Fixed broken URL. | ||||
| | * | Fixed broken URL. | David Manouchehri | 2015-07-15 | 1 | -1/+1 |
| | | | | | | | | | The HTTPS server is throwing GitHub's certificate instead of a proper one, so I'm going to stick with HTTP for now. | ||||
| * | | Merge pull request #1284 from kriztan/patch-1 | Daniel Gultsch | 2015-07-16 | 1 | -1/+1 |
| |\ \ | | |/ | |/| | fixed typo | ||||
| | * | fixed typo | Christian S. | 2015-07-16 | 1 | -1/+1 |
| |/ | |||||
* | | 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 |
|/ | |||||
* | mention http upload component in readme | Daniel Gultsch | 2015-07-15 | 1 | -1/+5 |
| | |||||
* | fixed crash on invalid muc bookmarks | Daniel Gultsch | 2015-07-15 | 1 | -3/+7 |
| |