Page MenuHomePhabricator
Feed Advanced Search

Feb 12 2024

bartek committed rCOMM0c4a9659cd41: [identity] Make device list transactions more flexible (authored by bartek).
[identity] Make device list transactions more flexible
Feb 12 2024, 1:26 AM
bartek closed D10797: [identity] Scaffold RPC for device list updates.
Feb 12 2024, 1:26 AM
bartek committed rCOMMcd0064f44b2c: [identity] Scaffold RPC for device list updates (authored by bartek).
[identity] Scaffold RPC for device list updates
Feb 12 2024, 1:26 AM
bartek updated the diff for D10864: [native] Expose UpdateDeviceList RPC to JS.

Rebase before landing

Feb 12 2024, 1:00 AM
bartek added inline comments to D11015: [blob] Block reserved and offensive links from being created.
Feb 12 2024, 12:54 AM
bartek published D11028: [terraform] Remove is-dev conditionals for DDB tables for review.
Feb 12 2024, 12:28 AM

Feb 9 2024

bartek accepted D10986: [backup client] Downloading logs.

The download_logs() and log_download_stream() logic is unobvious at first glance but after offline discussions, I think they work as expected.

Feb 9 2024, 7:52 AM
bartek accepted D10985: [backup client] Refactor ws creation.
Feb 9 2024, 7:27 AM
bartek accepted D10984: [backup client] Merge errors.
Feb 9 2024, 7:25 AM
bartek accepted D11004: [dev env] add toolchain file.
Feb 9 2024, 2:27 AM

Feb 8 2024

bartek closed D10931: [lib][native] Pass CSAT to Reports endpoint.
Feb 8 2024, 7:57 AM
bartek committed rCOMM231413600c8d: [lib][native] Pass CSAT to Reports endpoint (authored by bartek).
[lib][native] Pass CSAT to Reports endpoint
Feb 8 2024, 7:57 AM
bartek closed D10930: [lib] Add optional Authorization header to reports endpoint.
Feb 8 2024, 7:57 AM
bartek committed rCOMMe9f3781d057f: [lib] Add optional Authorization header to reports endpoint (authored by bartek).
[lib] Add optional Authorization header to reports endpoint
Feb 8 2024, 7:57 AM
bartek closed D10913: [native][web] Add AuthMetadata to Blob service upload actions.
Feb 8 2024, 7:57 AM
bartek closed D10912: [web] Pass CSAT to Blob service when fetching multimedia.
Feb 8 2024, 7:57 AM
bartek committed rCOMM41e4177c4707: [native][web] Add AuthMetadata to Blob service upload actions (authored by bartek).
[native][web] Add AuthMetadata to Blob service upload actions
Feb 8 2024, 7:57 AM
bartek committed rCOMMb30526643bde: [web] Pass CSAT to Blob service when fetching multimedia (authored by bartek).
[web] Pass CSAT to Blob service when fetching multimedia
Feb 8 2024, 7:57 AM
bartek closed D10910: [native] Pass CSAT to Blob service when fetching multimedia.
Feb 8 2024, 7:57 AM
bartek committed rCOMMbda5c6e24f8e: [native] Pass CSAT to Blob service when fetching multimedia (authored by bartek).
[native] Pass CSAT to Blob service when fetching multimedia
Feb 8 2024, 7:57 AM
bartek updated the diff for D10931: [lib][native] Pass CSAT to Reports endpoint.
  • Used hook abstraction as proposed
  • Used direct commCoreModule call in crash component
Feb 8 2024, 5:54 AM
bartek added inline comments to D10931: [lib][native] Pass CSAT to Reports endpoint.
Feb 8 2024, 5:51 AM
bartek updated the diff for D10913: [native][web] Add AuthMetadata to Blob service upload actions.

Simplified approach - moved identity context into useBlobServiceUpload hook

Feb 8 2024, 5:09 AM
bartek accepted D10858: [native] Notify backup uploader after compaction creation.
Feb 8 2024, 4:47 AM

Feb 7 2024

