Page MenuHomePhabricator
Feed Advanced Search

Mar 8 2023

jon added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

we can deprecate the original service (the one being renamed here)

Mar 8 2023, 6:39 PM
jon added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

how about identity.general? identity.client feels weird

Mar 8 2023, 2:07 PM
jon added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

Hmm are we using usernames as an identifier? Ideally we use user IDs for that

Mar 8 2023, 1:54 PM
jon added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

This honestly feels like bike-shedding… I’d love if we could start out the work on this project with a focus on derisking the big risks, rather than renaming things

Mar 8 2023, 1:52 PM
jon accepted D7016: [nix] Launch `redis-server` from `REDIS_CACHE_DIR`.

LGTM

Mar 8 2023, 1:38 PM
jon accepted D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
Mar 8 2023, 11:40 AM
jon requested changes to D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
Mar 8 2023, 11:19 AM
jon added a comment to D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.

and we're doing some custom stuff instead of launchd

Mar 8 2023, 11:19 AM
jon added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 8 2023, 11:07 AM
jon updated the diff for D7003: [Identity] Add client <-> identity protobuf defintions.

Fix compile errors

Mar 8 2023, 10:28 AM
jon added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 8 2023, 10:25 AM
jon requested review of D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 8 2023, 10:17 AM
jon added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

identity.proto should probably be renamed as identity_keyserver.proto. As I would like to add the client <-> identity protobuf file as identity_client.proto, which is confusing as we refer to the keyserver protos as "identity_client" in some parts of the code base. In other words, align the naming with the "comm" defintion of terms and move away with the more general gRPC definition of terms.

Mar 8 2023, 9:29 AM
jon updated the summary of D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.
Mar 8 2023, 9:23 AM
jon requested review of D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.
Mar 8 2023, 9:21 AM

Mar 7 2023

jon accepted D6997: [keyserver] add new compareUsers function to rust-node-addon.
Mar 7 2023, 11:02 AM
jon added inline comments to D6997: [keyserver] add new compareUsers function to rust-node-addon.
Mar 7 2023, 11:01 AM

Mar 5 2023

jon added a comment to D6955: [keyserver] change how we load config for the identity service client.

not sure why i reviewed knowing full well it was relating to the keyserver code, then responded about the server.

Mar 5 2023, 2:00 PM

Mar 4 2023

jon accepted D6955: [keyserver] change how we load config for the identity service client.
Mar 4 2023, 4:12 PM
jon added a comment to D6955: [keyserver] change how we load config for the identity service client.

I think short term this is fine.

Mar 4 2023, 4:11 PM

Mar 3 2023

jon closed D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 4:24 PM
jon committed rCOMM8bf9af343487: [Keyserver/identity] Call identity service update_user (authored by jon).
[Keyserver/identity] Call identity service update_user
Mar 3 2023, 4:24 PM
jon closed D6939: [Identity] Implment update_user endpoint on server.
Mar 3 2023, 4:24 PM
jon closed D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 3 2023, 4:24 PM
jon committed rCOMM99460bba398f: [Identity] Implment update_user endpoint on server (authored by jon).
[Identity] Implment update_user endpoint on server
Mar 3 2023, 4:24 PM
jon committed rCOMM592b0649dfb9: [Identity] Refactor opaque_ke usage to dedicated file (authored by jon).
[Identity] Refactor opaque_ke usage to dedicated file
Mar 3 2023, 4:24 PM
jon closed D6912: [Protos] Add UpdateUser definitions.
Mar 3 2023, 4:24 PM
jon committed rCOMM825421d38718: [Protos] Add UpdateUser definitions (authored by jon).
[Protos] Add UpdateUser definitions
Mar 3 2023, 4:24 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 3:56 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 3:54 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 3:52 PM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Move unneeded parameters to protobuf message creation

Mar 3 2023, 3:50 PM
jon updated the diff for D6939: [Identity] Implment update_user endpoint on server.

Consolidate imports

Mar 3 2023, 3:28 PM
jon added inline comments to D6939: [Identity] Implment update_user endpoint on server.
Mar 3 2023, 3:24 PM
jon updated the diff for D6939: [Identity] Implment update_user endpoint on server.

Apply error and typo feedback

Mar 3 2023, 3:23 PM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Address varuns feedback

Mar 3 2023, 3:06 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 3:05 PM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Explicitly await update user action

Mar 3 2023, 2:35 PM
jon updated the diff for D6939: [Identity] Implment update_user endpoint on server.

