Page MenuHomePhorge
Feed Search

Mar 9 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 9 2023, 2:39 AM

Mar 8 2023

jon added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

how about identity.general? identity.client feels weird

Mar 8 2023, 10: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, 9: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, 9:52 PM
jon accepted D7016: [nix] Launch `redis-server` from `REDIS_CACHE_DIR`.

LGTM

Mar 8 2023, 9:38 PM
jon accepted D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
Mar 8 2023, 7:40 PM
jon requested changes to D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
Mar 8 2023, 7:19 PM
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, 7:19 PM
jon added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 8 2023, 7:07 PM
jon updated the diff for D7003: [Identity] Add client <-> identity protobuf defintions.

Fix compile errors

Mar 8 2023, 6:28 PM
jon added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 8 2023, 6:25 PM
jon requested review of D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 8 2023, 6:17 PM
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, 5:29 PM
jon updated the summary of D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.
Mar 8 2023, 5:23 PM
jon requested review of D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.
Mar 8 2023, 5:21 PM

Mar 7 2023

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

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, 10:00 PM
jon accepted D6955: [keyserver] change how we load config for the identity service client.
Mar 5 2023, 12:12 AM
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 5 2023, 12:11 AM

Mar 4 2023

jon closed D6944: [Keyserver/identity] Call identity service update_user.
Mar 4 2023, 12:24 AM
jon committed rCOMM8bf9af343487: [Keyserver/identity] Call identity service update_user.
Mar 4 2023, 12:24 AM
jon closed D6939: [Identity] Implment update_user endpoint on server.
Mar 4 2023, 12:24 AM
jon closed D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 4 2023, 12:24 AM
jon committed rCOMM99460bba398f: [Identity] Implment update_user endpoint on server.
Mar 4 2023, 12:24 AM
jon committed rCOMM592b0649dfb9: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 4 2023, 12:24 AM
jon closed D6912: [Protos] Add UpdateUser definitions.
Mar 4 2023, 12:24 AM
jon committed rCOMM825421d38718: [Protos] Add UpdateUser definitions.
Mar 4 2023, 12:24 AM

Mar 3 2023

jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 11:56 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 11:54 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 11: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, 11:50 PM
jon updated the diff for D6939: [Identity] Implment update_user endpoint on server.

Consolidate imports

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

Apply error and typo feedback

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

Address varuns feedback

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

Explicitly await update user action

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

Restore rng parameter

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

Restore rng parameter

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

Rebase on master

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

Rebase on master

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

Rebase on master

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

Apply feedback, rebase on master

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

looks fine to me rust wise

Mar 3 2023, 8: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, 8:50 PM
jon added inline comments to D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 3 2023, 8: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, 8:42 PM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Handle promises more gracefully

Mar 3 2023, 8:22 PM
jon added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 8: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, 7:57 PM
jon updated the diff for D6944: [Keyserver/identity] Call identity service update_user.

Serialize messages in correct order

Mar 3 2023, 7:50 PM
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 3 2023, 7:33 AM
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 3 2023, 7:21 AM
jon requested review of D6912: [Protos] Add UpdateUser definitions.
Mar 3 2023, 7:20 AM
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 3 2023, 7:20 AM
jon added inline comments to D6914: [keyserver] add loginUserPake function to rust-node-addon, call it from loginResponder in js.
Mar 3 2023, 7:15 AM
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 3 2023, 7:05 AM
jon accepted D6942: [identity] change siwe signature type.
Mar 3 2023, 7:04 AM
jon requested changes to D6943: [keyserver] add loginUserWallet function.
Mar 3 2023, 7:04 AM
jon planned changes to D6925: [Identity] Refactor opaque_ke usage to dedicated file.
Mar 3 2023, 6:46 AM
jon accepted D6940: [identity] some small fixes.
Mar 3 2023, 6:28 AM
jon updated the diff for D6939: [Identity] Implment update_user endpoint on server.

Rebase on master

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

Rebase on master

Mar 3 2023, 3:26 AM
jon updated the diff for D6912: [Protos] Add UpdateUser definitions.

Rebase on master

Mar 3 2023, 3:26 AM

Mar 2 2023

jon closed D6926: [Identity] Use references of DatabaseClient.
Mar 2 2023, 11:50 PM
jon committed rCOMMc24d8e37d8a4: [Identity] Use references of DatabaseClient.
Mar 2 2023, 11:50 PM
jon updated the diff for D6926: [Identity] Use references of DatabaseClient.

Rebase on top of latest master

Mar 2 2023, 10:29 PM
jon requested review of D6939: [Identity] Implment update_user endpoint on server.
Mar 2 2023, 10: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, 9:24 PM
jon updated the diff for D6912: [Protos] Add UpdateUser definitions.

Reuse registerUser request message

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

Include tag in commit name

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

Use user_id instead of username for identitifying users

Mar 2 2023, 1:43 AM

Mar 1 2023

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

Match registration shape exactly

Mar 1 2023, 8:05 PM

Feb 28 2023

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

mostly looks good.

Feb 28 2023, 9:56 PM
jon requested review of D6912: [Protos] Add UpdateUser definitions.
Feb 28 2023, 5:27 PM
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, 10:18 AM
jon added inline comments to D6904: [identity] GetSessionInitializationInfo RPC.
Feb 28 2023, 4:36 AM
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 28 2023, 4:13 AM

Feb 27 2023

jon added inline comments to D6861: [services][feature-flags] Introduce `features` endpoint.
Feb 27 2023, 12:28 AM
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 27 2023, 12:24 AM

Feb 25 2023

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

Looks fine to me.

Feb 25 2023, 9: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, 9:08 PM
jon accepted D6827: [identity] CompareUsers RPC.
Feb 25 2023, 9:07 PM
jon accepted D6824: [identity] check that incoming requests contain valid auth token.
Feb 25 2023, 9:05 PM

Feb 23 2023

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

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

Feb 23 2023, 12:14 AM
jon accepted D6840: [identity] replace deviceID concept with signingPublicKey.
Feb 23 2023, 12:10 AM
jon accepted D6839: [identity] remove getUserPublicKey RPC.
Feb 23 2023, 12:08 AM