Page MenuHomePhabricator
Feed Advanced Search

Jul 12 2024

varun committed rCOMM816b07e456a8: [keyserver] display copyable url for qr code auth (authored by varun).
[keyserver] display copyable url for qr code auth
Jul 12 2024, 12:18 AM
varun committed rCOMM314adf5b2f47: [keyserver] don't display the QR code if keyserver is already logged in (authored by varun).
[keyserver] don't display the QR code if keyserver is already logged in
Jul 12 2024, 12:18 AM
varun closed D12213: [keyserver] finish secondary login via qr code.
Jul 12 2024, 12:18 AM
varun committed rCOMMc7755c1d0935: [keyserver] finish secondary login via qr code (authored by varun).
[keyserver] finish secondary login via qr code
Jul 12 2024, 12:18 AM
varun added inline comments to D12620: [native] modify SecondaryDeviceQRCodeScanner to support emulator.
Jul 12 2024, 12:15 AM

Jul 11 2024

varun added inline comments to D12620: [native] modify SecondaryDeviceQRCodeScanner to support emulator.
Jul 11 2024, 3:19 PM
varun updated the diff for D12620: [native] modify SecondaryDeviceQRCodeScanner to support emulator.

address feedback

Jul 11 2024, 3:18 PM
varun removed a reviewer for D12732: [terraform] bump prod identity to 0.29: will. varun added 1 blocking reviewer(s) for D12732: [terraform] bump prod identity to 0.29: ashoat.

making ashoat blocking since we're discussing when to do this deployment on Comm

Jul 11 2024, 1:02 PM
varun published D12732: [terraform] bump prod identity to 0.29 for review.
Jul 11 2024, 12:47 PM
varun closed D12723: [terraform] bump staging identity to 0.29-staging.
Jul 11 2024, 12:37 PM
varun committed rCOMM9110bf477939: [terraform] bump staging identity to 0.29-staging (authored by varun).
[terraform] bump staging identity to 0.29-staging
Jul 11 2024, 12:37 PM
varun added a comment to D12619: [keyserver] display copyable url for qr code auth.

What is the URL that is printed? Wondering if it's https or some sort of deep link

Jul 11 2024, 12:02 PM
varun added a comment to D12213: [keyserver] finish secondary login via qr code.

https://linear.app/comm/issue/ENG-8813/remove-recursive-logic-from-tunnelbroker-websocket-code-in-keyserver

Jul 11 2024, 11:57 AM
varun requested review of D12723: [terraform] bump staging identity to 0.29-staging.

staging is fixed now -- all items in the identity-users table with a username attribute now also have a usernameLower attribute

Jul 11 2024, 11:02 AM
varun requested review of D12723: [terraform] bump staging identity to 0.29-staging.
Jul 11 2024, 12:38 AM
varun accepted D12709: [terraform] Ensure only one running ecs task for primary service.
Jul 11 2024, 12:20 AM
varun accepted D12691: [terraform] include REDIS_URL as part of keyserver terraform config.
Jul 11 2024, 12:18 AM
varun accepted D12690: [terraform] restrict redis access to ecs keyserver service only.
Jul 11 2024, 12:17 AM

Jul 10 2024

varun added a comment to D12689: [terraform] create comm database on aws rds startup.

this solution is pretty neat

Jul 10 2024, 11:58 PM
varun accepted D12689: [terraform] create comm database on aws rds startup.
Jul 10 2024, 11:58 PM
varun accepted D12688: [terraform] make aws rds instance class configurable for self-hosting.
Jul 10 2024, 11:56 PM
varun accepted D12719: Fix CORS issues with identity HTTP.
Jul 10 2024, 11:55 PM
varun added a comment to D12704: [identity] fix issues with capitalized usernames in users and reserved usernames tables.
In D12704#360102, @will wrote:

Directly synced with Varun. Looks good. Before landing make sure to remove need for unnecessary partition key check and add a comment for changes starting from line 340 in services/identity/src/database.rs

