Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | enable axolotl encryption for jingle supported file transfers | Daniel Gultsch | 2015-08-01 | 10 | -138/+223 |
| | |||||
* | Provide process function for key transport message | Andreas Straub | 2015-07-31 | 4 | -19/+84 |
| | |||||
* | Refactor axolotl message processing workflow | Andreas Straub | 2015-07-31 | 7 | -157/+121 |
| | | | | | | | | | | | | | | XmppAxolotlMessage is now entirely responsible for handling encryption and decryption of messages, only leveraging XmppAxolotlSession as a packing/unpacking primitive for payload keys. Removed pseudo-dead session generation code step from prepareMessage function, as sessions have been created by invoking the TrustKeysActivity for a while now. Added prepareKeyTransportMessage function, which creates a message with no payload. The key that is packed into the header keyElements can then be used for other purposes (e.g. encrypted file transfer). | ||||
* | Reformat code | Andreas Straub | 2015-07-31 | 3 | -86/+87 |
| | |||||
* | Change to new wire protocol version | Andreas Straub | 2015-07-31 | 5 | -73/+112 |
| | |||||
* | added missing carbon column message table create statement | Daniel Gultsch | 2015-07-31 | 1 | -0/+1 |
| | | | | fixes #1310 | ||||
* | improved 'next encryption' selection | Daniel Gultsch | 2015-07-31 | 6 | -73/+69 |
| | |||||
* | Fix session logic: enforce same type of encryption | Andreas Straub | 2015-07-30 | 2 | -25/+34 |
| | |||||
* | fixed some colors in message adapter | Daniel Gultsch | 2015-07-30 | 2 | -26/+32 |
| | |||||
* | use gcm for file encryption over http | Daniel Gultsch | 2015-07-29 | 6 | -104/+127 |
| | |||||
* | Reset lock color for non-axolotl messages | Andreas Straub | 2015-07-29 | 1 | -0/+2 |
| | |||||
* | Highlight selected message's fingerprint in list | Andreas Straub | 2015-07-29 | 5 | -13/+32 |
| | |||||
* | Rerender message bubbles on encryption change | Andreas Straub | 2015-07-29 | 1 | -0/+1 |
| | |||||
* | Tag carbon messages in parser, adapt session logic | Andreas Straub | 2015-07-29 | 4 | -7/+32 |
| | | | | | | Messages sent from another device of the own account are now explicitly tagged as carboned message. The session detection logic now uses this tag to find "session borders". | ||||
* | Fix NPE: consider unknown keys UNDECIDED | Andreas Straub | 2015-07-29 | 1 | -1/+2 |
| | |||||
* | Color plaintext messages in encrypted sessions red | Andreas Straub | 2015-07-29 | 1 | -0/+30 |
| | | | | | | | | | Plaintext messages that were received while in an encrypted session are now colored red. We define "in an encrypted session" if a) the last message sent by our own device before the message under consideration (or any message received between then and now) was encrypted AND b) the next message will be sent encrypted or the next message sent after the one under consideration was sent encrypted | ||||
* | Improve trust toggle responsiveness | Andreas Straub | 2015-07-29 | 1 | -6/+1 |
| | | | | Removed unnecessary UI refreshes, explicitly update UI where needed. | ||||
* | Refactor out inner classes, cache trust store | Andreas Straub | 2015-07-29 | 10 | -709/+760 |
| | | | | | | | Moves SQLiteAxolotlStore and XmppAxolotlSession into proper classes. IdentityKeys trust statuses are now cached in an LruCache to prevent hammering the database when rendering the UI. | ||||
* | show http downloaded images in notification | Daniel Gultsch | 2015-07-29 | 1 | -2/+3 |
| | |||||
* | removed recursion in message.getMerged*() | Daniel Gultsch | 2015-07-28 | 1 | -13/+19 |
| | |||||
* | changed logging. (work around logcat null pointer | Daniel Gultsch | 2015-07-28 | 2 | -2/+1 |
| | |||||
* | log reason for message failure | Daniel Gultsch | 2015-07-28 | 1 | -0/+7 |
| | |||||
* | set time on resend to current time | Daniel Gultsch | 2015-07-28 | 1 | -1/+2 |
| | | | | | fixes #1298 fixes #919 | ||||
* | rewrote dns fallback | Daniel Gultsch | 2015-07-24 | 2 | -9/+9 |
| | |||||
* | call refreshUi directly | Daniel Gultsch | 2015-07-24 | 1 | -1/+1 |
| | |||||
* | switch/case can't deal with null pointers | Daniel Gultsch | 2015-07-23 | 1 | -0/+3 |
| | |||||
* | show warning when trying to highlight users that have left the conference | Daniel Gultsch | 2015-07-22 | 2 | -5/+21 |
| | |||||
* | treat private, non-anonymous mucs like 1:1 chats notification wise | Daniel Gultsch | 2015-07-22 | 2 | -1/+8 |
| | |||||
* | Always build own device session automatically | Andreas Straub | 2015-07-22 | 1 | -6/+13 |
| | |||||
* | add no-store to chat states | Daniel Gultsch | 2015-07-22 | 1 | -0/+2 |
| | |||||
* | use type=chat more often to go along with new, simple carbon and mam rules | Daniel Gultsch | 2015-07-22 | 2 | -12/+15 |
| | | | | | * change chat states to type=chat and chat markers to type=chat * use same type as requesting stanza for delivery receipts (which should make them type=chat most of the time) | ||||
* | use 'interactive mode' when starting downloads from the context menu | Daniel Gultsch | 2015-07-22 | 3 | -3/+2 |
| | |||||
* | Hide regenerate keys button | Andreas Straub | 2015-07-22 | 2 | -10/+15 |
| | | | | Can re-enable it via Config.java setting | ||||
* | Disable trust toggle completely for INACTIVE keys | Andreas Straub | 2015-07-22 | 1 | -0/+1 |
| | |||||
* | made image file format configurable by Config.java | Daniel Gultsch | 2015-07-21 | 3 | -8/+18 |
| | |||||
* | fixed npe in error message handling | Daniel Gultsch | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | Add INACTIVE state for removed keys | Andreas Straub | 2015-07-21 | 8 | -40/+101 |
| | | | | | | | | | | | | | We introduce a new trust state: INACTIVE. This state is intended for old keys that have been removed. When a TRUSTED device is removed from the PEP devicelist, it's status will be set to INACTIVE. INACTIVE keys are shown in the UI as greyed out, non-interactible key rows. Messages are not encrypted for INACTIVE devices. When an INACTIVE device reappears in PEP, or a message is received from an INACTIVE device, it is set back to trusted. | ||||
* | Fill own device sessions into SessionMap | Andreas Straub | 2015-07-21 | 1 | -7/+14 |
| | |||||
* | allow for private messages being started from muc details in anonymous mucs | Daniel Gultsch | 2015-07-21 | 3 | -15/+42 |
| | |||||
* | and now do that properly | Daniel Gultsch | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | end otr session when receiving failed otr message warnings | Daniel Gultsch | 2015-07-21 | 1 | -1/+7 |
| | |||||
* | bugfix: also add no-permanent-storage to message hints | Daniel Gultsch | 2015-07-21 | 2 | -1/+2 |
| | |||||
* | bugfix: changed condition of onOtrSessionEstablished being called | Daniel Gultsch | 2015-07-21 | 1 | -6/+6 |
| | | | | | | fixed #1263 fixed #1260 fixed #1293 | ||||
* | Use properly fixed numeral values in Trust enum | Andreas Straub | 2015-07-21 | 2 | -9/+31 |
| | | | | Why, oh God, why?! #thanksjamesgosling | ||||
* | Remove unused import | Andreas Straub | 2015-07-21 | 1 | -1/+0 |
| | |||||
* | Switch payload encryption to AES-GCM | Andreas Straub | 2015-07-21 | 3 | -17/+46 |
| | | | | This also ensures that the IV is generated with proper randomness. | ||||
* | Also decrypt messages from UNTRUSTED sessions | Andreas Straub | 2015-07-20 | 1 | -1/+1 |
| | |||||
* | Refactor axolotl send processing/caching flow | Andreas Straub | 2015-07-20 | 3 | -17/+16 |
| | |||||
* | Start TrustKeysActivity if no keys are TRUSTED | Andreas Straub | 2015-07-20 | 3 | -10/+21 |
| | | | | | If there are no UNDECIDED keys, but none of the contact's keys are trusted, redirect the user to the TrustKeysActivity | ||||
* | Do not display clear devices button if not online | Andreas Straub | 2015-07-20 | 1 | -0/+1 |
| |