mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 18:05:36 +03:00
update change log
cleaning
This commit is contained in:
parent
dc61ee61f5
commit
1a436f962f
5 changed files with 3 additions and 7 deletions
|
@ -10,6 +10,8 @@ Improvements 🙌:
|
||||||
- Verification DM / Handle concurrent .start after .ready (#794)
|
- Verification DM / Handle concurrent .start after .ready (#794)
|
||||||
- Cross-Signing | Update Shield Logic for DM (#963)
|
- Cross-Signing | Update Shield Logic for DM (#963)
|
||||||
- Cross-Signing | Complete security new session design update (#1135)
|
- Cross-Signing | Complete security new session design update (#1135)
|
||||||
|
- Cross-Signing | Setup key backup as part of SSSS bootstrapping (#1201)
|
||||||
|
- Cross-Signing | Gossip key backup recovery key (#1200)
|
||||||
|
|
||||||
Bugfix 🐛:
|
Bugfix 🐛:
|
||||||
- Missing avatar/displayname after verification request message (#841)
|
- Missing avatar/displayname after verification request message (#841)
|
||||||
|
|
|
@ -173,7 +173,6 @@ interface KeysBackupService {
|
||||||
password: String,
|
password: String,
|
||||||
callback: MatrixCallback<Unit>)
|
callback: MatrixCallback<Unit>)
|
||||||
|
|
||||||
|
|
||||||
fun onSecretKeyGossip(secret: String)
|
fun onSecretKeyGossip(secret: String)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -215,7 +214,6 @@ interface KeysBackupService {
|
||||||
val isStucked: Boolean
|
val isStucked: Boolean
|
||||||
val state: KeysBackupState
|
val state: KeysBackupState
|
||||||
|
|
||||||
|
|
||||||
// For gossiping
|
// For gossiping
|
||||||
fun saveBackupRecoveryKey(recoveryKey: String?, version: String?)
|
fun saveBackupRecoveryKey(recoveryKey: String?, version: String?)
|
||||||
fun getKeyBackupRecoveryKeyInfo() : SavedKeyBackupKeyInfo?
|
fun getKeyBackupRecoveryKeyInfo() : SavedKeyBackupKeyInfo?
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
package im.vector.matrix.android.internal.crypto.store
|
package im.vector.matrix.android.internal.crypto.store
|
||||||
|
|
||||||
data class SavedKeyBackupKeyInfo (
|
data class SavedKeyBackupKeyInfo(
|
||||||
val recoveryKey : String,
|
val recoveryKey : String,
|
||||||
val version: String
|
val version: String
|
||||||
)
|
)
|
||||||
|
|
|
@ -187,7 +187,6 @@ internal object RealmCryptoStoreMigration : RealmMigration {
|
||||||
.addField(OutgoingGossipingRequestEntityFields.REQUEST_STATE_STR, String::class.java)
|
.addField(OutgoingGossipingRequestEntityFields.REQUEST_STATE_STR, String::class.java)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun migrateTo3(realm: DynamicRealm) {
|
private fun migrateTo3(realm: DynamicRealm) {
|
||||||
Timber.d("Updating CryptoMetadataEntity table")
|
Timber.d("Updating CryptoMetadataEntity table")
|
||||||
realm.schema.get("CryptoMetadataEntity")
|
realm.schema.get("CryptoMetadataEntity")
|
||||||
|
|
|
@ -39,7 +39,6 @@ import kotlinx.coroutines.CoroutineScope
|
||||||
import kotlinx.coroutines.async
|
import kotlinx.coroutines.async
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import timber.log.Timber
|
import timber.log.Timber
|
||||||
import java.util.Timer
|
|
||||||
import java.util.UUID
|
import java.util.UUID
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
|
@ -209,12 +208,10 @@ class BootstrapCrossSigningTask @Inject constructor(
|
||||||
}
|
}
|
||||||
// Save it for gossiping
|
// Save it for gossiping
|
||||||
session.cryptoService().keysBackupService().saveBackupRecoveryKey(creationInfo.recoveryKey, version = version.version)
|
session.cryptoService().keysBackupService().saveBackupRecoveryKey(creationInfo.recoveryKey, version = version.version)
|
||||||
|
|
||||||
} catch (failure: Throwable) {
|
} catch (failure: Throwable) {
|
||||||
Timber.e("## BootstrapCrossSigningTask: Failed to init keybackup")
|
Timber.e("## BootstrapCrossSigningTask: Failed to init keybackup")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return BootstrapResult.Success(keyInfo)
|
return BootstrapResult.Success(keyInfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue