HomePhabricator
Diffusion Comm 76c64df43f92

[keyserver] Verify `signedIdentityKeysBlob` signature in `logInResponder`

Description

[keyserver] Verify signedIdentityKeysBlob signature in logInResponder

Summary:
Pass primaryIdentityPublicKeys.ed25519, signedIdentityKeysBlob.payload and signedIdentityKeysBlob.signature to olmUtil.ed25519_verify(...) to ensure that the signature is valid.


Depends on D6896

Test Plan: I tested with a valid signature and observed that ed25519_verify(...) succeeded. I tested with an invalid signature ("blah"), and observed that olmUtil.ed25519(...) threw an exception.

Reviewers: ashoat, tomek

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D6897

Details

Provenance
atulAuthored on Feb 27 2023, 3:11 PM
Reviewer
ashoat
Differential Revision
D6897: [keyserver] Verify `signedIdentityKeysBlob` signature in `logInResponder`
Parents
rCOMM20b0c6dc75b0: [identity] replace deviceID concept with signingPublicKey
Branches
Unknown
Tags
Unknown