Page MenuHomePhabricator

[keyserver] call identity service register RPC on account creation
AbandonedPublic

Authored by varun on Jan 12 2023, 8:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 5, 2:01 PM
Unknown Object (File)
Fri, Apr 5, 1:55 PM
Unknown Object (File)
Fri, Mar 29, 5:53 AM
Unknown Object (File)
Mar 15 2024, 9:52 AM
Unknown Object (File)
Mar 15 2024, 9:51 AM
Unknown Object (File)
Mar 15 2024, 9:51 AM
Unknown Object (File)
Mar 13 2024, 1:37 AM
Unknown Object (File)
Mar 13 2024, 1:37 AM

Details

Reviewers
tomek
ashoat
Summary

when an account is successfully created locally, we should send the account info to the identity service via the register RPC

Depends on D5796

Test Plan

successfully added new user info to identity service when registering a new account on keyserver

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jan 12 2023, 9:00 AM
Harbormaster failed remote builds in B15302: Diff 20877!
Harbormaster returned this revision to the author for changes because remote builds failed.Jan 12 2023, 2:46 PM
Harbormaster failed remote builds in B15329: Diff 20906!
tomek requested changes to this revision.Jan 17 2023, 8:44 AM
tomek added inline comments.
keyserver/src/creators/account-creator.js
199–209

Are we able to successfully register the account using placeholders? I guess these are needed when older clients try to register, but what would be the result of calling this function with these values?

This revision now requires changes to proceed.Jan 17 2023, 8:44 AM
ashoat requested changes to this revision.Jan 19 2023, 11:43 AM

You need to update registerRequestInputValidator

keyserver/src/creators/account-creator.js
200

I think this should be a devicePublicKey

lib/types/account-types.js
55

I think this should be a devicePublicKey, and we need to test setting these

keyserver/src/creators/account-creator.js
199

I don't think we need a concept of a deviceID separate from the devicePublicKey