diff --git a/lib/pages/bootstrap/bootstrap_dialog.dart b/lib/pages/bootstrap/bootstrap_dialog.dart index fcc72817..576b3cbc 100644 --- a/lib/pages/bootstrap/bootstrap_dialog.dart +++ b/lib/pages/bootstrap/bootstrap_dialog.dart @@ -208,9 +208,13 @@ class _BootstrapDialogState extends State { _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) {