Jul 10 2024, 11:49 PM
varun closed D12704: [identity] fix issues with capitalized usernames in users and reserved usernames tables.
Jul 10 2024, 11:48 PM
varun committed rCOMM8383596b0c9c: [identity] fix issues with capitalized usernames in users and reserved… (authored by varun).
[identity] fix issues with capitalized usernames in users and reserved…
Jul 10 2024, 11:48 PM
varun updated the diff for D12704: [identity] fix issues with capitalized usernames in users and reserved usernames tables.

some small fixes

Jul 10 2024, 11:39 PM
varun closed D12705: [terraform] bump production identity service to 0.28.
Jul 10 2024, 1:17 AM
varun committed rCOMM7f7737a44afc: [terraform] bump production identity service to 0.28 (authored by varun).
[terraform] bump production identity service to 0.28
Jul 10 2024, 1:17 AM

Jul 9 2024

varun accepted D12707: [native] Disable autoCapitalize for LegacyRegisterPanel and EditPassword.
Jul 9 2024, 2:06 PM
varun published D12705: [terraform] bump production identity service to 0.28 for review.
Jul 9 2024, 9:41 AM
varun published D12704: [identity] fix issues with capitalized usernames in users and reserved usernames tables for review.
Jul 9 2024, 9:40 AM

Jun 28 2024

varun accepted D12622: [terraform] upgrade identity staging image to 0.27-staging.
Jun 28 2024, 3:07 PM
varun requested review of D12620: [native] modify SecondaryDeviceQRCodeScanner to support emulator.
Jun 28 2024, 1:14 PM
varun requested review of D12619: [keyserver] display copyable url for qr code auth.
Jun 28 2024, 1:12 PM
varun requested review of D12618: [keyserver] don't display the QR code if keyserver is already logged in.
Jun 28 2024, 1:10 PM
varun accepted D12621: [identity] ensure identity reqwest crate has rustls-tls.
Jun 28 2024, 1:01 PM
varun accepted D12587: [identity] Rename verify_initial_device_list to verify_singleton_device_list.
Jun 28 2024, 10:48 AM
varun accepted D12571: [protos][identity] Add LogOutPrimaryDevice RPC.
Jun 28 2024, 10:48 AM
varun accepted D12511: [backup][backup-client] Add auth to logs websocket.
Jun 28 2024, 10:46 AM

Jun 27 2024

varun added inline comments to D12213: [keyserver] finish secondary login via qr code.
Jun 27 2024, 11:59 AM
varun updated the diff for D12213: [keyserver] finish secondary login via qr code.

fix onOpen

Jun 27 2024, 11:57 AM
varun planned changes to D12213: [keyserver] finish secondary login via qr code.

think i broke something in the latest revision

Jun 27 2024, 11:36 AM
varun closed D12576: [native] remove call to setCommServicesAuthMetadata.
Jun 27 2024, 10:52 AM
varun committed rCOMMf00deb35bc7e: [native] remove call to setCommServicesAuthMetadata (authored by varun).
[native] remove call to setCommServicesAuthMetadata
Jun 27 2024, 10:52 AM

Jun 26 2024

varun added inline comments to D12213: [keyserver] finish secondary login via qr code.
Jun 26 2024, 11:38 AM
varun accepted D12577: [identity] Use Debug trait for AWS errors.
Jun 26 2024, 5:36 AM

Jun 25 2024

varun requested review of D12576: [native] remove call to setCommServicesAuthMetadata.
Jun 25 2024, 3:20 PM
varun requested review of D12575: [identity][proto] addWallet RPC.
Jun 25 2024, 2:28 PM
varun accepted D12507: [comm-lib][reports] Extract 'authenticated' service trait.
Jun 25 2024, 6:53 AM

Jun 24 2024

