diff --git a/lib/encryption/utils/bootstrap.dart b/lib/encryption/utils/bootstrap.dart index 5e70f6da..7b778c7b 100644 --- a/lib/encryption/utils/bootstrap.dart +++ b/lib/encryption/utils/bootstrap.dart @@ -308,13 +308,14 @@ class Bootstrap { checkCrossSigning(); } - void openExistingSsss() { + Future openExistingSsss() async { if (state != BootstrapState.openExistingSsss) { throw BootstrapBadStateException(); } if (!newSsssKey.isUnlocked) { throw BootstrapBadStateException('Key not unlocked'); } + await newSsssKey.maybeCacheAll(); checkCrossSigning(); }