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/rustCrypto/java/org/matrix/android/sdk/internal/crypto/store/db/migration/rust/ExtractUtils.kt
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,10 @@ fun RealmToMigrate.getPickledAccount(pickleKey: ByteArray): MigrationData {
71
71
val userKey = metadataEntity.xSignUserPrivateKey
72
72
val selfSignedKey = metadataEntity.xSignSelfSignedPrivateKey
73
73
74
+
Timber.i("## Migration: has private MSK ${masterKey.isNullOrBlank().not()}")
75
+
Timber.i("## Migration: has private USK ${userKey.isNullOrBlank().not()}")
76
+
Timber.i("## Migration: has private SSK ${selfSignedKey.isNullOrBlank().not()}")
77
+
74
78
val userId = metadataEntity.userId
75
79
?:throw java.lang.IllegalArgumentException("Rust db migration: userId is null")
76
80
val deviceId = metadataEntity.deviceId
@@ -79,6 +83,8 @@ fun RealmToMigrate.getPickledAccount(pickleKey: ByteArray): MigrationData {
79
83
val backupVersion = metadataEntity.backupVersion
80
84
val backupRecoveryKey = metadataEntity.keyBackupRecoveryKey
81
85
86
+
Timber.i("## Migration: has private backup key ${backupRecoveryKey !=null} for version $backupVersion")
87
+
82
88
val isOlmAccountShared = metadataEntity.deviceKeysSentToServer
0 commit comments