varun closed D12555: [terraform] bump staging identity to 0.26.
Jun 24 2024, 9:13 PM
varun committed rCOMM9b79fc3e29a8: [terraform] bump staging identity to 0.26 (authored by varun).
[terraform] bump staging identity to 0.26
Jun 24 2024, 9:13 PM
varun published D12555: [terraform] bump staging identity to 0.26 for review.
Jun 24 2024, 10:51 AM
varun closed D12553: [lib] flip usingCommServicesAccessToken to true.
Jun 24 2024, 10:29 AM
varun closed D12549: [web] fix uncaught exception when user cancels SIWE.
Jun 24 2024, 10:29 AM
varun committed rCOMM740ad2c8c245: [lib] flip usingCommServicesAccessToken to true (authored by varun).
[lib] flip usingCommServicesAccessToken to true
Jun 24 2024, 10:29 AM
varun closed D12548: [web] fix uncaught exception bug.
Jun 24 2024, 10:29 AM
varun committed rCOMMa907ff87e418: [web] fix uncaught exception when user cancels SIWE (authored by varun).
[web] fix uncaught exception when user cancels SIWE
Jun 24 2024, 10:29 AM
varun closed D12547: remove reserved wallet registration RPC.
Jun 24 2024, 10:29 AM
varun committed rCOMMb94eb9c9e71b: [web] fix uncaught exception bug (authored by varun).
[web] fix uncaught exception bug
Jun 24 2024, 10:29 AM
varun closed D12546: [web] inform password users that they need to log in from native to claim username.
Jun 24 2024, 10:29 AM
varun closed D12545: [web] handle case where user needs to log in from native first.
Jun 24 2024, 10:29 AM
varun committed rCOMM54a1ca0f14e0: remove reserved wallet registration RPC (authored by varun).
remove reserved wallet registration RPC
Jun 24 2024, 10:29 AM
varun committed rCOMM99e7643512ed: [web] inform password users that they need to log in from native to claim… (authored by varun).
[web] inform password users that they need to log in from native to claim…
Jun 24 2024, 10:29 AM
varun committed rCOMM56df56c1c2e1: [web] handle case where user needs to log in from native first (authored by varun).
[web] handle case where user needs to log in from native first
Jun 24 2024, 10:29 AM
varun closed D12515: [identity] fix wallet account deletion bug.
Jun 24 2024, 10:29 AM
varun closed D12544: [identity] fix reserved username workflow for wallet users.
Jun 24 2024, 10:29 AM
varun committed rCOMM83b24d3002f2: [identity] fix reserved username workflow for wallet users (authored by varun).
[identity] fix reserved username workflow for wallet users
Jun 24 2024, 10:29 AM
varun committed rCOMM30437f95dcbf: [identity] fix wallet account deletion bug (authored by varun).
[identity] fix wallet account deletion bug
Jun 24 2024, 10:29 AM
varun closed D12501: [lib] mark prekeys as published after uploading to identity.
Jun 24 2024, 10:29 AM
varun committed rCOMMa62e9dbba688: [lib] mark prekeys as published after uploading to identity (authored by varun).
[lib] mark prekeys as published after uploading to identity
Jun 24 2024, 10:29 AM
varun added a comment to D12546: [web] inform password users that they need to log in from native to claim username.

Looks good, but is there a follow up task/diff to address the janky ui?

Jun 24 2024, 10:17 AM
varun updated the diff for D12213: [keyserver] finish secondary login via qr code.

address feedback

Jun 24 2024, 10:07 AM
varun added a comment to D12549: [web] fix uncaught exception when user cancels SIWE.
In D12549#355466, @inka wrote:

Can any other errors be thrown by signer.signMessage? Should we still throw them if so?

Jun 24 2024, 8:57 AM
varun added a comment to D12547: remove reserved wallet registration RPC.

Why did we introduce it initially? 🤨

Jun 24 2024, 8:47 AM
varun added a comment to D12545: [web] handle case where user needs to log in from native first.
In D12545#355460, @inka wrote:

Should the secondary title say "Wallet Connected" on error?

Jun 24 2024, 8:32 AM
varun added inline comments to D12544: [identity] fix reserved username workflow for wallet users.
Jun 24 2024, 8:23 AM
varun added a comment to D12501: [lib] mark prekeys as published after uploading to identity.

