Benjamin Kampmann
a0ba610e0b
fixing wasm example
2022-04-20 16:35:55 +02:00
Benjamin Kampmann
c995331f57
fixing typo
2022-04-20 16:22:32 +02:00
Benjamin Kampmann
577b45f8ce
activate encryption on base if crypto-store is activated, handle non_exhaustive errors raised
2022-04-20 16:19:55 +02:00
Benjamin Kampmann
9761934bf5
fixing features in ci jobs
2022-04-20 15:43:57 +02:00
Benjamin Kampmann
115300fa5e
Addressing review comments
2022-04-20 15:27:41 +02:00
Benjamin Kampmann
ae8943e050
fixing style
2022-04-20 15:25:56 +02:00
Benjamin Kampmann
3de9c54552
more feature related fixups
2022-04-20 14:39:42 +02:00
Benjamin Kampmann
b29a50bed5
moving make_store_config features back to sled, fxies #562
2022-04-20 14:36:11 +02:00
Benjamin Kampmann
d36220ed7c
e2e-encrypted weak feature dependency
2022-04-20 14:26:54 +02:00
Benjamin Kampmann
117fd1612b
explain in readme
2022-04-20 14:10:24 +02:00
Benjamin Kampmann
2c506717c8
setting rust-version
2022-04-20 14:08:27 +02:00
Benjamin Kampmann
06f5b67b23
feat(state_store): Store keys and values encrypted, too
...
Merge pull request #586 from matrix-org/ben-remove-store-key
This removes the store_key and replaces it with the new key cipher for both sled and indexeddb state stores. If they are given a passphrase, we are now encrypted/hashing all keys and values stored in the store, no leaking of metadata in any key or value anymore.
2022-04-19 16:46:11 +02:00
Benjamin Kampmann
07c5f625d4
fixing encryption examples
2022-04-19 16:30:20 +02:00
Benjamin Kampmann
805044ed41
Merge branch 'ben-remove-store-key' of github.com:matrix-org/matrix-rust-sdk into ben-remove-store-key
2022-04-19 16:23:29 +02:00
Benjamin Kampmann
4da7d31770
fixing unnecessary lifetimes
2022-04-19 16:22:25 +02:00
Benjamin Kampmann
cdab735ce5
Apply suggestions from code review
...
Co-authored-by: Jonas Platte <jplatte@element.io >
2022-04-19 16:19:30 +02:00
Benjamin Kampmann
e989b9aff7
merge sledstore's EncodeKey and SecureEncodeKey into one
2022-04-19 16:01:18 +02:00
Benjamin Kampmann
88d1aa615c
remove unnecessary reference making
2022-04-19 12:42:39 +02:00
Benjamin Kampmann
ac8500759c
newline
2022-04-19 12:27:11 +02:00
Benjamin Kampmann
07f01eb985
typos
2022-04-19 12:26:27 +02:00
Benjamin Kampmann
953d759238
sort and typo
2022-04-19 12:21:26 +02:00
Benjamin Kampmann
9d09401ede
.into instead of ::from
2022-04-19 12:20:41 +02:00
Benjamin Kampmann
872f32a7e0
sorting line order
2022-04-19 12:08:26 +02:00
Benjamin Kampmann
05b3077a7a
fixing lints again
2022-04-19 11:00:13 +02:00
Benjamin Kampmann
8fdd8648c7
Merge remote-tracking branch 'origin/main' into ben-remove-store-key
2022-04-19 10:41:40 +02:00
Benjamin Kampmann
4e8383ea4f
fixing clippy lints
2022-04-19 09:26:28 +02:00
Benjamin Kampmann
80791860fe
fixing style and typos
2022-04-19 09:23:29 +02:00
Benjamin Kampmann
9698a50ad8
fixing timeline for encrypted indexeddb store
2022-04-13 15:52:57 +02:00
Benjamin Kampmann
a390c3b40b
more explicit naming
2022-04-13 15:52:10 +02:00
Benjamin Kampmann
70a5517c5c
make room timeline test more debuggable
2022-04-13 15:23:50 +02:00
Benjamin Kampmann
262bee51b1
also implement room timeline in encrypted fashion on sled store
2022-04-13 15:23:14 +02:00
Benjamin Kampmann
897bb5aed2
new db for every encrypted test
2022-04-12 20:00:11 +02:00
Benjamin Kampmann
24266fe254
fixing ranges
2022-04-12 19:59:55 +02:00
Benjamin Kampmann
5d6c4852b1
fix media content test
2022-04-12 19:37:43 +02:00
Benjamin Kampmann
64e0356756
implementing encrypted keys
2022-04-12 19:17:49 +02:00
Benjamin Kampmann
b611aa2503
remove store key feature and references
2022-04-12 16:58:56 +02:00
Benjamin Kampmann
1cdde23bc4
replace storeky with storecipher in wasm
2022-04-12 16:50:58 +02:00
Benjamin Kampmann
b3c8f80b6e
expose internal functionality for wasm-based storage
2022-04-12 16:50:44 +02:00
Jonas Platte
35f598a095
fix(sdk): Change the default guest_access state to Forbidden
2022-04-12 14:39:30 +02:00
Jonas Platte
ad538f3f28
Upgrade Ruma
2022-04-12 14:39:30 +02:00
Jonas Platte
073d9db29f
chore(crypto): Remove redundant match arms
2022-04-12 14:39:30 +02:00
Benjamin Kampmann
cebe7bee92
adding encrypted tests for indexeddb store
2022-04-12 13:11:59 +02:00
Damir Jelić
7bd0f2c50c
chore(sled): Fix a clippy warning
2022-04-12 13:06:17 +02:00
Benjamin Kampmann
fb8f123616
fixing remaining key lookup
2022-04-12 12:44:34 +02:00
Damir Jelić
87632e7ead
chore(crypto): Update vodozemac
2022-04-12 12:37:56 +02:00
Benjamin Kampmann
88be0ee9c1
fix user id streams
2022-04-12 12:24:11 +02:00
Benjamin Kampmann
000be73e80
making tests more explicit
2022-04-11 23:47:20 +02:00
Benjamin Kampmann
551711261d
integration tests for encrypted version
2022-04-11 22:49:09 +02:00
Benjamin Kampmann
918d95a672
first batch of data for testing encrypted sled store
2022-04-11 22:11:14 +02:00
Benjamin Kampmann
f79e6b87e2
use result
2022-04-11 20:42:35 +02:00