bartek updated the diff for D10912: [web] Pass CSAT to Blob service when fetching multimedia.

Add hook for fetchAndDecryptMedia

Feb 7 2024, 4:37 AM
bartek updated the diff for D10910: [native] Pass CSAT to Blob service when fetching multimedia.

Add hook for fetchAndDecryptMedia

Feb 7 2024, 4:05 AM
bartek added inline comments to D10910: [native] Pass CSAT to Blob service when fetching multimedia.
Feb 7 2024, 4:05 AM
bartek added inline comments to D10861: [identity] Add RPC for secondary device login.
Feb 7 2024, 2:39 AM
bartek accepted D9966: [keyserver] Add a function that deletes a blob.
Feb 7 2024, 2:05 AM
bartek closed D10908: [keyserver] Authorize blob service requests.
Feb 7 2024, 2:00 AM
bartek committed rCOMMc98884624359: [keyserver] Authorize blob service requests (authored by bartek).
[keyserver] Authorize blob service requests
Feb 7 2024, 2:00 AM
bartek closed D10929: [lib] Add function to create HTTP Authorization header.
Feb 7 2024, 1:59 AM
bartek committed rCOMM73ff928c9e0a: [lib] Add function to create HTTP Authorization header (authored by bartek).
[lib] Add function to create HTTP Authorization header
Feb 7 2024, 1:59 AM
bartek added a comment to D10929: [lib] Add function to create HTTP Authorization header.

Makes sense. I suppose we could use native implementations in some places (eg. Node.js), but not sure it matters too much for performance.

Feb 7 2024, 1:54 AM
bartek closed D10907: [web][native] Rename decryptMedia to fetchAndDecryptMedia.
Feb 7 2024, 1:35 AM
bartek committed rCOMM887894201f17: [web][native] Rename decryptMedia to fetchAndDecryptMedia (authored by bartek).
[web][native] Rename decryptMedia to fetchAndDecryptMedia
Feb 7 2024, 1:35 AM
bartek closed D10932: [reports] Always create AuthorizationCredential directly.
Feb 7 2024, 1:35 AM
bartek committed rCOMM38451e4cef66: [reports] Always create AuthorizationCredential directly (authored by bartek).
[reports] Always create AuthorizationCredential directly
Feb 7 2024, 1:35 AM
bartek updated the diff for D10932: [reports] Always create AuthorizationCredential directly.

Update comment

Feb 7 2024, 1:32 AM
bartek accepted D10980: [identity] [shared] Change search query enum to struct and introduce search method enum.
Feb 7 2024, 1:15 AM
bartek accepted D10338: [web][native] Download invite link blob and use it as an override.
Feb 7 2024, 1:14 AM

Feb 6 2024

bartek accepted D10205: [keyserver] Add a function that synchronizes keyserver's invite links with blobs.
Feb 6 2024, 2:42 AM
bartek updated the diff for D10913: [native][web] Add AuthMetadata to Blob service upload actions.

Address feedback

Feb 6 2024, 2:40 AM
bartek added inline comments to D10913: [native][web] Add AuthMetadata to Blob service upload actions.
Feb 6 2024, 2:40 AM

Feb 5 2024

bartek added a comment to D10837: Implement attachments capture.

I'm asking if the uri field might contain something for old-style uploads, that we want to skip.

Feb 5 2024, 7:03 AM
bartek updated the diff for D10864: [native] Expose UpdateDeviceList RPC to JS.

Rebase on fix

Feb 5 2024, 5:19 AM
bartek updated the diff for D10861: [identity] Add RPC for secondary device login.

Fix flow

Feb 5 2024, 5:19 AM
bartek planned changes to D10861: [identity] Add RPC for secondary device login.
Feb 5 2024, 5:13 AM
bartek added inline comments to D10861: [identity] Add RPC for secondary device login.
Feb 5 2024, 5:08 AM
bartek updated the diff for D10864: [native] Expose UpdateDeviceList RPC to JS.

Rebase on fix

