You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/E2eeShareKeysHistoryTest.kt
Copy file name to clipboardExpand all lines: matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/keysbackup/KeysBackupScenarioData.kt
Copy file name to clipboardExpand all lines: matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/keysbackup/KeysBackupTest.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -263,7 +263,7 @@ class KeysBackupTest : InstrumentedTest {
263
263
val keyBackupCreationInfo = keysBackupTestHelper.prepareAndCreateKeysBackupData(keysBackup).megolmBackupCreationInfo
264
264
265
265
// - Check encryptGroupSession() returns stg
266
-
val keyBackupData = keysBackup.encryptGroupSession(session)
266
+
val keyBackupData =testHelper.runBlockingTest { keysBackup.encryptGroupSession(session) }
267
267
assertNotNull(keyBackupData)
268
268
assertNotNull(keyBackupData!!.sessionData)
269
269
@@ -274,7 +274,7 @@ class KeysBackupTest : InstrumentedTest {
Copy file name to clipboardExpand all lines: matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/keysbackup/KeysBackupTestHelper.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ internal class KeysBackupTestHelper(
182
182
// - Alice must have the same keys on both devices
183
183
for (aliceKey1 in testData.aliceKeys) {
184
184
val aliceKey2 = (testData.aliceSession2.cryptoService().keysBackupService() asDefaultKeysBackupService).store
Copy file name to clipboardExpand all lines: matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/crypto/model/ForwardedRoomKeyContent.kt
+8-1
Original file line number
Diff line number
Diff line change
@@ -69,5 +69,12 @@ data class ForwardedRoomKeyContent(
69
69
* private part of this key unless they have done device verification.
70
70
*/
71
71
@Json(name ="sender_claimed_ed25519_key")
72
-
valsenderClaimedEd25519Key:String? = null
72
+
valsenderClaimedEd25519Key:String? = null,
73
+
74
+
/**
75
+
* MSC3061
76
+
* Identifies keys that were sent when the room's visibility setting was set to world_readable or shared
Copy file name to clipboardExpand all lines: matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/content/RoomKeyContent.kt
+9-1
Original file line number
Diff line number
Diff line change
@@ -38,5 +38,13 @@ data class RoomKeyContent(
38
38
39
39
// should be a Long but it is sometimes a double
40
40
@Json(name ="chain_index")
41
-
valchainIndex:Any? = null
41
+
valchainIndex:Any? = null,
42
+
43
+
/**
44
+
* MSC3061
45
+
* Identifies keys that were sent when the room's visibility setting was set to world_readable or shared
0 commit comments