I have concern that marking prekeys as published after uploading to identity comes with the risk of delaying next prekey rotation in case app crashes after uploading but before marking as published. I am wondering if letting the prekeys to be in circulation for longer than expected is a security concern. Accepting to unblock identity release. If my reasoning is correct we can just change the order later.

Jun 24 2024, 8:00 AM
varun added a comment to D12501: [lib] mark prekeys as published after uploading to identity.

It might be strange if a user sees that registration fails, but after attempting sees that the user already exists because registration worked but marking keys as published failed.

Jun 24 2024, 7:54 AM
varun requested review of D12553: [lib] flip usingCommServicesAccessToken to true.
Jun 24 2024, 7:48 AM
varun added a comment to D12546: [web] inform password users that they need to log in from native to claim username.
In D12546#355463, @inka wrote:

Why would a user be claiming a username from login screen? Isn't claiming username registration?

Jun 24 2024, 6:49 AM

Jun 21 2024

varun added a comment to D12546: [web] inform password users that they need to log in from native to claim username.

i'll try to shorten the message so it fits on one line. looks a little janky rn

Jun 21 2024, 5:15 PM
varun attached a referenced file: F2068619: Screenshot 2024-06-21 at 5.17.30 PM.png.
Jun 21 2024, 5:14 PM
varun updated the test plan for D12546: [web] inform password users that they need to log in from native to claim username.
Jun 21 2024, 5:14 PM
varun attached a referenced file: F2068589: Screenshot 2024-06-21 at 8.13.05 PM.png.
Jun 21 2024, 5:13 PM
varun updated the test plan for D12545: [web] handle case where user needs to log in from native first.
Jun 21 2024, 5:13 PM
varun requested review of D12549: [web] fix uncaught exception when user cancels SIWE.
Jun 21 2024, 5:13 PM
varun requested review of D12548: [web] fix uncaught exception bug.
Jun 21 2024, 5:10 PM
varun requested review of D12547: remove reserved wallet registration RPC.
Jun 21 2024, 5:07 PM
varun requested review of D12546: [web] inform password users that they need to log in from native to claim username.
Jun 21 2024, 5:02 PM
varun requested review of D12545: [web] handle case where user needs to log in from native first.
Jun 21 2024, 5:00 PM
varun requested review of D12544: [identity] fix reserved username workflow for wallet users.
Jun 21 2024, 4:53 PM
varun added a comment to D12501: [lib] mark prekeys as published after uploading to identity.

What if a user is successfully registered/logged in to Identity but for some reason markPrekeysAsPublished fails? Wondering, if shouldn't catch and ignore errors here and make sure later PrekeysHandler re-uploads the same keys and marks as published (since marking as published is used only for rotation).

I think existing logic should handle this because it uploads not published keys and marks as published (not sure about native but logic should match).

It might be strange if a user sees that registration fails, but after attempting sees that the user already exists because registration worked but marking keys as published failed.

Curious for @marcin's perspective.

Accepting to unblock and I don't have a strong opinion on which approach is better, only pointing out something worth considering.

Jun 21 2024, 4:23 PM
varun closed D12479: [web][native] olm api method to mark prekeys as published.
Jun 21 2024, 4:20 PM
varun committed rCOMM8b786f1788c0: [web][native] olm api method to mark prekeys as published (authored by varun).
[web][native] olm api method to mark prekeys as published
Jun 21 2024, 4:20 PM

Jun 20 2024

varun added inline comments to D12515: [identity] fix wallet account deletion bug.
Jun 20 2024, 9:08 PM
varun accepted D12506: [comm-lib] Implement FromRequest for AuthService.
Jun 20 2024, 8:09 PM
varun added a reviewer for D12515: [identity] fix wallet account deletion bug: bartek.
Jun 20 2024, 1:11 PM
varun published D12515: [identity] fix wallet account deletion bug for review.
Jun 20 2024, 11:13 AM
varun published D12501: [lib] mark prekeys as published after uploading to identity for review.
Jun 20 2024, 9:25 AM

Jun 19 2024

varun requested review of D12479: [web][native] olm api method to mark prekeys as published.
Jun 19 2024, 5:13 PM