mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-26 01:22:50 +01:00
klint
This commit is contained in:
parent
1dfd6f232a
commit
326f2e99fb
@ -161,8 +161,7 @@ class BootstrapCrossSigningTask @Inject constructor(
|
|||||||
ssssService.storeSecret(
|
ssssService.storeSecret(
|
||||||
MASTER_KEY_SSSS_NAME,
|
MASTER_KEY_SSSS_NAME,
|
||||||
mskPrivateKey,
|
mskPrivateKey,
|
||||||
listOf(SharedSecretStorageService.KeyRef(keyInfo.keyId, keyInfo.keySpec))
|
listOf(SharedSecretStorageService.KeyRef(keyInfo.keyId, keyInfo.keySpec)), it
|
||||||
, it
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
params.progressListener?.onProgress(
|
params.progressListener?.onProgress(
|
||||||
@ -181,16 +180,14 @@ class BootstrapCrossSigningTask @Inject constructor(
|
|||||||
}
|
}
|
||||||
params.progressListener?.onProgress(
|
params.progressListener?.onProgress(
|
||||||
WaitingViewData(
|
WaitingViewData(
|
||||||
stringProvider.getString(R.string.bootstrap_crosssigning_progress_save_ssk)
|
stringProvider.getString(R.string.bootstrap_crosssigning_progress_save_ssk), isIndeterminate = true
|
||||||
, isIndeterminate = true
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
awaitCallback<Unit> {
|
awaitCallback<Unit> {
|
||||||
ssssService.storeSecret(
|
ssssService.storeSecret(
|
||||||
SELF_SIGNING_KEY_SSSS_NAME,
|
SELF_SIGNING_KEY_SSSS_NAME,
|
||||||
sskPrivateKey,
|
sskPrivateKey,
|
||||||
listOf(SharedSecretStorageService.KeyRef(keyInfo.keyId, keyInfo.keySpec))
|
listOf(SharedSecretStorageService.KeyRef(keyInfo.keyId, keyInfo.keySpec)), it
|
||||||
, it
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} catch (failure: Failure) {
|
} catch (failure: Failure) {
|
||||||
|
Loading…
Reference in New Issue
Block a user