fix: Self sign while bootstrap
This commit is contained in:
parent
4c561e8b0f
commit
45d7113a54
1 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue