sse-c: use different object encryption key for each object

This commit is contained in:
Alex Auvolat
2025-03-18 15:10:55 +01:00
parent 48e0436f29
commit cfd259190f
10 changed files with 225 additions and 59 deletions
+5
View File
@@ -257,6 +257,11 @@ mod v010 {
/// (compression happens before encryption, whereas for non-encrypted
/// objects, compression is handled at the level of the block manager)
compressed: bool,
/// Whether the encryption uses an Object Encryption Key derived
/// from the master SSE-C key, instead of the master SSE-C key itself.
/// This is the case of objects created in Garage v2+
#[serde(default)]
use_oek: bool,
},
Plaintext {
/// Plain-text headers