migrateOldSsss method

void migrateOldSsss()

Implementation

void migrateOldSsss() {
  final keys = allNeededKeys();
  final oldSsssKeys = this.oldSsssKeys = {};
  try {
    for (final key in keys) {
      oldSsssKeys[key] = encryption.ssss.open(key);
    }
  } catch (e, s) {
    Logs().e('[Bootstrapping] Error construction ssss key', e, s);
    state = BootstrapState.error;
    return;
  }
  state = BootstrapState.askUnlockSsss;
}