Skip to content

Draft HMAC, CONNECT, and stream metadata#2

Open
the-eater wants to merge 1 commit intoftl-protocol-dev:mainfrom
EaterLabs:draft/protocol-definition
Open

Draft HMAC, CONNECT, and stream metadata#2
the-eater wants to merge 1 commit intoftl-protocol-dev:mainfrom
EaterLabs:draft/protocol-definition

Conversation

@the-eater
Copy link

I am not the best at writing coherent sentences and words, but this SHOULD™ be okay, let me know if it's just really bad tho

while writing this I already have an interesting divergence from your spec vs observations.

you note that metadata is send in RFC 822 format.
however as far as I am aware none of the open implementations support RFC 822 (there's a few gotcha's around it, like the handling of multiple headers with the same name and continuation of headers on new lines)

And we also directly violate it by the newline handling Charon does, resulting in our terminator not being a double newline, but a single line with a singular dot.

for this reason I had added that it MUST NOT be treated as RFC 822 3.2

I am okay with saying we do RFC 822 3.2 with some modifications, but I am unaware of any implementations respecting that

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