-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Problem:
The amplification limit interop test creates a very large cert chain, larger than the maximum supported by the webpki
crate that rustls
uses:
This causes amplification limit interop test to fail.
To complicate things more, the version of webpki
that is used by the version of rustls
s2n-quic uses (v/0.20.8
) has been reverted in the webpki
repo: briansmith/webpki@17d9189. So submitting a PR to webpki
to increase the cert chain limit would not actually fix the issue for s2n-quic
To complicate things even more, newer versions of rustls no longer use the main webpki
, but rather use their own fork: https://github.com/rustls/webpki
Solution:
To work around this, I've forked webpki
to increase the limit: https://github.com/WesleyRosenblum/webpki
Once s2n-quic
is updated to use the latest rustls
(or even before), we can submit a PR to increase the cert chain limit in rustls/webpki
. Once that has been merged we can stop using the workaround introduced in #1837