Skip to content

Add an unsigned_payload option to put - #49

Open
toots wants to merge 1 commit into
andersfugmann:mainfrom
toots:unsigned-payload
Open

Add an unsigned_payload option to put#49
toots wants to merge 1 commit into
andersfugmann:mainfrom
toots:unsigned-payload

Conversation

@toots

@toots toots commented Aug 10, 2026

Copy link
Copy Markdown

Signing a string body requires hashing it in full, which is a second pass over every uploaded object and pure overhead when the connection is already encrypted.

Passing unsigned_payload signs the request with UNSIGNED-PAYLOAD instead, trading the payload's presence in the signature for that pass, so it belongs over https only; chunked bodies are signed chunk by chunk and are unaffected.

Signing a string body requires hashing it in full, which is a second pass over every uploaded object and pure overhead when the connection is already encrypted.

Passing unsigned_payload signs the request with UNSIGNED-PAYLOAD instead, trading the payload's presence in the signature for that pass, so it belongs over https only.
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