Restore rng parameter

Mar 3 2023, 2:25 PM
jon updated the diff for D6925: [Identity] Refactor opaque_ke usage to dedicated file.

Restore rng parameter

Mar 3 2023, 2:22 PM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Rebase on master

Mar 3 2023, 2:11 PM
jon updated the diff for D6939: [Identity] Implment update_user endpoint on server.

Rebase on master

Mar 3 2023, 2:11 PM
jon updated the diff for D6925: [Identity] Refactor opaque_ke usage to dedicated file.

Rebase on master

Mar 3 2023, 2:11 PM
jon updated the diff for D6912: [Protos] Add UpdateUser definitions.

Apply feedback, rebase on master

Mar 3 2023, 2:11 PM
jon accepted D6943: [keyserver] add loginUserWallet function.

looks fine to me rust wise

Mar 3 2023, 12:53 PM
jon accepted D6945: [identity] db and siwe verification changes to handle login requests from keyserver.

otherwise looks fine rust wise

Mar 3 2023, 12:50 PM
jon added inline comments to D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 3 2023, 12:42 PM
jon updated the diff for D6925: [Identity] Refactor opaque_ke usage to dedicated file.

Make logging and errors more consistent

Mar 3 2023, 12:42 PM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Handle promises more gracefully

Mar 3 2023, 12:22 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 12:22 PM
jon planned changes to D6944: [Keyserver/identity] Call identity service update_user.

Just got to the point of a successful update, still need to address feedback

Mar 3 2023, 11:57 AM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Serialize messages in correct order

Mar 3 2023, 11:50 AM

Mar 2 2023

jon published D6944: [Keyserver/identity] Call identity service update_user for review.

I'm still working on one remaining issue with message ordering, but wanted the diff to be up so varun had more time to review

Mar 2 2023, 11:33 PM
jon requested review of D6939: [Identity] Implment update_user endpoint on server.

We talked about the usage of access tokens, and decided that we can defer doing access_token validation when the client (not keyserver) is able to provide them.

Mar 2 2023, 11:21 PM
jon requested review of D6912: [Protos] Add UpdateUser definitions.
Mar 2 2023, 11:20 PM
jon added a comment to D6912: [Protos] Add UpdateUser definitions.

We talked about the usage of access tokens, and decided that we can defer doing access_token validation when the client (not keyserver) is able to provide them.

Mar 2 2023, 11:20 PM
jon added inline comments to D6914: [keyserver] add loginUserPake function to rust-node-addon, call it from loginResponder in js.
Mar 2 2023, 11:15 PM
jon added a comment to D6941: [keyserver] call Identity service RegisterUser RPC from createAccount.

I don't see anything I feel strongly about, I'll keep on the queue for others

Mar 2 2023, 11:05 PM
jon accepted D6942: [identity] change siwe signature type.
Mar 2 2023, 11:04 PM
jon requested changes to D6943: [keyserver] add loginUserWallet function.
Mar 2 2023, 11:04 PM
jon planned changes to D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 2 2023, 10:46 PM
jon accepted D6940: [identity] some small fixes.
Mar 2 2023, 10:28 PM
jon updated the diff for D6939: [Identity] Implment update_user endpoint on server.

Rebase on master

Mar 2 2023, 7:26 PM
jon updated the diff for D6925: [Identity] Refactor opaque_ke usage to dedicated file.

Rebase on master

Mar 2 2023, 7:26 PM
jon updated the diff for D6912: [Protos] Add UpdateUser definitions.

Rebase on master

Mar 2 2023, 7:26 PM
jon closed D6926: [Identity] Use references of DatabaseClient.
Mar 2 2023, 3:50 PM
jon committed rCOMMc24d8e37d8a4: [Identity] Use references of DatabaseClient (authored by jon).
[Identity] Use references of DatabaseClient
Mar 2 2023, 3:50 PM
jon updated the diff for D6926: [Identity] Use references of DatabaseClient.

Rebase on top of latest master

Mar 2 2023, 2:29 PM
jon requested review of D6939: [Identity] Implment update_user endpoint on server.
Mar 2 2023, 2:27 PM
jon requested review of D6926: [Identity] Use references of DatabaseClient.

We don't need 15 difference copies of the Arc wrapping; just when we cross a thread boundary like tokio::spawn.

Mar 2 2023, 1:24 PM
jon updated the diff for D6912: [Protos] Add UpdateUser definitions.

Reuse registerUser request message

Mar 2 2023, 1:20 PM

Mar 1 2023

jon requested review of D6926: [Identity] Use references of DatabaseClient.
Mar 1 2023, 9:05 PM
jon updated the summary of D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 1 2023, 8:57 PM
jon retitled D6925: [Identity] Refactor opaque_ke usage to dedicated file from Refactor opaque_ke usage to dedicated file to [Identity] Refactor opaque_ke usage to dedicated file.
Mar 1 2023, 8:54 PM
jon updated the diff for D6925: [Identity] Refactor opaque_ke usage to dedicated file.

Include tag in commit name

Mar 1 2023, 5:44 PM
jon updated the diff for D6912: [Protos] Add UpdateUser definitions.

Use user_id instead of username for identitifying users

Mar 1 2023, 5:43 PM
jon requested review of D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 1 2023, 3:25 PM
jon updated the diff for D6912: [Protos] Add UpdateUser definitions.

Match registration shape exactly

Mar 1 2023, 12:05 PM

Feb 28 2023

jon accepted D6913: [keyserver] reorganize rust-node-addon.

mostly looks good.

Feb 28 2023, 1:56 PM
jon requested review of D6912: [Protos] Add UpdateUser definitions.
Feb 28 2023, 9:27 AM
jon added a comment to D6910: [identity] add session initialization info to RegisterUser and LoginUser RPCs.

the rust is pretty boilerplate, but I'll defer to someone else about intent

Feb 28 2023, 2:18 AM

Feb 27 2023

jon added inline comments to D6904: [identity] GetSessionInitializationInfo RPC.
Feb 27 2023, 8:36 PM
jon accepted D6899: [identity] db client method to get session initialization info.

Looks okay to me, I'm assuming this is part of https://linear.app/comm/issue/ENG-2759

Feb 27 2023, 8:13 PM

Feb 26 2023

jon added inline comments to D6861: [services][feature-flags] Introduce `features` endpoint.
Feb 26 2023, 4:28 PM
jon added a comment to D6858: [services][feature-flags] Determine enabled features set.

agree with bartek, something name <object>_is_<condition>, should probably return a boolean, or be renamed to more accurately describe what is going on.

Feb 26 2023, 4:24 PM

Feb 25 2023

jon accepted D6886: [services][feature-flags] Dockerize the service.

Looks fine to me.

Feb 25 2023, 1:15 PM
jon accepted D6836: [identity] add nonces table to dynamoDB.

Seems like from ashoat's feedback the nonce is similar to a unique token, in which case I think this is alright.

Feb 25 2023, 1:08 PM
jon accepted D6827: [identity] CompareUsers RPC.
Feb 25 2023, 1:07 PM
jon accepted D6824: [identity] check that incoming requests contain valid auth token.
Feb 25 2023, 1:05 PM

Feb 22 2023

jon closed D6790: [Keyserver/rust-addon] Call identity deleteUser on account deletion.
Feb 22 2023, 4:36 PM
jon committed rCOMMd33e4c4fba27: [Keyserver/rust-addon] Call identity deleteUser on account deletion (authored by jon).
[Keyserver/rust-addon] Call identity deleteUser on account deletion
Feb 22 2023, 4:36 PM
jon closed D6789: [Keyserver] Move shared identity client resources to lib.rs.
Feb 22 2023, 4:26 PM
jon committed rCOMM053c9fc02762: [Keyserver] Move shared identity client resources to lib.rs (authored by jon).
[Keyserver] Move shared identity client resources to lib.rs
Feb 22 2023, 4:26 PM
jon closed D6788: [Identity] Add deleteUser RPC to proto files.
Feb 22 2023, 4:25 PM
jon committed rCOMMde8151a7c3c0: [Identity] Add deleteUser RPC to proto files (authored by jon).
[Identity] Add deleteUser RPC to proto files
Feb 22 2023, 4:25 PM
jon closed D6787: [Nix] Enable localstack.
Feb 22 2023, 4:20 PM
jon committed rCOMMb185e613b75b: [Nix] Enable localstack (authored by jon).
[Nix] Enable localstack
Feb 22 2023, 4:20 PM
jon requested changes to D6836: [identity] add nonces table to dynamoDB.

Looks similar to other tables, so the syntax looks okay.

Feb 22 2023, 4:14 PM
jon accepted D6840: [identity] replace deviceID concept with signingPublicKey.
Feb 22 2023, 4:10 PM
jon accepted D6839: [identity] remove getUserPublicKey RPC.
Feb 22 2023, 4:08 PM