Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor axolotl database recreation | Andreas Straub | 2015-07-07 | 1 | -8/+14 |
| | |||||
* | Adapt prettifyFingerprint() to axolotl FP sizes | Andreas Straub | 2015-07-07 | 2 | -6/+5 |
| | |||||
* | Fix displaying Contact IdentityKeys | Andreas Straub | 2015-07-07 | 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-05 | 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-05 | 2 | -19/+20 |
| | |||||
* | Trust all IdentityKeys | Andreas Straub | 2015-07-05 | 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-05 | 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-05 | 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-05 | 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-05 | 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-05 | 1 | -2/+2 |
| | |||||
* | When receiving, add mock session if none exists | Andreas Straub | 2015-07-05 | 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-05 | 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-05 | 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-05 | 1 | -1/+1 |
| | |||||
* | Migrate to new PEP layout | Andreas Straub | 2015-07-05 | 4 | -147/+157 |
| | | | | Merge prekeys into bundle node | ||||
* | Formatting fixes | Andreas Straub | 2015-07-05 | 1 | -22/+22 |
| | |||||
* | Save IdentityKeys in database | Andreas Straub | 2015-07-05 | 2 | -47/+108 |
| | |||||
* | DatabaseBackend bugfixes | Andreas Straub | 2015-07-05 | 1 | -0/+5 |
| | | | | Don't leak cursors, initially create tables | ||||
* | Reformat code to use tabs | Andreas Straub | 2015-07-05 | 10 | -1115/+1115 |
| | | | | This really sucks to do it like this. Sorry. :( | ||||
* | Added axolotl activation code to UI | Andreas Straub | 2015-07-05 | 5 | -0/+80 |
| | |||||
* | Added PEP and message protocol layers | Andreas Straub | 2015-07-05 | 8 | -8/+509 |
| | | | | Can now fetch/retrieve from PEP, as well as encode/decode messages | ||||
* | Reworked axolotl protocol layer | Andreas Straub | 2015-07-05 | 8 | -95/+579 |
| | | | | Numerous fixes | ||||
* | CryptoNext Menu entries added | Andreas Straub | 2015-07-05 | 2 | -0/+4 |
| | |||||
* | CryptoNext persistance layer mockup | Andreas Straub | 2015-07-05 | 7 | -65/+842 |
| | | | | | Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme. | ||||
* | refactored sendMessage and merged with resendMessage | Daniel Gultsch | 2015-07-05 | 2 | -148/+117 |
| | |||||
* | version bump to 1.4.7 | Daniel Gultsch | 2015-07-04 | 1 | -2/+2 |
| | |||||
* | make sure unread count is initialized as 0. fixes #1270 | Daniel Gultsch | 2015-07-03 | 1 | -1/+2 |
| | |||||
* | avoid very rare npe | Daniel Gultsch | 2015-07-03 | 2 | -2/+4 |
| | |||||
* | Merge branch 'master' into development | Daniel Gultsch | 2015-07-03 | 2 | -2/+3 |
|\ | |||||
| * | version bump to 1.4.61.4.6 | Daniel Gultsch | 2015-07-03 | 1 | -2/+2 |
| | | |||||
| * | added fallback for non-srv dns queries | Daniel Gultsch | 2015-07-03 | 1 | -0/+1 |
| | | |||||
* | | fixed share with activity to account for http file upload | Daniel Gultsch | 2015-07-02 | 2 | -43/+38 |
| | | |||||
* | | also offer http download for some 'well known extensions' | Daniel Gultsch | 2015-07-02 | 2 | -1/+4 |
| | | |||||
* | | refactored message context menu | Daniel Gultsch | 2015-07-02 | 5 | -43/+53 |
| | | |||||
* | | moved null check for to and from in message parser | Daniel Gultsch | 2015-07-02 | 1 | -5/+6 |
| | | |||||
* | | changed mime type handling | Daniel Gultsch | 2015-07-01 | 7 | -54/+555 |
| | | |||||
* | | Merge branch 'feature/http_upload' into development | Daniel Gultsch | 2015-06-30 | 22 | -232/+475 |
|\ \ | |||||
| * | | disable automatic aes encryption for the time being | Daniel Gultsch | 2015-06-30 | 1 | -1/+1 |
| | | | |||||
| * | | changed namespace of the http upload feature | Daniel Gultsch | 2015-06-30 | 1 | -1/+1 |
| | | | |||||
| * | | made httpconnection (download) ready all kind of filesfeature/http_upload | Daniel Gultsch | 2015-06-30 | 9 | -69/+74 |
| | | | |||||
| * | | made storage path decision entirely based upon file extension | Daniel Gultsch | 2015-06-30 | 1 | -2/+4 |
| | | | |||||
| * | | refactored bodyContainsDownloadable to be more flexible | Daniel Gultsch | 2015-06-30 | 5 | -37/+39 |
| | | | |||||
| * | | always show copy original url in context menu when url is available | Daniel Gultsch | 2015-06-30 | 1 | -2/+1 |
| | | | |||||
| * | | untested pgp support for http upload | Daniel Gultsch | 2015-06-29 | 2 | -6/+31 |
| | | | |||||
| * | | added trigger to Config.java to always enable aes encryption for uploaded files | Daniel Gultsch | 2015-06-29 | 2 | -0/+15 |
| | | | |||||
| * | | make quick actions available in conferences when file attachment is available | Daniel Gultsch | 2015-06-29 | 1 | -23/+28 |
| | | | |||||
| * | | show attach button in conferences when http upload is available | Daniel Gultsch | 2015-06-29 | 4 | -7/+14 |
| | | | |||||
| * | | initial http upload support | Daniel Gultsch | 2015-06-29 | 14 | -95/+278 |
| |/ | | | | | | | be careful: little error handling and no encryption | ||||
* / | updated changelog | Daniel Gultsch | 2015-06-29 | 1 | -0/+7 |
|/ |