mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 21:33:14 +00:00
ad7663afd1
* refactor(sse): decouple encryption from ecstore * feat(kms): enhance KMS service manager with runtime state and persistence support * feat(kms): add local key export functionality for SSE-S3 migration tests * fix(kms): keep local key export narrowly scoped * fix(sse): validate copy source customer algorithm --------- Co-authored-by: Zhengchao An <anzhengchao@gmail.com>
25 lines
732 B
Markdown
25 lines
732 B
Markdown
# ecstore Integration Tests
|
|
|
|
## MinIO-generated encrypted fixtures
|
|
|
|
`rustfs/src/storage/minio_generated_read_test.rs` validates the `bitrot -> GetObjectReader` path against raw MinIO backend data captured by
|
|
`.\rustfs\scripts\minio_fixture_lab\lab.py`.
|
|
|
|
It currently covers multipart fixtures for:
|
|
|
|
- `sse-s3-multipart-8m`
|
|
- `sse-kms-multipart-8m`
|
|
|
|
Required environment variables:
|
|
|
|
- `RUSTFS_MINIO_FIXTURE_ROOT`
|
|
- `RUSTFS_MINIO_STATIC_KMS_KEY_B64`
|
|
|
|
Example:
|
|
|
|
```powershell
|
|
$env:RUSTFS_MINIO_FIXTURE_ROOT = '.\rustfs\tmp\minio-fixture-lab-local-key'
|
|
$env:RUSTFS_MINIO_STATIC_KMS_KEY_B64 = '<base64-32-byte-local-minio-kms-key>'
|
|
cargo +1.97.1 test -p rustfs --features rio-v2 storage::minio_generated_read_test --lib -- --ignored
|
|
```
|