Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 6 | -65/+841 |
| | | | | | 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 |
| | |||||
* | 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 | 1 | -0/+1 |
|\ | |||||
| * | 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 |
| | | |||||
* | | 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 | ||||
* | don't parse body from muc status messages | Daniel Gultsch | 2015-06-28 | 1 | -6/+7 |
| | |||||
* | fixed parsing of muc status messages in new message parser | Daniel Gultsch | 2015-06-28 | 1 | -6/+18 |
| | |||||
* | pulled new translations from transifex | Daniel Gultsch | 2015-06-23 | 2 | -3/+20 |
| | |||||
* | don't perform dns lookups on domain parts that obviously look like ip addresses | Daniel Gultsch | 2015-06-19 | 2 | -53/+67 |
| | |||||
* | changed paragraph divider | Daniel Gultsch | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | pulled new translations from transifex | Daniel Gultsch | 2015-06-10 | 2 | -0/+10 |
| | |||||
* | made i/o and memory intensive operations execute in serial order | Daniel Gultsch | 2015-06-05 | 2 | -11/+52 |
| | |||||
* | fixed obvious bug in dns helper | Daniel Gultsch | 2015-06-04 | 1 | -2/+2 |
| | |||||
* | streamlined dns helper by ignoring weight | Daniel Gultsch | 2015-06-04 | 1 | -55/+10 |
| |