aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/crypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pgp fixes and revert configuration changesDaniel Gultsch2015-11-251-2/+10
|
* Merge pull request #1558 from fiaxh/pgp_api_9.0Daniel Gultsch2015-11-241-13/+29
|\ | | | | Use OpenPGP-API 9.0
| * Use OpenPGP-API 9.0fiaxh2015-11-091-13/+29
| |
* | PgpEngine: Get account from conversation instead of from contact. fixes ↵fiaxh2015-11-151-3/+3
|/ | | | #1568, fixes #1544
* indicate cbe in chat message hintDaniel Gultsch2015-10-311-0/+16
|
* explicitly mark verified omemo keys in UIDaniel Gultsch2015-10-312-5/+29
|
* fixed session objects not being build on start upDaniel Gultsch2015-10-301-1/+0
|
* Merge pull request #1513 from fiaxh/pgp_background_decryptionDaniel Gultsch2015-10-302-0/+181
|\ | | | | PGP messages background decryption
| * Decrypt PGP messages in backgroundfiaxh2015-10-282-0/+181
| |
* | push CN into nick pep node when uploading certificate. subscribe to nick nodeDaniel Gultsch2015-10-291-0/+1
|/
* don't retry building broken omemo keysDaniel Gultsch2015-10-171-4/+15
|
* load axolotl session cache on first device updateDaniel Gultsch2015-10-171-2/+6
|
* improved error reporting in trust keys activityDaniel Gultsch2015-10-171-7/+19
|
* introduced code to verify omemo device keys with x509 certificates.Daniel Gultsch2015-10-161-19/+67
| | | | cleaned up TrustKeysActivity to automatically close if there is nothing to do
* moved other name parsing into seperate methodDaniel Gultsch2015-10-151-40/+45
|
* use constants for oids in xmppdomainverifierDaniel Gultsch2015-10-151-2/+5
|
* more checks for xmppdomainverifier and better wildcard handlingDaniel Gultsch2015-10-151-4/+10
|
* use own XmppDomainVerifier instead of deprecated StrictHostnameVerifier. ↵Daniel Gultsch2015-10-151-0/+113
| | | | fixes #1189
* add config variable to enable x509 verificationDaniel Gultsch2015-10-121-3/+3
|
* code clean upDaniel Gultsch2015-10-123-16/+3
|
* enable SASL EXTERNAL (certificate loginDaniel Gultsch2015-10-111-0/+29
|
* add menu item in account details to renew certificateDaniel Gultsch2015-10-111-23/+82
|
* Clean upAndreas Straub2015-10-112-13/+5
| | | | Fixes some random linter warnings.
* be more careful when publishing device bundleDaniel Gultsch2015-09-171-0/+14
|
* indicate broken pep in server infoDaniel Gultsch2015-09-061-0/+4
|
* Only show that have sessions in fingerprint listAndreas Straub2015-09-062-5/+21
| | | | | | | | | 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
* Don't manually add keys to the storeAndreas Straub2015-09-061-2/+0
| | | | | | | There is no need to preemptively add the keys to the store oneself. SessionBuilder will take care of this for us. What's more, this will prevent IdentityKeys from otherwise invalid bundles to show up in our UI.
* Never build a session with oneselfAndreas Straub2015-09-052-9/+12
| | | | | | | | | | | | | | If we detect our own ID is not in our own devicelist on receiving an update, we reannounce ourselves. This used to have the side effect of modifying the list of devices we thought were in the update set, causing us to accidentally build a session with ourselves. This lead to our own key being set to TRUSTED_INACTIVE, resulting in red lock icons on messages sent by the own device. We fix this by having publishOwnDeviceId() operate on a copy of the original set. This commit also includes a db migration which deletes sessions with oneself and sets own keys back to TRUSTED.
* use same method to add message hints to otr message everywhere it is neededDaniel Gultsch2015-09-011-4/+2
|
* Fix error handling for announce check retrievalAndreas Straub2015-08-261-3/+3
| | | | | Only aborts when a timeout was received. Error conditions (most notably item-not-found) are interpreted as no other devices existing.
* Only announce device after publishing bundleAndreas Straub2015-08-261-6/+18
|
* Fix key publishingAndreas Straub2015-08-261-72/+68
| | | | | | | Remove invalid check for result code, which prevented publishing if the node was empty to begin with. Fix pepBroken check
* Add more logging to pep attemp counter logicAndreas Straub2015-08-251-0/+1
|
* Limit number of PEP publish triesAndreas Straub2015-08-251-9/+42
| | | | | | If PEP publish tries are repeatedly triggered by empty PEP updates, stop attempting to publish after 3 tries. This should work around broken PEP implementations in older ejabberd and OpenFire versions.
* Pass through device IDs when updating own listAndreas Straub2015-08-251-17/+17
|
* cleared up some error messages in axolotl service and execute ↵Daniel Gultsch2015-08-251-3/+7
| | | | publishOwnDevicesWhenNeeded() only if processing our own jid
* Add error handling to OMEMO PEP codeAndreas Straub2015-08-231-116/+131
| | | | Log received errors and abort processing
* catch null pointer in ScramSHA1 saslDaniel Gultsch2015-08-161-0/+3
|
* Increase number of published prekeys for releaseAndreas Straub2015-08-071-1/+1
|
* Let UNTRUSTED/UNDECIDED keys become INACTIVEAndreas Straub2015-08-013-79/+94
|
* Provide process function for key transport messageAndreas Straub2015-07-313-18/+83
|
* Refactor axolotl message processing workflowAndreas Straub2015-07-313-152/+116
| | | | | | | | | | | | | | 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-313-86/+87
|
* Change to new wire protocol versionAndreas Straub2015-07-314-72/+111
|
* Fix NPE: consider unknown keys UNDECIDEDAndreas Straub2015-07-291-1/+2
|
* Refactor out inner classes, cache trust storeAndreas Straub2015-07-294-563/+613
| | | | | | | 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.
* Always build own device session automaticallyAndreas Straub2015-07-221-6/+13
|
* Add INACTIVE state for removed keysAndreas Straub2015-07-211-11/+43
| | | | | | | | | | | | | 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 SessionMapAndreas Straub2015-07-211-7/+14
|
* and now do that properlyDaniel Gultsch2015-07-211-1/+1
|