mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
provide correct user id for signing key owner when signing other user
This commit is contained in:
parent
20a6fcda72
commit
504d869b38
@ -145,7 +145,7 @@ export class CrossSigning {
|
||||
}
|
||||
const signingKey = await this.getSigningKey(KeyUsage.UserSigning);
|
||||
// add signature to keyToSign
|
||||
pkSign(this.olm, keyToSign, signingKey, userId, "");
|
||||
pkSign(this.olm, keyToSign, signingKey, this.ownUserId, "");
|
||||
const payload = {
|
||||
[keyToSign.user_id]: {
|
||||
[getKeyEd25519Key(keyToSign)!]: keyToSign
|
||||
|
Loading…
x
Reference in New Issue
Block a user