Merge pull request #4686 from matrix-org/dbkr/recovery_keys_over_passphrases

Use recovery keys over passphrases
This commit is contained in:
David Baker 2020-06-15 11:30:30 +01:00 committed by GitHub
commit 8ebae4c3b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 426 additions and 399 deletions

View file

@ -113,7 +113,7 @@ export default class CrossSigningPanel extends React.PureComponent {
_bootstrapSecureSecretStorage = async (forceReset=false) => {
this.setState({ error: null });
try {
await accessSecretStorage(() => undefined, forceReset);
await accessSecretStorage(() => undefined, {forceReset});
} catch (e) {
this.setState({ error: e });
console.error("Error bootstrapping secret storage", e);