forgot to remove this after extracting function
This commit is contained in:
parent
8d64fa54fe
commit
eda15e1141
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export function verifyEd25519Signature(olmUtil, userId, deviceOrKeyId, ed25519Ke
|
||||||
throw new Error("no signature");
|
throw new Error("no signature");
|
||||||
}
|
}
|
||||||
// throws when signature is invalid
|
// throws when signature is invalid
|
||||||
this._olmUtil.ed25519_verify(ed25519Key, canonicalJson, signature);
|
olmUtil.ed25519_verify(ed25519Key, canonicalJson, signature);
|
||||||
return true;
|
return true;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.warn("Invalid signature, ignoring.", ed25519Key, canonicalJson, signature, err);
|
console.warn("Invalid signature, ignoring.", ed25519Key, canonicalJson, signature, err);
|
||||||
|
|
Reference in a new issue