You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
Fix secret sharing names to match spec
When sharing keys, we should use `m.cross_signing` prefix. Part of https://github.com/vector-im/riot-web/issues/12661
This commit is contained in:
@@ -216,7 +216,7 @@ export class VerificationBase extends EventEmitter {
|
||||
console.debug("VerificationBase.done: requesting secret",
|
||||
type, this.deviceId);
|
||||
const { promise } =
|
||||
storage.request(`m.key.${type}`, [this.deviceId]);
|
||||
storage.request(`m.cross_signing.${type}`, [this.deviceId]);
|
||||
const result = await promise;
|
||||
const decoded = decodeBase64(result);
|
||||
return Uint8Array.from(decoded);
|
||||
|
||||
Reference in New Issue
Block a user