Skip to content
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

Move out crypto/aes #4431

Merged
merged 19 commits into from
Oct 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
eae6bb4
Move `SecretEncryptedPayload` in `src/utils/@types`
florianduros Sep 25, 2024
91327a4
Move `encryptAES` to a dedicated file. Moved in a utils folder.
florianduros Sep 25, 2024
9d7a074
Move `deriveKeys` to a dedicated file in order to share it
florianduros Sep 25, 2024
854f38b
Move `decryptAES` to a dedicated file. Moved in a utils folder.
florianduros Sep 25, 2024
3216a7d
Move `calculateKeyCheck` to a dedicated file. Moved in a utils folder.
florianduros Sep 25, 2024
48ceb73
Remove AES functions in `aes.ts` and export new ones for backward com…
florianduros Sep 25, 2024
ca95c3d
Update import to use new functions
florianduros Sep 25, 2024
83bcbb1
Add `src/utils` entrypoint in `README.md`
florianduros Sep 25, 2024
f29304d
Merge branch 'refs/heads/develop' into florianduros/rip-out-legacy-cr…
florianduros Sep 27, 2024
073af16
- Rename `SecretEncryptedPayload` to `AESEncryptedSecretStoragePayload`.
florianduros Sep 27, 2024
e06c0b7
Move `calculateKeyCheck` into `secret-storage.ts`.
florianduros Sep 27, 2024
6e7b7ba
Move `deriveKeys` into `src/utils/internal` folder.
florianduros Sep 27, 2024
8b1dd09
- Rename `encryptAES` on `encryptAESSecretStorageItem`
florianduros Sep 27, 2024
c99cf95
- Rename `decryptAES` on `decryptAESSecretStorageItem`
florianduros Sep 27, 2024
aeafe25
Update documentation
florianduros Sep 27, 2024
28f60be
Update `decryptAESSecretStorageItem` doc
florianduros Sep 27, 2024
6fe09cf
Add lnk to spec for `calculateKeyCheck`
florianduros Sep 30, 2024
442366c
Merge branch 'develop' into florianduros/rip-out-legacy-crypto/aes
florianduros Oct 1, 2024
25a34c1
Fix downstream tests
florianduros Oct 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ As well as the primary entry point (`matrix-js-sdk`), there are several other en
| `matrix-js-sdk/lib/crypto-api` | Cryptography functionality. |
| `matrix-js-sdk/lib/types` | Low-level types, reflecting data structures defined in the Matrix spec. |
| `matrix-js-sdk/lib/testing` | Test utilities, which may be useful in test code but should not be used in production code. |
| `matrix-js-sdk/lib/utils` | Standalone functions and their types |
florianduros marked this conversation as resolved.
Show resolved Hide resolved
florianduros marked this conversation as resolved.
Show resolved Hide resolved

## Examples

Expand Down