Damir Jelić
2654e909be
feat(store-encryption): Add support to export/import the cipher using a key
...
This is useful for platforms which might want to avoid the cost of
password based key-derivation and have the ability to securely store an
encryption key.
Co-authored-by: Denis Kasak <dkasak@termina.org.uk >
2023-02-13 14:08:45 +00:00
Jonas Platte
2e30e11101
refactor: Use workspace dependencies for more crates
2023-01-10 10:19:02 +01:00
Jonas Platte
826705c174
chore: Bump MSRV to 1.65
2022-11-15 14:57:46 +01:00
Jonas Platte
f25af209e1
refactor: Use workspace dependencies for zeroize
2022-10-18 13:38:05 +02:00
Jonas Platte
c24c20f7f1
Raise MSRV to 1.62
2022-10-06 10:55:49 +02:00
Benjamin Kampmann
f1f1c1bba6
chore: Version bump
2022-09-28 17:07:37 +02:00
Jonas Platte
5adec41b6b
test: Use a weak password hash for crypto-store testing
...
This speeds up the crypto-store tests a lot.
2022-09-05 16:58:12 +02:00
Jonas Platte
3c5f30d41e
refactor: Remove implicit features for optional dependencies
...
Consistently use `dep:` syntax for optional dependencies so they don't
implicitly act as features of their own.
2022-07-13 18:55:41 +02:00
Ivan Enderlin
f96069f591
chore(store-encryption): Call DerefMut manually.
...
Clippy on nigtly is raising a warning, which is turned into an error
on the CI. It's the [`explicit_auto_deref`
lint](https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref ). I
suspect it's a false-positive but I'm not sure. Anyway, to workaround
this and unblock our CI, let's call `DerefMut::deref_mut` manually:
it's clearer anyway.
2022-07-04 11:00:23 +02:00
Benjamin Kampmann
f9b4fd2d12
docs: configure docs.rs build to contain more features
2022-05-27 10:44:16 +02:00
Damir Jelić
a992a4e831
feat(store-encryption): Derive Eq for some structs
2022-05-23 11:14:09 +02:00
Jonas Platte
b955e7aad9
Use anyhow::Ok instead of turbofish on Result
2022-05-18 22:04:44 +02:00
Jonas Platte
a364018c0e
chore: Use serde::de::DeserializeOwned convenience trait
2022-05-18 22:04:44 +02:00
Benjamin Kampmann
335a7d03c3
fix: Put all MSRV to 1.60
2022-05-04 13:41:07 +02:00
Benjamin Kampmann
32cd372f49
Merge remote-tracking branch 'origin/main' into ben-feature-fixup
2022-05-02 13:30:42 +02:00
Damir Jelić
5d8c485a51
chore: Bump most of our deps
2022-04-27 17:30:53 +02:00
Benjamin Kampmann
2c506717c8
setting rust-version
2022-04-20 14:08:27 +02:00
Benjamin Kampmann
07c5f625d4
fixing encryption examples
2022-04-19 16:30:20 +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
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
b3c8f80b6e
expose internal functionality for wasm-based storage
2022-04-12 16:50:44 +02:00
Jonas Platte
0dafd8cd65
chore: Update all unit test module names to the conventional 'tests'
2022-04-08 12:35:54 +00:00
Damir Jelić
a455f23520
docs(store-cipher): Make the docs about the way the StoreCipher works clearer
...
Co-authored-by: Denis Kasak <dkasak@termina.org.uk >
2022-03-16 12:48:16 +01:00
Damir Jelić
3af08059da
fix(store-cipher): Use the MacKeySeed type alias in more places
...
Co-authored-by: Denis Kasak <dkasak@termina.org.uk >
2022-03-16 12:48:16 +01:00
Damir Jelić
bf3d2ebea3
chore(store-cipher): Rename the store-key crate and it's main type
2022-03-16 12:48:16 +01:00