aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-01enable axolotl encryption for jingle supported file transfersDaniel Gultsch10-138/+223
2015-07-31Provide process function for key transport messageAndreas Straub4-19/+84
2015-07-31Refactor axolotl message processing workflowAndreas Straub7-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).
2015-07-31Reformat codeAndreas Straub3-86/+87
2015-07-31Change to new wire protocol versionAndreas Straub5-73/+112
2015-07-31added missing carbon column message table create statementDaniel Gultsch1-0/+1
fixes #1310
2015-07-31improved 'next encryption' selectionDaniel Gultsch6-73/+69
2015-07-30Fix session logic: enforce same type of encryptionAndreas Straub2-25/+34
2015-07-30fixed some colors in message adapterDaniel Gultsch2-26/+32
2015-07-29use gcm for file encryption over httpDaniel Gultsch6-104/+127
2015-07-29Reset lock color for non-axolotl messagesAndreas Straub1-0/+2
2015-07-29Highlight selected message's fingerprint in listAndreas Straub5-13/+32
2015-07-29Rerender message bubbles on encryption changeAndreas Straub1-0/+1
2015-07-29Tag carbon messages in parser, adapt session logicAndreas Straub4-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".
2015-07-29Fix NPE: consider unknown keys UNDECIDEDAndreas Straub1-1/+2
2015-07-29Color plaintext messages in encrypted sessions redAndreas Straub1-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
2015-07-29Improve trust toggle responsivenessAndreas Straub1-6/+1
Removed unnecessary UI refreshes, explicitly update UI where needed.
2015-07-29Refactor out inner classes, cache trust storeAndreas Straub10-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.
2015-07-29show http downloaded images in notificationDaniel Gultsch1-2/+3
2015-07-28removed recursion in message.getMerged*()Daniel Gultsch1-13/+19
2015-07-28changed logging. (work around logcat null pointerDaniel Gultsch2-2/+1
2015-07-28log reason for message failureDaniel Gultsch1-0/+7
2015-07-28set time on resend to current timeDaniel Gultsch1-1/+2
fixes #1298 fixes #919
2015-07-24rewrote dns fallbackDaniel Gultsch2-9/+9
2015-07-24call refreshUi directlyDaniel Gultsch1-1/+1
2015-07-23switch/case can't deal with null pointersDaniel Gultsch1-0/+3
2015-07-22show warning when trying to highlight users that have left the conferenceDaniel Gultsch2-5/+21
2015-07-22treat private, non-anonymous mucs like 1:1 chats notification wiseDaniel Gultsch2-1/+8
2015-07-22Always build own device session automaticallyAndreas Straub1-6/+13
2015-07-22add no-store to chat statesDaniel Gultsch1-0/+2
2015-07-22use type=chat more often to go along with new, simple carbon and mam rulesDaniel Gultsch2-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)
2015-07-22use 'interactive mode' when starting downloads from the context menuDaniel Gultsch3-3/+2
2015-07-22Hide regenerate keys buttonAndreas Straub2-10/+15
Can re-enable it via Config.java setting
2015-07-22Disable trust toggle completely for INACTIVE keysAndreas Straub1-0/+1
2015-07-21made image file format configurable by Config.javaDaniel Gultsch3-8/+18
2015-07-21fixed npe in error message handlingDaniel Gultsch1-1/+1
2015-07-21Add INACTIVE state for removed keysAndreas Straub8-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.
2015-07-21Fill own device sessions into SessionMapAndreas Straub1-7/+14
2015-07-21allow for private messages being started from muc details in anonymous mucsDaniel Gultsch3-15/+42
2015-07-21and now do that properlyDaniel Gultsch1-1/+1
2015-07-21end otr session when receiving failed otr message warningsDaniel Gultsch1-1/+7
2015-07-21bugfix: also add no-permanent-storage to message hintsDaniel Gultsch2-1/+2
2015-07-21bugfix: changed condition of onOtrSessionEstablished being calledDaniel Gultsch1-6/+6
fixed #1263 fixed #1260 fixed #1293
2015-07-21Use properly fixed numeral values in Trust enumAndreas Straub2-9/+31
Why, oh God, why?! #thanksjamesgosling
2015-07-21Remove unused importAndreas Straub1-1/+0
2015-07-21Switch payload encryption to AES-GCMAndreas Straub3-17/+46
This also ensures that the IV is generated with proper randomness.
2015-07-20Also decrypt messages from UNTRUSTED sessionsAndreas Straub1-1/+1
2015-07-20Refactor axolotl send processing/caching flowAndreas Straub3-17/+16
2015-07-20Start TrustKeysActivity if no keys are TRUSTEDAndreas Straub3-10/+21
If there are no UNDECIDED keys, but none of the contact's keys are trusted, redirect the user to the TrustKeysActivity
2015-07-20Do not display clear devices button if not onlineAndreas Straub1-0/+1