Commit Graph

3700 Commits

Author SHA1 Message Date
Damir Jelić 097f05af57 crypto: Throw exceptions when restoring a recovery key from a passphrase 2021-11-17 13:43:37 +01:00
Damir Jelić e5af7e6109 crypto: Update for the new room key import result 2021-11-17 13:43:37 +01:00
Damir Jelić 7cb143e970 crypto: Don't create a new salt when we just want to rederive a recovery key 2021-11-17 13:43:37 +01:00
Damir Jelić 50268540c3 crypto: Try to import the recovery key if it was gossiped to us 2021-11-17 13:43:37 +01:00
Damir Jelić d6ecc7d330 crypto: Connect the backup disabling method 2021-11-17 13:43:37 +01:00
Damir Jelić 5c7b248ed2 crypto: Back up room keys when we create or receive new ones 2021-11-17 13:43:37 +01:00
Damir Jelić f9476f12af crypto: Correctly continue backing up room keys 2021-11-17 13:43:37 +01:00
Damir Jelić 2b8783b489 crypto: Add support for key backup restoring 2021-11-17 13:43:37 +01:00
Damir Jelić 3b93d6b08c crypto: Fill out all the methods to support backups 2021-11-17 13:43:37 +01:00
Damir Jelić 021041fc2e crypto: Support to send out backup HTTP requests 2021-11-17 13:43:37 +01:00
Damir Jelić 406fd0d8d5 crypto: Initial support for server-side backups of room keys 2021-11-17 13:43:22 +01:00
Damir Jelić d3a761a73a crypto: Retry the crypto related requests 2021-10-12 12:29:51 +02:00
Damir Jelić 28d4573124 crypto: Use the correct copyright header for the new files 2021-10-12 12:18:02 +02:00
Damir Jelić c266842da9 crypto: Use getOrPut instead of getOrDefault
getOrDefault won't insert the default value into the map, while we do
want it to be inserted.
2021-10-12 12:08:38 +02:00
Damir Jelić 995f1973c7 Merge remote-tracking branch 'upstream/develop' into rust 2021-08-13 13:33:32 +02:00
Damir Jelić f1da77fb6b crypto: Avoid converting numbers in to-device requests to floats
This mainly avoid converting the type field in m.olm.v1.curve25519-aes-sha2
variant of an m.room.encrypted event that gets sent out over to-device
messages.
2021-08-13 13:30:09 +02:00
Damir Jelić 00d1233512 crypto: Upload signatures when we confirm a verification as well 2021-08-13 13:30:09 +02:00
Damir Jelić 3365c10fe3 crypto: Add a missing dispatchTxUpdated call to the verifications 2021-08-13 13:30:09 +02:00
Damir Jelić c85847df57 crypto: Add a Rust based CrossSigningService 2021-08-13 13:30:09 +02:00
Onuray Sahin 885a663380 Fix error when sending encrypted message if someone in the room logs out. 2021-08-06 15:23:24 +03:00
Valere efdaa49e70 Code review 2021-07-30 18:44:25 +02:00
Valere a7dc7e8d8a klint 2021-07-30 18:44:14 +02:00
Valere 88fec379c4 Cleaning 2021-07-30 18:44:14 +02:00
Valere 5adceaca23 Code quality 2021-07-30 18:44:14 +02:00
Valere 2f16a7fff3 Restricted room mgmt when supported 2021-07-30 18:43:34 +02:00
Valere 6c2a917d9f WIP 2021-07-30 18:43:34 +02:00
Onuray Sahin c6bd6e4961
Merge pull request #3598 from vector-im/feature/ons/voice_message
Voice Message
2021-07-30 17:24:17 +03:00
Benoit Marty 7cd90b0b14
Merge pull request #3760 from vector-im/feature/bma/otk1
2 small fixes
2021-07-30 12:55:57 +02:00
Benoit Marty 57f3a2437e cleanup 2021-07-30 10:59:46 +02:00
Benoit Marty 54f707644c Migration to cleanup orphan TrustLevelEntities 2021-07-29 17:42:55 +02:00
Benoit Marty b4e7f10019 Better algorithm to update user devices
Should fix the problem of too many TrustLevelEntity objects
2021-07-29 16:46:09 +02:00
Benoit Marty 5eb794f8af Small optimization 2021-07-29 15:39:03 +02:00
Benoit Marty 4caf333769 Do not check the baseURL to override if it is the same than the one previously known and used 2021-07-27 09:59:01 +02:00
David Langley 9c139b3bd0 Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/fix_account_notifications_discrepancies 2021-07-26 22:55:27 +01:00
David Langley 5d092ce18a simplify getHighlight logic 2021-07-23 14:29:37 +01:00
Damir Jelić e2006f9dc6 Merge remote-tracking branch 'upstream/develop' into rust-verification 2021-07-23 15:03:10 +02:00
Damir Jelić c551b9e0bb crypto: Fill out the docs for the cross signing service 2021-07-23 14:06:03 +02:00
Damir Jelić 2fc691eed2 crypto: Add a method to request verification to the Device class 2021-07-23 11:54:58 +02:00
Benoit Marty adabb31688 Changelog 2021-07-23 11:25:56 +02:00
Benoit Marty 0c211d7b1e
Merge pull request #3723 from vector-im/feature/fga/log_tags_voip
Feature/fga/log tags voip
2021-07-23 11:23:09 +02:00
Benoit Marty b764746323
Merge pull request #3724 from vector-im/feature/bma/ensureOTK
Ensure OTKs are uploaded when the session is created
2021-07-23 11:21:07 +02:00
ganfra 45a51d138e Voip log: clean after Benoit review 2021-07-23 09:50:09 +02:00
Benoit Marty ed0143c240 Log errors 2021-07-22 16:20:16 +02:00
Benoit Marty 1d5ed46a49 Small cleanup 2021-07-22 16:01:01 +02:00
Benoit Marty 05988107a7 Ask the number of OTK if unknown from the sync. 2021-07-22 15:59:37 +02:00
ganfra e356e71431 Merge branch 'develop' into feature/fga/log_tags_voip 2021-07-22 15:32:25 +02:00
Benoit Marty 7a7c292b3c Rename store API 2021-07-22 15:26:11 +02:00
Benoit Marty be488ae75a Ensure OTK are uploaded when we upload the device keys
The sync response can omit the field device_one_time_keys_count.signed_curve25519 and the SDK was waiting to know this value to upload the OTK.
Now the SDK uploads the OTK when it uploads the device keys.
2021-07-22 15:24:05 +02:00
ganfra 79c8ef7ebf LoggerTag: try new thing and branch more on VOIP 2021-07-22 15:22:15 +02:00
dependabot[bot] a75ceee03f
Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-22 12:13:24 +00:00