aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlMessage.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove copy of innerkeySebastian2016-05-051-1/+0
| | | The line overwrites this.innerkey with the value that was already there.
* Provide process function for key transport messageAndreas Straub2015-07-311-1/+32
|
* Refactor axolotl message processing workflowAndreas Straub2015-07-311-85/+57
| | | | | | | | | | | | | | 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 codeAndreas Straub2015-07-311-14/+14
|
* Change to new wire protocol versionAndreas Straub2015-07-311-50/+93
|
* Refactor out inner classes, cache trust storeAndreas Straub2015-07-291-4/+4
| | | | | | | 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.
* Switch payload encryption to AES-GCMAndreas Straub2015-07-211-11/+17
| | | | This also ensures that the IV is generated with proper randomness.
* Add purge axolotl key optionAndreas Straub2015-07-201-2/+5
| | | | Can now long-press a key to permanently purge it.
* Optimize importsAndreas Straub2015-07-201-2/+1
|
* Overhauled Message taggingAndreas Straub2015-07-191-3/+8
| | | | | | Messages are now tagged with the IdentityKey fingerprint of the originating session. IdentityKeys have one of three trust states: undecided (default), trusted, and untrusted/not yet trusted.
* Properly track message senderAndreas Straub2015-07-191-7/+8
| | | | | | | 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.
* Tag messages with originating sessionAndreas Straub2015-07-191-0/+5
| | | | | 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.
* Reformat code to use tabsAndreas Straub2015-07-191-160/+160
| | | | This really sucks to do it like this. Sorry. :(
* Reworked axolotl protocol layerAndreas Straub2015-07-191-0/+180
| | | | Numerous fixes
* CryptoNext persistance layer mockupAndreas Straub2015-07-191-0/+4
Initial sketch of the peripheral storage infrastructure for the new axolotl-based encryption scheme.