Skip to content

fix: authenticate SSE-C for object attributes - #95

Merged
Vonng merged 3 commits into
mainfrom
codex/get-object-attributes-ssec
Aug 29, 2026
Merged

Vonng merged 3 commits into
mainfrom
codex/get-object-attributes-ssec

Conversation

@Vonng

@Vonng Vonng commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

  • authenticate the SSE-C key after request preconditions in GetObjectAttributes
  • match HeadObject and normal GET behavior before returning plaintext size or multipart layout
  • cover correct, wrong, and missing keys for zero-byte and non-empty objects on both backends

Validation

  • failing 200-with-wrong-key reproduction before the fix
  • focused normal/race and go vet ./cmd
  • included in the combined full CI-tagged candidate

Refs #84. This is separate from #82 because it uses GetObjectInfo and affects every object size.

Unseal the supplied customer key after request preconditions before returning object size, ETag, checksum, or part attributes. Cover zero-byte and non-empty objects with correct, wrong, and missing keys.\n\nRefs #84.

Signed-off-by: Feng Ruohang <[email protected]>
Vonng added 2 commits August 29, 2026 18:18
Keep the existing trusted replication carve-out while authenticating ordinary SSE-C GetObjectAttributes requests.

Signed-off-by: Feng Ruohang <[email protected]>
@Vonng
Vonng merged commit 82509dd into main Aug 29, 2026
8 checks passed
@Vonng
Vonng deleted the codex/get-object-attributes-ssec branch September 2, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant