Page MenuHomePhorge
Feed All Stories

Mar 10 2023

varun added a comment to D7020: [comm-opaque] Add dependencies for client and server logic.

i frankly don't think this adds much clutter at all... also it's more tedious for me to switch between diffs to see how these dependencies are being used. just looking at this diff, i have no idea what any of these dependencies are for besides the one that @jon annotated, and even then i still have to look at another diff to see what handle_pake_to_grpc_err looks like. the lack of context in this diff makes it difficult to determine if a given dependency is appropriate or propose an alternative.

Mar 10 2023, 7:35 PM
atul added a comment to D7020: [comm-opaque] Add dependencies for client and server logic.

so that a reviewer can have a more focused context when reviewing

Mar 10 2023, 7:28 PM
ashoat requested changes to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 10 2023, 7:14 PM
ashoat added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 10 2023, 7:01 PM
ashoat updated subscribers of D7030: [web] Use notifPermissionAlertInfo.
Mar 10 2023, 6:55 PM
ashoat accepted D6994: [web-db] implement types for `SubtleCrypto` module.
Mar 10 2023, 6:51 PM
jon added a comment to D7020: [comm-opaque] Add dependencies for client and server logic.

i don't love adding the dependencies in a separate diff, would like to see them added when they're actually being used

Mar 10 2023, 6:42 PM
jon added inline comments to D7022: [comm-opaque] Create opaque 2.0 facade for usage in Comm.
Mar 10 2023, 6:26 PM
jon planned changes to D7022: [comm-opaque] Create opaque 2.0 facade for usage in Comm.

Going to go to a more OOP-like approach instead of some "static methods". Following https://github.com/marucjmar/opaque-wasm as an example of more ergonomic JS bindings.

Mar 10 2023, 6:22 PM
atul accepted D7031: [CI] Fix macos buildkite ci.
Mar 10 2023, 5:55 PM
jon closed D7028: [Identity] Change default port to 50054 to avoid port collision.
Mar 10 2023, 5:22 PM
jon committed rCOMMabfa7ff6229f: [Identity] Change default port to 50054 to avoid port collision.
Mar 10 2023, 5:22 PM
jon updated the diff for D7028: [Identity] Change default port to 50054 to avoid port collision.

Rebase on master

Mar 10 2023, 5:03 PM
jon added inline comments to D7028: [Identity] Change default port to 50054 to avoid port collision.
Mar 10 2023, 5:00 PM
jon updated the diff for D7003: [Identity] Add client <-> identity protobuf defintions.

Address feedback:

  • clarify service comment
  • Make LoginPasswordUser into stream, and finalize OPAQUE
  • Remove GetUserID (at least for now, until we have a use case)
  • signingPublicKey -> deviceEd25519PublicKey
  • align opaque message with opaque_ke terms
Mar 10 2023, 4:59 PM
jon added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 10 2023, 4:59 PM
michal requested review of D7032: [desktop] Handle autoUpdate errors.
Mar 10 2023, 4:40 PM
jon added a comment to D7031: [CI] Fix macos buildkite ci.

looks fine to me, not going to accept so that atul can take a look as he's probably more familar with mac workflow.

Mar 10 2023, 4:28 PM
jon updated the diff for D7028: [Identity] Change default port to 50054 to avoid port collision.

grpc -> gRPC

Mar 10 2023, 4:27 PM
michal abandoned D6683: [desktop] Continue checking for updates even after an exception.

Abandoned in favour of D7032

Mar 10 2023, 4:26 PM
michal abandoned D6684: [desktop] Ignore exceptions about being offline.

Abandoned in favour of D7032

Mar 10 2023, 4:25 PM
michal requested review of D7031: [CI] Fix macos buildkite ci.
Mar 10 2023, 4:04 PM
michal requested review of D7030: [web] Use notifPermissionAlertInfo.
Mar 10 2023, 3:53 PM
michal requested review of D7029: [native] Move NotifPermissionAlertInfo to lib.
Mar 10 2023, 3:44 PM
kamil added inline comments to D6996: [web-db] generate `CryptoKey` and persist.
Mar 10 2023, 3:19 PM
kamil updated the diff for D6996: [web-db] generate `CryptoKey` and persist.

rebase, update const

Mar 10 2023, 3:18 PM
kamil added inline comments to D6995: [web-db] implement crypto functions.
Mar 10 2023, 3:15 PM
kamil updated the diff for D6995: [web-db] implement crypto functions.

rebase, make type read-only

Mar 10 2023, 3:14 PM
kamil added reviewers for D6994: [web-db] implement types for `SubtleCrypto` module: bartek, ashoat.

Previous types were too general (string instead of current algorithm names). I've updated this to be more precise (like D7023) but with specific types for the entire module - not only AES algorithms.

Mar 10 2023, 3:11 PM
kamil updated the diff for D6994: [web-db] implement types for `SubtleCrypto` module.

improve types and move to flow-typed

Mar 10 2023, 3:04 PM
bartek planned changes to D7025: [web] Add unit tests for AES functions.

I'll add a test for the correct key, but the malformed ciphertext

Mar 10 2023, 9:05 AM
bartek added inline comments to D7005: [native][AES] Implement encrypt function on iOS.
Mar 10 2023, 9:00 AM
bartek added inline comments to D7004: [native][AES] Implement generateKey function.
Mar 10 2023, 8:51 AM
varun requested changes to D7022: [comm-opaque] Create opaque 2.0 facade for usage in Comm.
Mar 10 2023, 8:04 AM
varun accepted D7020: [comm-opaque] Add dependencies for client and server logic.

i don't love adding the dependencies in a separate diff, would like to see them added when they're actually being used

Mar 10 2023, 7:38 AM
varun requested changes to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 10 2023, 7:35 AM
bartek published D7025: [web] Add unit tests for AES functions for review.
Mar 10 2023, 7:11 AM
bartek closed D6558: Added web tests to .lintstagedrc and CI.
Mar 10 2023, 7:08 AM
bartek committed rCOMM96800eb9c03f: Added web tests to .lintstagedrc and CI.
Mar 10 2023, 7:08 AM
bartek closed D7019: [web] Fix missing WebCrypto mock in tests.
Mar 10 2023, 7:08 AM
bartek committed rCOMM961052269b9f: [web] Fix missing WebCrypto mock in tests.
Mar 10 2023, 7:07 AM
bartek updated the diff for D7019: [web] Fix missing WebCrypto mock in tests.

Changed flow-typed -> Flow as suggested

Mar 10 2023, 7:02 AM
varun accepted D7028: [Identity] Change default port to 50054 to avoid port collision.
Mar 10 2023, 6:59 AM
bartek accepted D7028: [Identity] Change default port to 50054 to avoid port collision.
Mar 10 2023, 6:55 AM
ashoat added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 10 2023, 2:05 AM
jon requested review of D7028: [Identity] Change default port to 50054 to avoid port collision.
Mar 10 2023, 12:16 AM

Mar 9 2023

jon closed D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.
Mar 9 2023, 11:27 PM
jon committed rCOMM538ca1cc8b28: [Identity] Rename IdentityService service to IdentityKeyserverService.
Mar 9 2023, 11:27 PM
jon updated the diff for D7003: [Identity] Add client <-> identity protobuf defintions.

UpdateUser -> UpdateUserPassword
Add comment on rpcs
Use a single "Empty" message instead of rpc specific versions

Mar 9 2023, 11:21 PM
atul requested changes to D7006: [native][AES] Implement decrypt function on iOS.

Some questions inline. Definitely feel free to re-request review if there's something I'm missing.

Mar 9 2023, 10:47 PM
ashoat added a comment to D7026: [keyserver][web] Add types for @matrix-org/olm.

