mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 13:27:43 +00:00
fix(kms): unify persisted SSE data key envelopes (#5343)
* feat(kms): implement secure handling of static KMS secret keys and enhance encryption context validation * feat: enhance local SSE DEK handling with JSON envelope format and versioning
This commit is contained in:
@@ -9,6 +9,16 @@ failure pattern reported in rustfs/rustfs#4304.
|
||||
> format. Replacing the executable and restarting is safe; no migration step
|
||||
> runs on startup.
|
||||
|
||||
> [!WARNING]
|
||||
> The release that switches local SSE wrapped DEKs from the legacy
|
||||
> `base64(nonce):base64(ciphertext)` representation to the versioned JSON
|
||||
> envelope is a deliberate exception. Do not run that release together with
|
||||
> an older RustFS version: older nodes cannot read objects written with the
|
||||
> JSON envelope. Freeze every source of object mutation, including client
|
||||
> writes and background lifecycle or replication work, upgrade every node,
|
||||
> and then resume traffic. Downgrading or rolling back after new encrypted
|
||||
> objects are written is not supported.
|
||||
|
||||
## TL;DR
|
||||
|
||||
- **Rolling restart (no downtime):** restart **one node at a time**, and wait
|
||||
|
||||
Reference in New Issue
Block a user