Files
rustfs/crates/ecstore/tests
唐小鸭 ad7663afd1 refactor(sse): decouple ecstore and harden KMS lifecycle (#5435)
* 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>
2026-07-30 12:39:25 +08:00
..

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:

$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