Skip to content

session: encode shared key metadata - #6989

Open
crazy-max wants to merge 1 commit into
moby:masterfrom
crazy-max:fix-session-sharedkey-header-encoding
Open

session: encode shared key metadata#6989
crazy-max wants to merge 1 commit into
moby:masterfrom
crazy-max:fix-session-sharedkey-header-encoding

Conversation

@crazy-max

Copy link
Copy Markdown
Member

fixes docker/compose#13965
closes docker/buildx#3972

This fixes session setup when the shared key contains non-ASCII characters by encoding the value before it's sent through gRPC metadata and decoding it when the session manager receives it.

The session package now marks encoded shared-key metadata with a another header and preserves the original shared key after decoding.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max force-pushed the fix-session-sharedkey-header-encoding branch from bfdc3c2 to 729c6a3 Compare July 27, 2026 09:46
@crazy-max
crazy-max requested a review from tonistiigi July 27, 2026 21:28
@crazy-max crazy-max added this to the v0.33.0 milestone Jul 27, 2026
@crazy-max
crazy-max marked this pull request as ready for review July 27, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Build fails when two services share a build context with a Chinese directory path

1 participant