-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a more structured algorithm for determining decryption client for appservice events #352
base: main
Are you sure you want to change the base?
Commits on Dec 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f10d39f - Browse repository at this point
Copy the full SHA f10d39fView commit details -
Query & claim needed keys before encrypting (turt2live#270)
Ensure that the bot has all keys needed for sharing a room key with recipients before encryping an event in that room. Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d62511 - Browse repository at this point
Copy the full SHA 5d62511View commit details -
Handle pre-shared invite keys (turt2live#271)
* Handle pre-shared invite keys Signed-off-by: Andrew Ferrazzutti <[email protected]> * Use assignment for changes to membership array * Catch member lookup errors in prepareEncrypt Treat an error in looking up room members of a particular membership type as there being no members of that type. Return early if no members are found. * Resolve conflict on `members` variable Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e9c700 - Browse repository at this point
Copy the full SHA 6e9c700View commit details
Commits on Dec 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 367cdb9 - Browse repository at this point
Copy the full SHA 367cdb9View commit details
Commits on Jan 18, 2023
-
Allow zero values for LRU config options
We'd like to disable the LRU to tempoarily workaround some caching issues, which requires us to be able to set the values of maxAgeMs/maxCached to `0`.
Configuration menu - View commit details
-
Copy full SHA for b505f75 - Browse repository at this point
Copy the full SHA b505f75View commit details
Commits on Jan 19, 2023
-
Allow zero values for LRU config options (turt2live#6)
We'd like to disable the LRU to tempoarily workaround some caching issues, which requires us to be able to set the values of maxAgeMs/maxCached to `0`.
Configuration menu - View commit details
-
Copy full SHA for 68c4733 - Browse repository at this point
Copy the full SHA 68c4733View commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 591b66e - Browse repository at this point
Copy the full SHA 591b66eView commit details
Commits on Mar 27, 2023
-
Update main branch to current v0.6.5 pre-release state (turt2live#7)
Includes v0.6.4+patches (not yet released as v0.6.5 upstream)
Configuration menu - View commit details
-
Copy full SHA for cbcc8ef - Browse repository at this point
Copy the full SHA cbcc8efView commit details
Commits on Mar 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3900fe2 - Browse repository at this point
Copy the full SHA 3900fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c2036c - Browse repository at this point
Copy the full SHA 9c2036cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2485ea1 - Browse repository at this point
Copy the full SHA 2485ea1View commit details
Commits on Apr 5, 2023
-
Fix key query and claim APIs to support async functionality (turt2liv…
…e#314) * Fix key query and claim APIs to support async functionality * fix copy/paste fail
Configuration menu - View commit details
-
Copy full SHA for b19bd4c - Browse repository at this point
Copy the full SHA b19bd4cView commit details
Commits on Apr 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 33c7242 - Browse repository at this point
Copy the full SHA 33c7242View commit details -
Configuration menu - View commit details
-
Copy full SHA for db33128 - Browse repository at this point
Copy the full SHA db33128View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa7394c - Browse repository at this point
Copy the full SHA aa7394cView commit details
Commits on Apr 17, 2023
-
Allow usage of the SQLite-based crypto store
Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bd23c4 - Browse repository at this point
Copy the full SHA 3bd23c4View commit details -
Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c73cacf - Browse repository at this point
Copy the full SHA c73cacfView commit details -
Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bce5d60 - Browse repository at this point
Copy the full SHA bce5d60View commit details -
Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00a0b27 - Browse repository at this point
Copy the full SHA 00a0b27View commit details -
Fix lint rules for new the imports in examples
Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc8202a - Browse repository at this point
Copy the full SHA dc8202aView commit details
Commits on Apr 20, 2023
-
Run all tests with both the Sled and SQLite store types Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c07639 - Browse repository at this point
Copy the full SHA 4c07639View commit details -
Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f24fb5 - Browse repository at this point
Copy the full SHA 3f24fb5View commit details -
Signed-off-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a983376 - Browse repository at this point
Copy the full SHA a983376View commit details
Commits on Apr 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 50460ae - Browse repository at this point
Copy the full SHA 50460aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4c8886 - Browse repository at this point
Copy the full SHA d4c8886View commit details
Commits on Apr 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5b75a2f - Browse repository at this point
Copy the full SHA 5b75a2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c0f14 - Browse repository at this point
Copy the full SHA 82c0f14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18875a2 - Browse repository at this point
Copy the full SHA 18875a2View commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 563d129 - Browse repository at this point
Copy the full SHA 563d129View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f527b7 - Browse repository at this point
Copy the full SHA 5f527b7View commit details -
This fixes incompatibility issues with ts-jest and Typescript 5.0.4.
Configuration menu - View commit details
-
Copy full SHA for 795323d - Browse repository at this point
Copy the full SHA 795323dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11f3962 - Browse repository at this point
Copy the full SHA 11f3962View commit details
Commits on May 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f62a508 - Browse repository at this point
Copy the full SHA f62a508View commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 888c97d - Browse repository at this point
Copy the full SHA 888c97dView commit details -
Reduce our reliance on an up-to-date joined rooms cache (turt2live#16)
* Reduce our reliance on an up-to-date joined rooms cache * Remove joined room caching entirely * Remove now-unused variables * Undo accidental API breakage in getJoinedRooms() * Deprecate ensureJoined() --------- Co-authored-by: Tadeusz Sośnierz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9df413e - Browse repository at this point
Copy the full SHA 9df413eView commit details
Commits on Jun 29, 2023
-
Co-authored-by: Andrew Ferrazzutti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7902671 - Browse repository at this point
Copy the full SHA 7902671View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5617a1f - Browse repository at this point
Copy the full SHA 5617a1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbec61f - Browse repository at this point
Copy the full SHA fbec61fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b37f16 - Browse repository at this point
Copy the full SHA 6b37f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 813cc80 - Browse repository at this point
Copy the full SHA 813cc80View commit details -
Configuration menu - View commit details
-
Copy full SHA for f985cd4 - Browse repository at this point
Copy the full SHA f985cd4View commit details
Commits on Jul 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a0c209e - Browse repository at this point
Copy the full SHA a0c209eView commit details -
Refactor transaction handler. (turt2live#20)
Fixes turt2live#327 This: - Moves the actual transaction handling logic to it's own function. - Uses a `Map` to store the txnId => `Promise` . - Always clears up transactions after they've run.
Configuration menu - View commit details
-
Copy full SHA for cfae65f - Browse repository at this point
Copy the full SHA cfae65fView commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6cfd717 - Browse repository at this point
Copy the full SHA 6cfd717View commit details
Commits on Aug 1, 2023
-
Remove Sled crypto store, use SQLite by default
on account of it being removed from the crypto-sdk
Configuration menu - View commit details
-
Copy full SHA for 8c7c2ae - Browse repository at this point
Copy the full SHA 8c7c2aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e306a8 - Browse repository at this point
Copy the full SHA 8e306a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb9572 - Browse repository at this point
Copy the full SHA 6eb9572View commit details
Commits on Aug 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 73a38c1 - Browse repository at this point
Copy the full SHA 73a38c1View commit details -
Pull to-device event list out of returned tuple
OlmMachine.receiveSyncChanges returns an array of [device messages, room key changes], so emit "to_device.decrypted" with that instead of the entire array. Fixes regression introduced by turt2live#287.
Configuration menu - View commit details
-
Copy full SHA for fef0d54 - Browse repository at this point
Copy the full SHA fef0d54View commit details -
Log when OlmMachine returns unexpected value
Also condense the validity checks on the returned value
Configuration menu - View commit details
-
Copy full SHA for 974771b - Browse repository at this point
Copy the full SHA 974771bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d87f7d8 - Browse repository at this point
Copy the full SHA d87f7d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceae460 - Browse repository at this point
Copy the full SHA ceae460View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe6c37 - Browse repository at this point
Copy the full SHA bfe6c37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64463f4 - Browse repository at this point
Copy the full SHA 64463f4View commit details
Commits on Aug 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e735cb5 - Browse repository at this point
Copy the full SHA e735cb5View commit details
Commits on Aug 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7449440 - Browse repository at this point
Copy the full SHA 7449440View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc221fb - Browse repository at this point
Copy the full SHA cc221fbView commit details -
Put auth_data signature in correct place
Also add/tweak some utility types to help with this
Configuration menu - View commit details
-
Copy full SHA for ae61b8f - Browse repository at this point
Copy the full SHA ae61b8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcee62b - Browse repository at this point
Copy the full SHA bcee62bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af9ee9 - Browse repository at this point
Copy the full SHA 1af9ee9View commit details
Commits on Aug 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f96ac19 - Browse repository at this point
Copy the full SHA f96ac19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 746e4a7 - Browse repository at this point
Copy the full SHA 746e4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d7a72 - Browse repository at this point
Copy the full SHA a1d7a72View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a8ff6 - Browse repository at this point
Copy the full SHA d6a8ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a3dfae - Browse repository at this point
Copy the full SHA 9a3dfaeView commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c249cf5 - Browse repository at this point
Copy the full SHA c249cf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 401ad7a - Browse repository at this point
Copy the full SHA 401ad7aView commit details -
Get type checking from OlmMachine.shareRoomKey
Update the rust-sdk bindings to have access to type checking in the return value of OlmMachine.shareRoomKey, which now returns an array of ToDeviceRequest objects instead of a JSON encoding of the whole array.
Configuration menu - View commit details
-
Copy full SHA for ac1fe44 - Browse repository at this point
Copy the full SHA ac1fe44View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3475a1 - Browse repository at this point
Copy the full SHA b3475a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e00af9 - Browse repository at this point
Copy the full SHA 2e00af9View commit details
Commits on Sep 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for de0872d - Browse repository at this point
Copy the full SHA de0872dView commit details
Commits on Sep 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 187363e - Browse repository at this point
Copy the full SHA 187363eView commit details -
Nitpick: fix inconsistent indent in package.json
so that "yarn add" won't have to change the indentation again
Configuration menu - View commit details
-
Copy full SHA for 3988fd3 - Browse repository at this point
Copy the full SHA 3988fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fdb6e2 - Browse repository at this point
Copy the full SHA 7fdb6e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b945461 - Browse repository at this point
Copy the full SHA b945461View commit details -
Catch when CryptoClient can't find room members
CryptoClient#onRoomEvent may throw when looking up the members of a room with a client that isn't in the room, which can happen if appservice namespaces are broad & the appservice receives events for rooms that some of its managed clients are not members of.
Configuration menu - View commit details
-
Copy full SHA for 4b59dc0 - Browse repository at this point
Copy the full SHA 4b59dc0View commit details -
Put exportRoomKeysForSession on MatrixClient
This also allows it to be guarded with a check on whether the client's crypto had been set up.
Configuration menu - View commit details
-
Copy full SHA for b5fbd7f - Browse repository at this point
Copy the full SHA b5fbd7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd9fa96 - Browse repository at this point
Copy the full SHA bd9fa96View commit details -
Emit an event when an Intent is created
This allows responding to when a transaction requires an appservice user that the process has not yet initialized.
Configuration menu - View commit details
-
Copy full SHA for ee77957 - Browse repository at this point
Copy the full SHA ee77957View commit details -
because: - the failure will print its own logs - the point of catching this is that it's _not_ an error
Configuration menu - View commit details
-
Copy full SHA for dab204a - Browse repository at this point
Copy the full SHA dab204aView commit details -
Don't print error object in warning
because the failure already logs the error
Configuration menu - View commit details
-
Copy full SHA for 8fbe5e0 - Browse repository at this point
Copy the full SHA 8fbe5e0View commit details
Commits on Sep 7, 2023
-
Prevent setting multiple room key backup listeners
If key backups are enabled on a client that already has them enabled, don't re-add the listener for to-device room key messages.
Configuration menu - View commit details
-
Copy full SHA for 8dab018 - Browse repository at this point
Copy the full SHA 8dab018View commit details -
Configuration menu - View commit details
-
Copy full SHA for 356954e - Browse repository at this point
Copy the full SHA 356954eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e57073c - Browse repository at this point
Copy the full SHA e57073cView commit details
Commits on Sep 27, 2023
-
Emit "intent.new" after caching the new Intent
Otherwise, if a listener of that event were to trigger a lookup of the same Intent, the lookup wouldn't see the event in the Intent cache, and thus cause a new Intent to be created & new event to be emitted.
Configuration menu - View commit details
-
Copy full SHA for f03e778 - Browse repository at this point
Copy the full SHA f03e778View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5dcf62 - Browse repository at this point
Copy the full SHA a5dcf62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c074f2 - Browse repository at this point
Copy the full SHA 0c074f2View commit details
Commits on Oct 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fb00ab4 - Browse repository at this point
Copy the full SHA fb00ab4View commit details
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ea8c166 - Browse repository at this point
Copy the full SHA ea8c166View commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 686a499 - Browse repository at this point
Copy the full SHA 686a499View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6835e - Browse repository at this point
Copy the full SHA 9c6835eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06e66df - Browse repository at this point
Copy the full SHA 06e66dfView commit details
Commits on Nov 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cf05059 - Browse repository at this point
Copy the full SHA cf05059View commit details -
Configuration menu - View commit details
-
Copy full SHA for 703e625 - Browse repository at this point
Copy the full SHA 703e625View commit details -
Configuration menu - View commit details
-
Copy full SHA for 669408d - Browse repository at this point
Copy the full SHA 669408dView commit details
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e84fee9 - Browse repository at this point
Copy the full SHA e84fee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42fc7e8 - Browse repository at this point
Copy the full SHA 42fc7e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed4ba92 - Browse repository at this point
Copy the full SHA ed4ba92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15643f8 - Browse repository at this point
Copy the full SHA 15643f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81e6824 - Browse repository at this point
Copy the full SHA 81e6824View commit details
Commits on Dec 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5a0dd1e - Browse repository at this point
Copy the full SHA 5a0dd1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c852f25 - Browse repository at this point
Copy the full SHA c852f25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9344147 - Browse repository at this point
Copy the full SHA 9344147View commit details