mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
- Added support for versioned service management in KmsServiceManager, allowing seamless reconfiguration without interrupting ongoing operations. - Introduced ArcSwap for atomic service switching, ensuring instant updates without blocking. - Enhanced service lifecycle management with mutex protection for concurrent operations. - Updated dependencies in Cargo.toml and Cargo.lock to include arc-swap. - Refactored encryption service handling, moving to a new module structure for better organization. This change significantly improves the KMS service's reliability and performance during configuration changes.
21 lines
746 B
Rust
21 lines
746 B
Rust
// Copyright 2024 RustFS Team
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
//! Object encryption service implementation
|
|
|
|
pub mod ciphers;
|
|
pub mod dek;
|
|
|
|
pub use dek::{AesDekCrypto, DataKeyEnvelope, DekCrypto, generate_key_material};
|