You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
re-lint
This commit is contained in:
@@ -2260,7 +2260,6 @@ MatrixClient.prototype._restoreKeyBackup = async function(
|
|||||||
source: "backup",
|
source: "backup",
|
||||||
});
|
});
|
||||||
|
|
||||||
// await this._crypto.setTrustedBackupPubKey(backupPubKey);
|
|
||||||
await this.checkKeyBackup();
|
await this.checkKeyBackup();
|
||||||
|
|
||||||
return { total: totalKeyCount, imported: keys.length };
|
return { total: totalKeyCount, imported: keys.length };
|
||||||
|
|||||||
@@ -573,7 +573,6 @@ export class Curve25519 implements BackupAlgorithm {
|
|||||||
const derivation = await keyFromPassphrase(key);
|
const derivation = await keyFromPassphrase(key);
|
||||||
authData.private_key_salt = derivation.salt;
|
authData.private_key_salt = derivation.salt;
|
||||||
authData.private_key_iterations = derivation.iterations;
|
authData.private_key_iterations = derivation.iterations;
|
||||||
// FIXME: algorithm?
|
|
||||||
authData.public_key = decryption.init_with_private_key(derivation.key);
|
authData.public_key = decryption.init_with_private_key(derivation.key);
|
||||||
}
|
}
|
||||||
const publicKey = new global.Olm.PkEncryption();
|
const publicKey = new global.Olm.PkEncryption();
|
||||||
|
|||||||
Reference in New Issue
Block a user