Skip to content

Commit cfad8d3

Browse files
authored
Enable key backup after we reset it (#2170)
This ensures that we remember it if bootstrapCrossSigning gets called, so that the authData gets signed by the master key, if a new key is created.
1 parent d9c3b88 commit cfad8d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/crypto/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,8 @@ export class Crypto extends EventEmitter {
953953
// sign with the device fingerprint
954954
await this.signObject(data.auth_data);
955955

956+
await this.backupManager.enableKeyBackup(data);
957+
956958
builder.addSessionBackup(data);
957959
}
958960

0 commit comments

Comments
 (0)