Commit graph

6425 commits

Author SHA1 Message Date
Benoit Marty
52d06bd7cf Revert "Setting version for the release 1.6.22"
This reverts commit c947f90adb.
2024-09-23 20:51:18 +02:00
Benoit Marty
c947f90adb Setting version for the release 1.6.22 2024-09-23 20:46:17 +02:00
Benoit Marty
9ca1ffdea0 version++ 2024-09-23 19:38:56 +02:00
Benoit Marty
e89bec4f27 use pkEncryption, to properly close it. 2024-09-23 16:05:44 +02:00
Benoit Marty
f7195a878a Fix copyright issue. 2024-09-20 12:46:02 +02:00
dependabot[bot]
9efb692e32 Bump org.matrix.rustcomponents:crypto-android from 0.4.1 to 0.4.3
Bumps [org.matrix.rustcomponents:crypto-android](https://github.com/matrix-org/matrix-rust-components-kotlin) from 0.4.1 to 0.4.3.
- [Release notes](https://github.com/matrix-org/matrix-rust-components-kotlin/releases)
- [Commits](https://github.com/matrix-org/matrix-rust-components-kotlin/compare/crypto-v0.4.1...crypto-v0.4.3)

---
updated-dependencies:
- dependency-name: org.matrix.rustcomponents:crypto-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 10:17:50 +02:00
Benoit Marty
f726d16ce0 Fix wrong sha256 conversion and add unit test. 2024-09-16 17:45:43 +02:00
Benoit Marty
51c20b4572 Fix quality issues. 2024-09-12 21:14:19 +02:00
Benoit Marty
9dcb7c890f Use local val and more compact code. 2024-09-12 21:06:05 +02:00
Benoit Marty
14a52d4a05 ScanEncryptorUtils.getDownloadBodyAndEncryptIfNeeded can throw, ensure it will not crash the application. 2024-09-12 21:05:16 +02:00
Benoit Marty
8056285776 New SDK: fix API break. 2024-09-11 12:18:02 +02:00
Benoit Marty
355621b0c7 Encrypt data for the content scanner using PkEncryption from the Rust SDK. 2024-09-11 11:48:10 +02:00
Benoit Marty
fc68f1cb66 Remove todo and cleanup 2024-09-11 11:23:01 +02:00
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