Skip to content

Conversation

@WesleyRosenblum
Copy link
Contributor

@WesleyRosenblum WesleyRosenblum commented Jun 23, 2023

Description of changes:

s2n-quic-rustls is failing the anti amplification limit interop test because of a hard coded cert chain depth limit in the webpki crate that rustls uses, see #1836.

This change introduces a patch to the top level Cargo.toml that is applied as part of running interop that will swap out the version of webpki for a forked version that increases the cert chain depth limit.

Testing:

Tested locally and in CI. s2n-quic-rustls amplification limit test passes now: https://dnglbrstg7yg.cloudfront.net/bd8f2ce325ade00fee3d6cb77aefe58483081155/interop/index.html?client=s2n-quic-pr1837,s2n-quic-rustls&server=s2n-quic,s2n-quic-pr1837,s2n-quic-rustls&test=a

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

Copy link
Contributor

@camshaft camshaft left a comment

Choose a reason for hiding this comment

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

Seems reasonable to be, though it might be worth starting on the PR to webpki concurrently to upgrading to the latest rustls.

@WesleyRosenblum WesleyRosenblum merged commit c75a20a into main Jun 23, 2023
@WesleyRosenblum WesleyRosenblum deleted the WesleyRosenblum/patchwebpki branch June 23, 2023 17:42
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.

2 participants