aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlSession.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-02Fixes FS#147: Disable OMEMOsteckbrief1-5/+5
2015-12-19store identity key in XmppAxolotlSession instead of the fingerprintDaniel Gultsch1-10/+15
2015-10-31explicitly mark verified omemo keys in UIDaniel Gultsch1-4/+24
2015-09-06Only show that have sessions in fingerprint listAndreas Straub1-1/+1
Doesn't access database directly anymore but goes through AxolotlService now to obtain list of fingerprints associated with an Account/Contact. This should prevent orphaned keys littering the UI which previously couldn't be removed through the Clear Devices function. Together with 1c79982da84964c1d81179a0927d9cd1eadf53de this fixes #1393
2015-08-01Let UNTRUSTED/UNDECIDED keys become INACTIVEAndreas Straub1-10/+69
2015-07-31Provide process function for key transport messageAndreas Straub1-6/+14
2015-07-31Refactor axolotl message processing workflowAndreas Straub1-8/+5
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 Straub1-1/+1
2015-07-31Change to new wire protocol versionAndreas Straub1-4/+4
2015-07-29Fix NPE: consider unknown keys UNDECIDEDAndreas Straub1-1/+2
2015-07-29Refactor out inner classes, cache trust storeAndreas Straub1-0/+131
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.