diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-23 16:49:50 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-07 15:43:47 +0100 |
commit | 57acc60082089e1a24fd47588f6ff3cb20ed4eef (patch) | |
tree | d616a16a2225d81da6996386d19417bc04d785ac /src/api/s3/list.rs | |
parent | fe2dc5d51c206c21ab15d9cc93fa1d1c52d95c46 (diff) | |
download | garage-57acc60082089e1a24fd47588f6ff3cb20ed4eef.tar.gz garage-57acc60082089e1a24fd47588f6ff3cb20ed4eef.zip |
[sse-c] Implement SSE-C encryption
Diffstat (limited to 'src/api/s3/list.rs')
-rw-r--r-- | src/api/s3/list.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/api/s3/list.rs b/src/api/s3/list.rs index 302c03f4..a7eebbb1 100644 --- a/src/api/s3/list.rs +++ b/src/api/s3/list.rs @@ -944,9 +944,11 @@ mod tests { timestamp: TS, state: ObjectVersionState::Uploading { multipart: true, - headers: ObjectVersionHeaders { - content_type: "text/plain".to_string(), - other: BTreeMap::<String, String>::new(), + encryption: ObjectVersionEncryption::Plaintext { + headers: ObjectVersionHeaders { + content_type: "text/plain".to_string(), + other: BTreeMap::<String, String>::new(), + }, }, }, } |