-
-
Notifications
You must be signed in to change notification settings - Fork 590
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
add getOpenIdToken capability to embedded mode #3558
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 387b348 - Browse repository at this point
Copy the full SHA 387b348View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b31661 - Browse repository at this point
Copy the full SHA 7b31661View commit details
Commits on Jun 14, 2023
-
Update dependency eslint-plugin-jsdoc to v46 (#3468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d14fc42 - Browse repository at this point
Copy the full SHA d14fc42View commit details -
ElementR: Add
rust-crypto#createRecoveryKeyFromPassphrase
implement……ation (#3472) * Add `rust-crypto#createRecoveryKeyFromPassphrase` implementation * Use `crypto` * Rename `IRecoveryKey` into `GeneratedSecretStorageKey` for rust crypto * Improve comments * Improve `createRecoveryKeyFromPassphrase`
Configuration menu - View commit details
-
Copy full SHA for 0545f6d - Browse repository at this point
Copy the full SHA 0545f6dView commit details
Commits on Jun 15, 2023
-
Avoid deprecated classes in verification integ test (#3473)
#3449 deprecated a bunch of exports from `src/crypto/verification/request/VerificationRequest`. Let's stop using them in the integration test.
Configuration menu - View commit details
-
Copy full SHA for c425945 - Browse repository at this point
Copy the full SHA c425945View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b5b533 - Browse repository at this point
Copy the full SHA 9b5b533View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bae10c - Browse repository at this point
Copy the full SHA 1bae10cView commit details -
Add new methods for verification to
CryptoApi
(#3474)* Add accessors for verification requests to CryptoApi Part of element-hq/crypto-internal#97 * Add new methods for verification to `CryptoApi` and deprecate old method element-hq/crypto-internal#98
Configuration menu - View commit details
-
Copy full SHA for 22f0b78 - Browse repository at this point
Copy the full SHA 22f0b78View commit details -
remove polls from room state on redaction (#3475)
Kerry authoredJun 15, 2023 Configuration menu - View commit details
-
Copy full SHA for f938d10 - Browse repository at this point
Copy the full SHA f938d10View commit details
Commits on Jun 16, 2023
-
Update definitelyTyped (#3465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for afc7052 - Browse repository at this point
Copy the full SHA afc7052View commit details
Commits on Jun 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9c62d15 - Browse repository at this point
Copy the full SHA 9c62d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80cdbe1 - Browse repository at this point
Copy the full SHA 80cdbe1View commit details
Commits on Jun 20, 2023
-
Fix order of things in
crypto-api.ts
(#3491)* `CryptoApi` should be first * `export *` should be last * everything else in the middle
Configuration menu - View commit details
-
Copy full SHA for 8df4be0 - Browse repository at this point
Copy the full SHA 8df4be0View commit details -
ElementR: Add
CryptoApi#bootstrapSecretStorage
(#3483)* Add WIP bootstrapSecretStorage * Add new test if `createSecretStorageKey` is not set * Remove old comments * Add docs for `crypto-api.bootstrapSecretStorage` * Remove default parameter for `createSecretStorageKey` * Move `bootstrapSecretStorage` next to `isSecretStorageReady` * Deprecate `bootstrapSecretStorage` in `MatrixClient` * Update documentations * Raise error if missing `keyInfo` * Update behavior around `setupNewSecretStorage` * Move `ICreateSecretStorageOpts` to `rust-crypto` * Move `ICryptoCallbacks` to `rust-crypto` * Update `bootstrapSecretStorage` documentation * Add partial `CryptoCallbacks` documentation * Fix typo * Review changes * Review changes
Configuration menu - View commit details
-
Copy full SHA for 49f1157 - Browse repository at this point
Copy the full SHA 49f1157View commit details -
Configuration menu - View commit details
-
Copy full SHA for c84efb5 - Browse repository at this point
Copy the full SHA c84efb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f03fbed - Browse repository at this point
Copy the full SHA f03fbedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d93f49 - Browse repository at this point
Copy the full SHA 8d93f49View commit details -
Configuration menu - View commit details
-
Copy full SHA for b77fe46 - Browse repository at this point
Copy the full SHA b77fe46View commit details -
Element-R: wait for OlmMachine on startup (#3487)
* Element-R: wait for OlmMachine on startup Previously, if you called `CryptoApi.getUserDeviceInfo()` before the first `/sync` request happened, it would return an empty list, which made a bunch of the tests racy. Add a hack to get the OlmMachine to think about its device lists during startup. * add a test
Configuration menu - View commit details
-
Copy full SHA for 9c6d5a6 - Browse repository at this point
Copy the full SHA 9c6d5a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca00094 - Browse repository at this point
Copy the full SHA ca00094View commit details -
Add debug logging to figure out missing reactions in main timeline (#…
…3494) * Fix debug logging not working * Add debug logging to figure out missing reactions in main timeline
Configuration menu - View commit details
-
Copy full SHA for 8b9672b - Browse repository at this point
Copy the full SHA 8b9672bView commit details
Commits on Jun 21, 2023
-
Add getLastUnthreadedReceiptFor utility to Thread delegating to the u…
…nderlying Room (#3493)
Configuration menu - View commit details
-
Copy full SHA for 80fec81 - Browse repository at this point
Copy the full SHA 80fec81View commit details -
OIDC: add dynamic client registration util function (#3481)
* rename OidcDiscoveryError to OidcError * oidc client registration functions * test registerOidcClient * tidy test file * reexport OidcDiscoveryError for backwards compatibility
Kerry authoredJun 21, 2023 Configuration menu - View commit details
-
Copy full SHA for df78d7c - Browse repository at this point
Copy the full SHA df78d7cView commit details
Commits on Jun 22, 2023
-
Element-R: speed up slow unit test (#3492)
A couple of tests were waiting for a request that wasn't happening, so timing out after 1.5 seconds. Let's avoid the extra slowth. (This was introduced by changes in #3487, but the changes in this PR do no harm anyway)
Configuration menu - View commit details
-
Copy full SHA for e8c89e9 - Browse repository at this point
Copy the full SHA e8c89e9View commit details
Commits on Jun 23, 2023
-
Increase crypto test timeout (#3500)
For some reason, some tests seem to be timing out in GHA. Let's try bumping up the timeout.
Configuration menu - View commit details
-
Copy full SHA for c8f6c4d - Browse repository at this point
Copy the full SHA c8f6c4dView commit details -
Element-R: Store cross signing keys in secret storage (#3498)
* Store cross signing keys in secret storage * Update `bootstrapSecretStorage` doc * Throw error when `createSecretStorageKey` is not set * Move mocking functions * Store cross signing keys and user signing keys * Fix `awaitCrossSigningKeyUpload` documentation * Remove useless comment * Fix formatting after merge conflict
Configuration menu - View commit details
-
Copy full SHA for 3c59476 - Browse repository at this point
Copy the full SHA 3c59476View commit details -
Improve integration test for interactive verification (#3495)
* Tweaks to the integ test to conform to the spec Rust is a bit more insistent than legacy crypto... * Improve documentation on request*Verification * Check more things in the integration test * Create an E2EKeyResponder * Test verification with custom method list * Add a test for SAS cancellation * Update spec/integ/crypto/verification.spec.ts
Configuration menu - View commit details
-
Copy full SHA for f884c78 - Browse repository at this point
Copy the full SHA f884c78View commit details
Commits on Jun 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f16a6bc - Browse repository at this point
Copy the full SHA f16a6bcView commit details -
Element-R: Basic implementation of SAS verification (#3490)
* Return uploaded keys from `/keys/query` * Basic implementation of SAS verification in Rust * Update the `verifier` *before* emitting `erificationRequestEvent.Change` * remove dead code
Configuration menu - View commit details
-
Copy full SHA for 48c4127 - Browse repository at this point
Copy the full SHA 48c4127View commit details -
Bump version of the react-sdk cypress workflow file (#3501)
`cypress.yaml` is currently pinned to an old version of the react-sdk, meaning that each attempt to run it is currently failing with an error. (Introduced by #3480)
Configuration menu - View commit details
-
Copy full SHA for 3e646bd - Browse repository at this point
Copy the full SHA 3e646bdView commit details -
Element-R: implement `CryptoApi.getVerificationRequestsToDeviceInProg…
Configuration menu - View commit details
-
Copy full SHA for 96e484a - Browse repository at this point
Copy the full SHA 96e484aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd66e38 - Browse repository at this point
Copy the full SHA bd66e38View commit details -
Update all non-major dependencies (#3467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e8fb47f - Browse repository at this point
Copy the full SHA e8fb47fView commit details -
Rearrange the verification integration tests, again (#3504)
* Element-R: Implement `CryptoApi.getVerificationRequestsToDeviceInProgress` * Element-R: Implement `requestOwnUserVerification` * init aliceClient *after* the fetch interceptors * Initialise the test client separately for each test * Avoid running all the tests twice Currently all of these tests are running twice, with different client configurations. That's not really adding much value; we just need to run specific tests that way. * Factor out functions for building responses
Configuration menu - View commit details
-
Copy full SHA for 326a13b - Browse repository at this point
Copy the full SHA 326a13bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1dec4c - Browse repository at this point
Copy the full SHA d1dec4cView commit details -
We still seem to be suffering test timeouts. Hopefully this will fix the integ tests, where #3509 etc fix the unit tests.
Configuration menu - View commit details
-
Copy full SHA for b703d4a - Browse repository at this point
Copy the full SHA b703d4aView commit details -
OIDC: navigate to authorization endpoint (#3499)
* utils for authorization step in OIDC code grant * tidy * completeAuthorizationCodeGrant util functions * response_mode=query * add scope to bearertoken type * add is_guest to whoami response type * doc comments Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * use shimmed TextEncoder * fetchMockJest -> fetchMock * comment * bearertokenresponse * test for lowercase bearer * handle lowercase token_type --------- Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9de4a05 - Browse repository at this point
Copy the full SHA 9de4a05View commit details
Commits on Jun 27, 2023
-
Increase another crypto test timeout (#3509)
Followup to #3500: increase the timeout for another test which is also timing out.
Configuration menu - View commit details
-
Copy full SHA for 4382d2a - Browse repository at this point
Copy the full SHA 4382d2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2af0706 - Browse repository at this point
Copy the full SHA 2af0706View commit details -
Configuration menu - View commit details
-
Copy full SHA for e285932 - Browse repository at this point
Copy the full SHA e285932View commit details -
Update all non-major dependencies (#3513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5a68861 - Browse repository at this point
Copy the full SHA 5a68861View commit details -
Create a new event type for verification requests (#3514)
* More slow test fixes * Create a new event type for verification requests Previous PRs (#3449, etc) have pulled out an interface from the `VerificationRequest` class, but applications registering for the `CryptoEvent.VerificationRequest` event could still be expecting a fully-fledged class rather than the interface. To handle this without breaking backwards compat, add a new event type that carries the interface, not the class.
Configuration menu - View commit details
-
Copy full SHA for 1862616 - Browse repository at this point
Copy the full SHA 1862616View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff29de7 - Browse repository at this point
Copy the full SHA ff29de7View commit details -
Update peter-evans/create-pull-request digest to 1534078 (#3518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e4a9f95 - Browse repository at this point
Copy the full SHA e4a9f95View commit details -
Update typescript-eslint monorepo to v5.60.0 (#3519)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5a3d1a2 - Browse repository at this point
Copy the full SHA 5a3d1a2View commit details -
Update dependency eslint-plugin-jsdoc to v46.3.0 (#3520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 815484b - Browse repository at this point
Copy the full SHA 815484bView commit details -
Configuration menu - View commit details
-
Copy full SHA for acbcb46 - Browse repository at this point
Copy the full SHA acbcb46View commit details
Commits on Jun 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for de64779 - Browse repository at this point
Copy the full SHA de64779View commit details -
Configuration menu - View commit details
-
Copy full SHA for e645af1 - Browse repository at this point
Copy the full SHA e645af1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24cee68 - Browse repository at this point
Copy the full SHA 24cee68View commit details
Commits on Jun 29, 2023
-
QRCode: fix breakage on node 16 (#3527)
[`crypto.getRandomValues`](https://nodejs.org/docs/latest-v18.x/api/crypto.html#cryptogetrandomvaluestypedarray) was added to the nodejs library in node 17. However, it was actually available in node 16, hiding under [`crypto.webcrypto`](https://nodejs.org/docs/latest-v16.x/api/webcrypto.html#cryptogetrandomvaluestypedarray). We have some shims in `src/crypto/crypto.ts`, so let's use them. All of this means that we don't need to monkey-patch `crypto` to run the tests on node 16.
Configuration menu - View commit details
-
Copy full SHA for 1828826 - Browse repository at this point
Copy the full SHA 1828826View commit details -
Element-R: support for starting a SAS verification (#3528)
* integ tests: factor out some utility methods * Add `VerificationRequest.startVerification` to replace `beginKeyVerification` The rust SDK ties together creating the verifier and sending the `m.key.verification.start` message, so we need to combine `.beginKeyVerification` and `.verify`. * add some unit tests
Configuration menu - View commit details
-
Copy full SHA for 5165899 - Browse repository at this point
Copy the full SHA 5165899View commit details -
Drop support for Node 16 (#3533)
* Stop running tests on Node 16 * update package.json
Configuration menu - View commit details
-
Copy full SHA for 722debe - Browse repository at this point
Copy the full SHA 722debeView commit details -
Use the right anchor emoji for SAS verification (#3534)
Currently, the anchor emoji has a ["Variation Selector-16"](https://codepoints.net/U+FE0F) (U+FE0F) character after it. The unicode specs do define U+2694 U+FE0F as a valid sequence (with suggested rendering https://www.unicode.org/cgi-bin/varglyph?24-2693-FE0F), but our spec spec doesn't include the variation selector, and the difference means that my cypress tests (which attempt a verification between Element-R and unrusty Element Web) fail intermittently. Something of a follow-up to #3523, but hopefully this will be the last, because I have regenerated the whole list from the spec data.
Configuration menu - View commit details
-
Copy full SHA for c271e15 - Browse repository at this point
Copy the full SHA c271e15View commit details
Commits on Jul 3, 2023
-
Element-R: Implement
VerificationRequest.accept
(#3526)* Pass `supportedVerificationMethods` into `VerificationRequest` ... so that the application can later call `accept()` and we know what to send. * Implement `VerificationRequest.accept` * Implement `VerificationRequest.declining` * Update src/rust-crypto/verification.ts
Configuration menu - View commit details
-
Copy full SHA for 3a8a138 - Browse repository at this point
Copy the full SHA 3a8a138View commit details -
Element-R: Implement
VerificationRequest.{timeout,pending}
(#3532)* implement `VerificationRequest.pending` * Implement `VerificationRequest.timeout` * Rust crypto: allow using a memory store (#3536) * Rust crypto: allow using a memory store It turns out that, for some usecases (in particular, "bot users" for cypress tests), we don't need persistent storage and an in-memory store will be fine. * Rust crypto: use a memory store for the unit tests
Configuration menu - View commit details
-
Copy full SHA for 3a694f4 - Browse repository at this point
Copy the full SHA 3a694f4View commit details -
OIDC: validate id token (#3531)
* validate id token * comments * tidy comments
Kerry authoredJul 3, 2023 Configuration menu - View commit details
-
Copy full SHA for 09de76b - Browse repository at this point
Copy the full SHA 09de76bView commit details
Commits on Jul 4, 2023
-
Fix an instance of failed to decrypt error when an in flight `/keys/q…
…uery` fails. (#3486) * Fix an instance of failed to decrypt error Specifically, when checking the event sender matches who sent us the session keys we skip waiting for pending device list updates if we already know who owns the session key. * Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Update src/crypto/algorithms/olm.ts Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Fix line wrapping * Update src/crypto/algorithms/olm.ts * Fix null check --------- Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5be4548 - Browse repository at this point
Copy the full SHA 5be4548View commit details -
Ignore thread relations on state events for consistency with edits (#…
…3540) * Ignore thread relations on state events for consistency with edits * Add test
Configuration menu - View commit details
-
Copy full SHA for 89cabc4 - Browse repository at this point
Copy the full SHA 89cabc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c1ac13 - Browse repository at this point
Copy the full SHA 1c1ac13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a94bd - Browse repository at this point
Copy the full SHA 12a94bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f095ca - Browse repository at this point
Copy the full SHA 3f095caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40a7110 - Browse repository at this point
Copy the full SHA 40a7110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5751df1 - Browse repository at this point
Copy the full SHA 5751df1View commit details
Commits on Jul 6, 2023
-
Log message ID for undecryptable to-device messages (#3543)
... to help with debugging.
Configuration menu - View commit details
-
Copy full SHA for 8e3f2f3 - Browse repository at this point
Copy the full SHA 8e3f2f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 592c497 - Browse repository at this point
Copy the full SHA 592c497View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b635df - Browse repository at this point
Copy the full SHA 5b635dfView commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 30dd289 - Browse repository at this point
Copy the full SHA 30dd289View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd7c519 - Browse repository at this point
Copy the full SHA cd7c519View commit details -
Don't allow Olm unwedging rate-limiting to race (#3549)
* don't allow Olm unwedging rate-limiting to race * apply changes from code review
Configuration menu - View commit details
-
Copy full SHA for b606d1e - Browse repository at this point
Copy the full SHA b606d1eView commit details -
add getOpenIdToken capability to embedded mode
Signed-off-by: Timo K <toger5@hotmail.de>
Configuration menu - View commit details
-
Copy full SHA for 50e5479 - Browse repository at this point
Copy the full SHA 50e5479View commit details
Commits on Jul 9, 2023
-
OIDC: use
oidc-client-ts
(#3544)* use oidc-client-ts during oidc discovery * export new type for auth config * deprecate generateAuthorizationUrl in favour of generateOidcAuthorizationUrl * testing util for oidc configurations * test generateOidcAuthorizationUrl * lint * test discovery * dont pass whole client wellknown to oidc validation funcs * add nonce * use client userState for homeserver
Kerry authoredJul 9, 2023 Configuration menu - View commit details
-
Copy full SHA for b8fa030 - Browse repository at this point
Copy the full SHA b8fa030View commit details
Commits on Jul 10, 2023
-
Bump tough-cookie from 4.1.2 to 4.1.3 (#3560)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3. - [Release notes](https://github.com/salesforce/tough-cookie/releases) - [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md) - [Commits](salesforce/tough-cookie@v4.1.2...v4.1.3) --- updated-dependencies: - dependency-name: tough-cookie dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4990bf5 - Browse repository at this point
Copy the full SHA 4990bf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5b86bf - Browse repository at this point
Copy the full SHA b5b86bfView commit details -
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2751e19 - Browse repository at this point
Copy the full SHA 2751e19View commit details -
Add async method for generating a QR code (#3562)
The api to generate a QR code is async in rust, and the easiest way to deal with it is to make a new method.
Configuration menu - View commit details
-
Copy full SHA for e42dd74 - Browse repository at this point
Copy the full SHA e42dd74View commit details -
Merge branch 'develop' into toger5/getOpenIdToken_in_embedded
Signed-off-by: Timo K <toger5@hotmail.de>
Configuration menu - View commit details
-
Copy full SHA for de95265 - Browse repository at this point
Copy the full SHA de95265View commit details