1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-24 23:19:26 +03:00

3 Commits

Author SHA1 Message Date
Hugh Nimmo-Smith
cd558745a7 Log getPickleKey() failures consistently (#34955)
* Refactor getPickleKey so that it can throw

* Review feedback

* Clarification on why errors are just logged

* Tests for pickling utils

* Revert Service Worker behaviour for pickle key not set

* Try and simplify tryDecryptToken() some more

Make it the caller's responsibility to handle edge cases sensibly.

* Rest of merge

* Additional test coverage
2026-10-05 16:12:55 +00:00
Hugh Nimmo-Smith
f7afc3883f Refactor access/refresh token name constants to less confusing names (#35077)
The `_IV` suffix of `ACCESS_TOKEN_IV` and `REFRESH_TOKEN_IV` suggests that they might be used for the initialisation vector of the AES-CTR operation. However, this is not the case and the docstring correctly says that it is used in the HKDF key derivation instead.
2026-09-15 11:38:50 +00:00
Michael Telatynski
91a3cb03c1 mv element.io @types __mocks__/ debian docker module_system/ playwright res src test webapp Dockerfile .dockerignore .eslintignore .stylelintrc.cjs babel.config.cjs recorder-worklet-loader.cjs .modernizr.json components.json config.json config.sample.json package.json project.json tsconfig.json tsconfig.module_system.json jest.config.ts playwright.config.ts webpack.config.ts build_config.sample.yaml apps/web/
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts

And a couple of gitignore tweaks

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2026-02-24 15:43:58 +00:00