mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
This patch brings a bunch of quality of life improvements to encryption: 1. Previously, we just let any string to be used as a key. I have updated the `PRAGMA hexkey=''` to get the key in hex. I have also renamed from `key`, because that will be used to get passphrase 2. Added `PRAGMA cipher` so that now users can select which cipher they want to use (for now, either `aegis256` or `aes256gcm`) 3. We now set the encryption context when both cipher and key are set I also updated tests to reflect this. Reviewed-by: Preston Thorpe <preston@turso.tech> Closes #2779 |
||
|---|---|---|
| .. | ||
| integration | ||
| Cargo.toml | ||
| lib.rs | ||
| README.md | ||
Integration and regression test suite.
# run all tests
cargo test
# run individual test
cargo test test_sequential_write -- --nocapture