Feb 5 2024, 4:59 AM
bartek updated the diff for D10861: [identity] Add RPC for secondary device login.

Renamed the RPC; added request field for the nonce/timestamp challenge

Feb 5 2024, 4:56 AM
bartek updated the diff for D10800: [commtest] Add test for UpdateDeviceList RPC.

Fix payload

Feb 5 2024, 4:30 AM
bartek updated the diff for D10864: [native] Expose UpdateDeviceList RPC to JS.

Rebase

Feb 5 2024, 3:45 AM
bartek updated the diff for D10800: [commtest] Add test for UpdateDeviceList RPC.

Rebase on review feedback from parent diffs

Feb 5 2024, 3:37 AM
bartek updated the diff for D10799: [identity] Basic implementation of UpdateDeviceList RPC.

Rebase on review feedback from parent diffs

Feb 5 2024, 3:37 AM
bartek updated the diff for D10797: [identity] Scaffold RPC for device list updates.

Updated RPC to accept full SignedDeviceList JSON as request payload, removed unused response object

Feb 5 2024, 3:37 AM

Feb 4 2024

bartek accepted D10131: [keyserver] Change blob upload functions to return more usable results.
Feb 4 2024, 11:36 PM

Feb 2 2024

bartek closed D10906: [native] Support Blob service URIs when saving media.
Feb 2 2024, 6:58 AM
bartek committed rCOMMd7c235d46ec2: [native] Support Blob service URIs when saving media (authored by bartek).
[native] Support Blob service URIs when saving media
Feb 2 2024, 6:58 AM
bartek accepted D10935: [native] Fix crash in Crash component due to missing CallKeyserverEndpointContext.

Thank You!

Feb 2 2024, 6:37 AM
bartek closed D10832: [lib] Tunnelbroker support for unauthorized sessions.
Feb 2 2024, 3:18 AM
bartek committed rCOMM0a577e6b0879: [lib] Tunnelbroker support for unauthorized sessions (authored by bartek).
[lib] Tunnelbroker support for unauthorized sessions
Feb 2 2024, 3:18 AM
bartek closed D10829: [lib] Reset Tunnelbroker connection when credentials change.
Feb 2 2024, 3:18 AM
bartek committed rCOMM33f2b7fa09e3: [lib] Reset Tunnelbroker connection when credentials change (authored by bartek).
[lib] Reset Tunnelbroker connection when credentials change
Feb 2 2024, 3:18 AM
bartek updated the diff for D10832: [lib] Tunnelbroker support for unauthorized sessions.

Apply requested quickfixes

Feb 2 2024, 2:50 AM
bartek published D10931: [lib][native] Pass CSAT to Reports endpoint for review.
Feb 2 2024, 2:33 AM
bartek published D10930: [lib] Add optional Authorization header to reports endpoint for review.
Feb 2 2024, 2:33 AM
bartek published D10932: [reports] Always create AuthorizationCredential directly for review.
Feb 2 2024, 2:18 AM
bartek published D10913: [native][web] Add AuthMetadata to Blob service upload actions for review.
Feb 2 2024, 12:59 AM
bartek published D10929: [lib] Add function to create HTTP Authorization header for review.

Adding @ashoat because of dependency changes.
This dep was already in native, I copy-pasted it to lib, so no yarn.lock changes

Feb 2 2024, 12:23 AM
bartek added inline comments to D10910: [native] Pass CSAT to Blob service when fetching multimedia.
Feb 2 2024, 12:20 AM
bartek updated the diff for D10912: [web] Pass CSAT to Blob service when fetching multimedia.

Replace convenient hook with imperative calls

Feb 2 2024, 12:08 AM
bartek updated the diff for D10910: [native] Pass CSAT to Blob service when fetching multimedia.

Replace convenient hook with imperative calls

Feb 2 2024, 12:08 AM
bartek updated the summary of D10910: [native] Pass CSAT to Blob service when fetching multimedia.
Feb 2 2024, 12:06 AM
bartek updated the diff for D10908: [keyserver] Authorize blob service requests.

Extracted lib function to D10929

