mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-20 02:59:26 +01:00
fix: Self sign while bootstrap
This commit is contained in:
parent
fd49b559a9
commit
d20a5c30ac
@ -208,9 +208,13 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
|
||||
_recoveryKeyInputLoading = true;
|
||||
});
|
||||
try {
|
||||
final key = _recoveryKeyTextEditingController.text;
|
||||
await bootstrap.newSsssKey.unlock(
|
||||
keyOrPassphrase:
|
||||
_recoveryKeyTextEditingController.text,
|
||||
keyOrPassphrase: key,
|
||||
);
|
||||
await bootstrap.client.encryption.crossSigning
|
||||
.selfSign(
|
||||
keyOrPassphrase: key,
|
||||
);
|
||||
await bootstrap.openExistingSsss();
|
||||
} catch (e, s) {
|
||||
|
Loading…
Reference in New Issue
Block a user