Commit graph

6412 commits

Author SHA1 Message Date
Benoit Marty
637a2271ef Remove old unused algorithm m.secret_storage.v1.curve25519-aes-sha2
https://github.com/uhoreg/matrix-doc/blob/symmetric_ssss/proposals/2472-symmetric-ssss.md
"The m.secret_storage.v1.curve25519-aes-sha2 method proposed in MSC1946 is removed."
2024-09-11 11:23:01 +02:00
Benoit Marty
15c86f3fe3 Better cleanup of the Crypto database. 2024-09-11 11:23:00 +02:00
Benoit Marty
5908cd54f0 Remove dependency on libolm - WIP 2024-09-11 11:23:00 +02:00
Benoit Marty
9585262a53 Add test when a server public key is provided. 2024-09-10 15:35:08 +02:00
Benoit Marty
797a4f93b2 Add unit test on ScanEncryptorUtils. 2024-09-10 14:56:10 +02:00
Benoit Marty
fb10bd530d Remove login with QR code feature. 2024-08-26 14:23:07 +02:00
ganfra
04c3ba9a6a version++ 2024-07-25 11:38:56 +02:00
ganfra
95e1bcbf64
Merge pull request #8868 from element-hq/feature/fga/authenticated_media
Feature/fga/authenticated media
2024-07-19 16:30:40 +02:00
ganfra
59f3c6e8da Fix copyrights. 2024-07-19 14:08:23 +02:00
ganfra
497f422b2b Authenticated media : fix pr remarks 2024-07-19 12:56:58 +02:00
Benoit Marty
669a80e8e4 Update Realm gradle plugin and Flipper dependencies. 2024-07-19 12:36:02 +02:00
ganfra
d10e83bb48 Authenticated media : fix formatting. 2024-07-19 10:25:45 +02:00
ganfra
fa0860ac0f Authenticated media : listen db. 2024-07-18 17:52:53 +02:00
Benoit Marty
1e32ebde41 Use ContextCompat.registerReceiver with explicit RECEIVER_EXPORTED to fix crash on API 34.
java.lang.SecurityException: im.vector.app.debug: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
2024-07-18 17:15:06 +02:00
ganfra
9e27705b6e Merge branch 'develop' into feature/fga/authenticated_media 2024-07-18 15:56:48 +02:00
Benoit Marty
b3bd361a08 Add Realm migrations due to upgrade of Kotlin version.
See https://github.com/realm/realm-java/issues/7810 for more details.
2024-07-16 15:03:55 +02:00
Benoit Marty
19500a8cd9 Upgrade a few dependencies and update the codebase
Use fully qualified R classes
Fix or ignore deprecation
Update github actions and ensure JDK 17 is used
Add group for paparazzi
Fixes Lint issues
Fix Jacoco configuration
2024-07-15 18:12:20 +02:00
ganfra
da8c892f7a Authenticated media : makes usage of API when server supports it 2024-07-10 16:53:10 +02:00
ganfra
7ad3ccfc60 Authenticated media : add versions check to HomeServerCapabilities 2024-07-05 17:58:25 +02:00
Benoit Marty
207ab2802a version++ 2024-06-25 15:14:20 +02:00
Jorge Martín
f8345ab9ef When sending user mentions, always send the user id as the fallback text 2024-06-19 16:56:47 +02:00
Valere
ad9f9fb193 Accept and pass any deviceKey payload to rust 2024-06-12 09:32:27 +02:00
Valere
4aaf22832f Fix | Share room keys with dehydrated devices 2024-06-12 09:32:27 +02:00
Valere
47bb23a654
Merge pull request #8839 from element-hq/feature/bca/add_platformcode_to_posthog
Support reporting super properties to posthog (appPlatform)
2024-05-31 14:05:56 +02:00
Benoit Marty
7e41d731f6 Move getCryptoVersion from CryptoService to Matrix companion, it does not need a session to get the value.
This simplify a lot accessing this data.
2024-05-30 13:10:36 +02:00
Valere
09c68f3421 Remove unused context in crypto service getCryptoVersion 2024-05-29 17:38:36 +02:00
ganfra
72575a2493 version++ 2024-05-29 12:07:55 +02:00
Valere
5ac70dac2b Bump rust sdk crypto to 0.4.1 2024-05-27 09:48:30 +02:00
Benoit Marty
085bf8230e
Merge pull request #8817 from element-hq/hughns/qr-mscs-closed
Add note about MSC3886, MSC3903 and MSC3906 being closed
2024-05-16 14:32:38 +02:00
Benoit Marty
2362fcde16
TODO must not be followed by : 2024-05-16 14:02:15 +02:00
Hugh Nimmo-Smith
a8a9c61a69 Add note about MSC3886, MSC3903 and MSC3906 being closed 2024-05-03 13:16:31 +01:00
yostyle
33d09ecf40 fix: update local file access permission 2024-04-18 16:29:02 +02:00
Benoit Marty
c2b46a1c1e version++ 2024-04-02 18:16:38 +02:00
Valere
72d2199f1a refactor: StreamEventsManager report MXCryptoError instead of throwable 2024-03-27 09:53:13 +01:00
Valere
3fa3eb1129 fix rust device to CryptoDeviceInfo mapping 2024-03-27 09:53:13 +01:00
Valere
ee59171491 Fix StreamEventsManager not signaling event decryptions 2024-03-12 09:00:50 +01:00
Benoit Marty
8682a75b0a version++ 2024-02-16 11:57:54 +01:00
Benoit Marty
6ea0129bee Location sharing: use Room member avatar instead of profile avatar. 2024-02-02 18:36:29 +01:00
Benoit Marty
c6bb054fd7 Add a log when User is not kwown. 2024-02-02 17:25:00 +01:00
Benoit Marty
7dc8c436cf Fix test. getClearContent() return the decrypted content for encrypted Event, and it is null in this case 2024-02-01 18:43:59 +01:00
Benoit Marty
ec96f4e0ae Fix assignment issue. sessionId was used instead of roomId.
This may fix issue of Event not decrypted if the key is coming late for the last Event displayed in the Room list.
2024-02-01 18:11:44 +01:00
Benoit Marty
e04bfe8981 Remove dead code 2024-02-01 18:02:04 +01:00
Benoit Marty
a1140fd8fa Improve getClearContent() method: it should not fallback to the encrypted content when the content is not decrypted. 2024-02-01 17:28:29 +01:00
Benoit Marty
ee16ef06e9 version++ 2024-01-09 12:20:07 +01:00
ganfra
2ada4c8491 Fix quality 2024-01-02 08:17:26 +01:00
ganfra
320aae1430 Also fix pills with rich text editor 2024-01-02 08:17:26 +01:00
ganfra
b72039e735 Fix a bunch of issues related to edition and reply #5969 2024-01-02 08:17:26 +01:00
Benoit Marty
e818f86896
Merge pull request #8666 from yostyle/yostyle/fix_crypto_migration
Move crypto migration
2023-12-21 09:33:17 +01:00
yostyle
18ccc25575 fix lint 2023-12-15 12:25:29 +01:00
Yoan Pintas
7f8e73ee4d
Merge branch 'element-hq:develop' into yostyle/fix_crypto_migration 2023-12-15 10:36:32 +00:00