I pulled this from the version of the types in node_modules. Will try to make those improvements, with exceptions for any methods that might not exist in this older version of Olm (I think you're looking at master, which I linked above)

Mar 9 2023, 10:39 PM
atul accepted D6920: Modify TemporaryMessageStorage API, so that we can have two storages: one (created by default init) for messages and the other for rescinds..
Mar 9 2023, 10:15 PM
atul attached a referenced file: F419751: 602258.png.
Mar 9 2023, 9:46 PM
atul attached a referenced file: F419756: 6c1aae.png.
Mar 9 2023, 9:46 PM
atul attached a referenced file: F419758: 014c61.png.
Mar 9 2023, 9:46 PM
atul requested changes to D7026: [keyserver][web] Add types for @matrix-org/olm.

Noted some inconsistencies with the TypeScript types. Feel free to re-request review if the omissions were intentional.

Mar 9 2023, 9:46 PM
atul accepted D7027: [web] Introduce Jest tests for Olm.
Mar 9 2023, 9:23 PM
atul requested changes to D7005: [native][AES] Implement encrypt function on iOS.

Some questions inline. Definitely feel free to re-request review if there's something I'm missing.

Mar 9 2023, 8:40 PM
ashoat requested review of D7027: [web] Introduce Jest tests for Olm.
Mar 9 2023, 8:25 PM
ashoat requested review of D7026: [keyserver][web] Add types for @matrix-org/olm.
Mar 9 2023, 8:22 PM
atul added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

JK, I shouldn't have just searched yarn build... should've considered that yarn scripts can be invoked via yarn workspace blah command.

Mar 9 2023, 8:16 PM
atul reopened D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 8:07 PM
atul added a reverting change for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`: rCOMM1d4b3fbc6fa0: Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`".
Mar 9 2023, 8:07 PM
atul committed rCOMM1d4b3fbc6fa0: Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`".
Mar 9 2023, 8:07 PM
atul added a reverting change for rCOMM234fa98e436f: [keyserver] Use `build:debug` instead of `build` in `postinstall`: rCOMM1d4b3fbc6fa0: Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`".
Mar 9 2023, 8:07 PM
atul added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

Ah, but we probably DO want yarn build on prod. As @varun said:

Mar 9 2023, 8:05 PM
atul added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

Did we make sure this passed keyserver Docker build before landing?

Mar 9 2023, 8:04 PM
atul requested changes to D7004: [native][AES] Implement generateKey function.

Left a note about the error-handling on the Swift side, definitely let me know if there's something I'm missing. I think we should just be able to match what we're doing on the Android/Kotlin side?

Mar 9 2023, 8:02 PM
jon added inline comments to D7022: [comm-opaque] Create opaque 2.0 facade for usage in Comm.
Mar 9 2023, 7:53 PM
ashoat added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

Did we make sure this passed keyserver Docker build before landing? Just want to make that sure that running build:debug before we run build doesn't break build (doubt it)

Mar 9 2023, 7:47 PM
ashoat requested changes to D7023: [web] Add Flow types for WebCrypto / SubtleCrypto.

(To your queue and off my mine while you figure things out with @kamil)

Mar 9 2023, 7:46 PM
ashoat accepted D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 7:44 PM
ashoat accepted D6964: [native] Added new editing messages type to MessageSpecs in C++.
Mar 9 2023, 7:43 PM
atul accepted D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 7:42 PM
atul closed D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 7:40 PM
atul committed rCOMM234fa98e436f: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 7:39 PM
bartek added a comment to D7023: [web] Add Flow types for WebCrypto / SubtleCrypto.

Oops, This is a duplicate of D6994 - I'll sync with @kamil and we'll decide what to do

Mar 9 2023, 7:39 PM
atul updated the diff for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

don't install ci-deps for non-debug

Mar 9 2023, 7:38 PM
atul added inline comments to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 7:38 PM
jon added inline comments to D7020: [comm-opaque] Add dependencies for client and server logic.
Mar 9 2023, 7:32 PM
bartek published D7024: [web] Implement AES encryption functions for review.
Mar 9 2023, 7:26 PM
bartek updated the diff for D6558: Added web tests to .lintstagedrc and CI.
  • Updated diff description
  • Added CI
  • Removed lint-staged for desktop and native > On native we have only one dummy test which is failing
Mar 9 2023, 6:51 PM
jon requested review of D7020: [comm-opaque] Add dependencies for client and server logic.
Mar 9 2023, 6:40 PM
jon requested review of D7022: [comm-opaque] Create opaque 2.0 facade for usage in Comm.
Mar 9 2023, 6:40 PM
bartek retitled D6558: Added web tests to .lintstagedrc and CI from Added web, native and desktop tests to .lintstagedrc
Mar 9 2023, 6:38 PM
varun added inline comments to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 6:30 PM
bartek planned changes to D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 6:29 PM
bartek commandeered D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 6:29 PM
bartek requested review of D7023: [web] Add Flow types for WebCrypto / SubtleCrypto.
Mar 9 2023, 6:27 PM
ginsu accepted D6964: [native] Added new editing messages type to MessageSpecs in C++.

Not an expert in C++ but your code follows the pattern I used when writing the C++ message spec for reactions. Would be helpful to get a second pair of eyes here

Mar 9 2023, 6:25 PM
atul updated the diff for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

fix yarn build:debug to include install-ci-deps step

Mar 9 2023, 6:24 PM
ginsu requested changes to D6963: [lib] Added new MessageSpec for editing messages.

I think we should consider if we also need shimUnsupportedMessageInfo and unshimMessageInfo. These functions will help us support older native clients that haven't been updated yet.

Mar 9 2023, 6:21 PM
Harbormaster failed remote builds in B17213: Diff 23577 for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`!
Mar 9 2023, 6:20 PM
atul added a comment to D7019: [web] Fix missing WebCrypto mock in tests.

This is more related to this task: https://linear.app/comm/issue/ENG-2712/we-dont-run-tests-in-web-and-native-in-precommit-hook
So I'd rather do that when adding the hook

Mar 9 2023, 6:19 PM
varun accepted D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 6:18 PM
bartek added a comment to D7019: [web] Fix missing WebCrypto mock in tests.

Now that they're working, can we update this diff to include them in CI?

Mar 9 2023, 6:17 PM
atul accepted D6922: Permanently enable rescind and visible notifications processing via NotificationService.
Mar 9 2023, 6:16 PM
atul accepted D6921: Persist rescinds payloads in NSE so that AppDelegate can update thread statuses on app start..
Mar 9 2023, 6:14 PM
atul published D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall` for review.
Mar 9 2023, 6:10 PM
ginsu accepted D6962: [lib][keyserver] Add editing message type to messageTypes.

Accepting, but if what I suggested doesn't take too long might be worthwhile to update

Mar 9 2023, 6:04 PM