Page MenuHomePhabricator

[Keyserver/rust] Add device login and register
ClosedPublic

Authored by jon on Jun 28 2023, 3:59 PM.
Tags
None
Referenced Files
F3515583: D8366.diff
Sun, Dec 22, 9:15 AM
Unknown Object (File)
Sun, Dec 15, 3:59 AM
Unknown Object (File)
Sun, Dec 15, 3:59 AM
Unknown Object (File)
Sun, Dec 15, 3:59 AM
Unknown Object (File)
Sun, Dec 15, 3:59 AM
Unknown Object (File)
Sun, Dec 15, 3:59 AM
Unknown Object (File)
Sun, Dec 15, 3:45 AM
Unknown Object (File)
Sat, Dec 7, 6:24 AM
Subscribers

Details

Summary

Rust portion of keyserver login/register.
Largely adapted from integration tests.

Depends on D8365 D8052

Test Plan

Tested in later diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 28 2023, 4:05 PM
Harbormaster failed remote builds in B20600: Diff 28239!

Rebase on master, minor fixes

keyserver/addons/rust-node-addon/src/identity_client/register_user.rs
12–22 ↗(On Diff #28314)

I'm missing some context - Why do we delete this?

keyserver/addons/rust-node-addon/src/identity_client/register_user.rs
12–22 ↗(On Diff #28314)

Similar to D8404 , this service is longer provided by identity service.

It existed for a while for keyserver to register/login users on their behalf. But has since been removed in identity service.

It should have been deleted in D7390

74 ↗(On Diff #28314)

clones might not be necessary, since registration_response also falls out of scope after this.

bartek added inline comments.
keyserver/addons/rust-node-addon/src/identity_client/register_user.rs
12–22 ↗(On Diff #28314)

Thanks for explaining!

74 ↗(On Diff #28314)

yeah, let's get rid of them if possible

This revision is now accepted and ready to land.Jul 4 2023, 1:10 PM