Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: connection serialization #4468

Merged
merged 2 commits into from
Apr 4, 2024
Merged

feat: connection serialization #4468

merged 2 commits into from
Apr 4, 2024

Conversation

maddeleine
Copy link
Contributor

@maddeleine maddeleine commented Mar 22, 2024

Resolved issues:

Description of changes:

Serializes the TLS connection and enables it to be sent off-box.

Call-outs:

Testing:

Includes basic self-talk tests. I will include the weirder tests in the next PR, as I think this PR will go through some iterations before we're satisfied with it.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Mar 22, 2024
@maddeleine maddeleine changed the title (feat): Traffic context feat: Traffic context Mar 22, 2024
tls/s2n_connection.c Outdated Show resolved Hide resolved
tls/s2n_config.h Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tests/unit/s2n_traffic_context_test.c Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tests/unit/s2n_traffic_context_test.c Outdated Show resolved Hide resolved
tls/s2n_config.h Outdated Show resolved Hide resolved
tests/testlib/s2n_testlib.h Outdated Show resolved Hide resolved
tls/s2n_tls13_key_schedule.h Outdated Show resolved Hide resolved
tls/s2n_connection.h Outdated Show resolved Hide resolved
tls/s2n_connection.h Outdated Show resolved Hide resolved
tls/s2n_config.h Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tests/unit/s2n_traffic_context_test.c Outdated Show resolved Hide resolved
tests/unit/s2n_traffic_context_test.c Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do "weirder tests" include tests like post-handshake messages? (key update, session ticket, renegotiation)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, do you think that they should be included in this PR? I didn't want to make this PR too large.

@maddeleine maddeleine force-pushed the traffic_context branch 2 times, most recently from 238fce7 to 7fbd369 Compare March 27, 2024 21:12
@maddeleine maddeleine changed the title feat: Traffic context feat: connection serialization Mar 27, 2024
tls/s2n_handshake_io.c Outdated Show resolved Hide resolved
tls/s2n_handshake_io.c Outdated Show resolved Hide resolved
tls/s2n_connection.h Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
@maddeleine maddeleine requested a review from goatgoose March 29, 2024 00:31
tls/s2n_handshake_io.c Outdated Show resolved Hide resolved
tls/s2n_handshake_io.c Outdated Show resolved Hide resolved
tls/s2n_handshake_io.c Outdated Show resolved Hide resolved
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tls/s2n_connection.h Outdated Show resolved Hide resolved
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tls/s2n_config.h Outdated Show resolved Hide resolved
tls/s2n_config.c Show resolved Hide resolved
tls/s2n_connection_serialize.c Show resolved Hide resolved
tls/s2n_handshake_io.c Outdated Show resolved Hide resolved
tls/s2n_connection.c Outdated Show resolved Hide resolved
tls/s2n_record_write.c Outdated Show resolved Hide resolved
tls/s2n_handshake_io.c Outdated Show resolved Hide resolved
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tls/s2n_connection.h Outdated Show resolved Hide resolved
tls/s2n_connection.h Outdated Show resolved Hide resolved
tests/unit/s2n_serialize_connection_test.c Outdated Show resolved Hide resolved
tests/unit/s2n_serialize_connection_test.c Outdated Show resolved Hide resolved
tests/unit/s2n_serialize_connection_test.c Outdated Show resolved Hide resolved
@maddeleine maddeleine requested a review from lrstewart April 2, 2024 23:00
tls/s2n_connection_serialize.c Outdated Show resolved Hide resolved
tests/unit/s2n_connection_serialize_test.c Show resolved Hide resolved
@maddeleine maddeleine merged commit b36c578 into main Apr 4, 2024
35 checks passed
@maddeleine maddeleine deleted the traffic_context branch April 4, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants