HomePhabricator
Diffusion Comm f1886b95babb

[native] Include `signedIdentityKeysBlob` in `login`/`register`/`siwe_auth`…

Tags
None
Referenced Files
F408115: b80b59.png
Mar 1 2023, 2:35 PM
File Not Attached
F408114: 6b2192.png
Mar 1 2023, 2:35 PM
File Not Attached
F408136: e3b0bc.png
Mar 1 2023, 2:35 PM
File Not Attached
F408099: e605e2.png
Mar 1 2023, 2:35 PM
File Not Attached
F408098: 82d891.png
Mar 1 2023, 2:35 PM
File Not Attached
Subscribers
None

Description

[native] Include signedIdentityKeysBlob in login/register/siwe_auth requests

Summary:
Modify nativeLogInExtraInfoSelector so it includes signedIdentityKeyBlob instead of primaryIdentityPublicKey.

Also some misc changes to remove old primaryIdentityPublicKey stuff and to allow signedIdentityKeyBlob in registerRequestInputValidator.

Next diff will include signedIdentityKeysBlob in createAccount and we should be good.


Depends on D6822

Test Plan:
Successfully able to login, register, and SIWE. Set breakpoints and observed that signedIdentityKeysBlob was included in requests.

Login:

82d891.png (1×2 px, 464 KB)

e605e2.png (244×2 px, 77 KB)

Register:

e3b0bc.png (1×2 px, 624 KB)

SIWE:

6b2192.png (1×2 px, 576 KB)

b80b59.png (268×2 px, 94 KB)

Reviewers: ashoat, tomek, varun, jon

Reviewed By: varun

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