Feb 2 2024, 12:01 AM

Feb 1 2024

bartek added a comment to D10902: [identity] use siwe message and signature from primary device as social proof.

Looks good to me. How about removing the social_proof from DeviceKeyUpload?

I assume you meant the DeviceKeyUploadActions trait. I agree we can remove social_proof() from that trait and the implementation. Will make this change before landing

Feb 1 2024, 11:32 AM
bartek abandoned D10909: [lib] Add hook for easy access to CSAT.
Feb 1 2024, 9:16 AM
bartek planned changes to D10912: [web] Pass CSAT to Blob service when fetching multimedia.
Feb 1 2024, 9:13 AM
bartek planned changes to D10910: [native] Pass CSAT to Blob service when fetching multimedia.
Feb 1 2024, 9:13 AM
bartek accepted D10833: Bump SQLCipher Amalgamation version to enable sqlite3 session extension.
Feb 1 2024, 7:27 AM
bartek added inline comments to D10908: [keyserver] Authorize blob service requests.
Feb 1 2024, 6:05 AM
bartek published D10912: [web] Pass CSAT to Blob service when fetching multimedia for review.
Feb 1 2024, 5:47 AM
bartek published D10910: [native] Pass CSAT to Blob service when fetching multimedia for review.
Feb 1 2024, 5:43 AM
bartek published D10909: [lib] Add hook for easy access to CSAT for review.
Feb 1 2024, 4:14 AM
bartek published D10908: [keyserver] Authorize blob service requests for review.
Feb 1 2024, 2:08 AM
bartek published D10907: [web][native] Rename decryptMedia to fetchAndDecryptMedia for review.
Feb 1 2024, 1:54 AM
bartek published D10906: [native] Support Blob service URIs when saving media for review.
Feb 1 2024, 1:41 AM

Jan 31 2024

bartek closed D10885: [identity] Verify nonce expiration and set TTL to 120s.
Jan 31 2024, 11:36 PM
bartek committed rCOMM2769889f02eb: [identity] Verify nonce expiration and set TTL to 120s (authored by bartek).
[identity] Verify nonce expiration and set TTL to 120s
Jan 31 2024, 11:36 PM
bartek accepted D10904: [native] don't pass social proof string to identity.
Jan 31 2024, 10:54 PM
bartek accepted D10902: [identity] use siwe message and signature from primary device as social proof.

Looks good to me. How about removing the social_proof from DeviceKeyUpload?

Jan 31 2024, 10:53 PM
bartek accepted D10873: [identity] [6/n] Requires a Search Query json message from client for user identity search.

Nice!

Jan 31 2024, 2:13 PM
bartek planned changes to D10862: [identity] Implement RPC for secondary device registration.
Jan 31 2024, 1:18 PM
bartek accepted D10875: [identity] [8/n] Implement Heartbeats on identity search ws server.
Jan 31 2024, 12:14 PM
bartek added a comment to D10873: [identity] [6/n] Requires a Search Query json message from client for user identity search.

Business logic looks good to me.
Generally, there are lots of serde_json::from_str and serde_json::to_string, map_err everywhere which can be simplified and generalized using some traits and generics but it's not worth spending much time on this.

Jan 31 2024, 12:07 PM
bartek accepted D10851: [identity] [5/n] Create search result message type for identity search.
Jan 31 2024, 11:34 AM
bartek requested review of D10885: [identity] Verify nonce expiration and set TTL to 120s.
Jan 31 2024, 8:15 AM
bartek planned changes to D10861: [identity] Add RPC for secondary device login.
Jan 31 2024, 3:35 AM
bartek planned changes to D10797: [identity] Scaffold RPC for device list updates.

Okay, these comments make sense, thank you! I was indeed confused that we're "adding signing later" so I did this differently, but I agree it's good to have correct RPC format from the beginning. I'll update this accordingly

Jan 31 2024, 3:14 AM
bartek added inline comments to D10863: [native] Expose GetDeviceListForUser RPC to JS.
Jan 31 2024, 3:00 AM