-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Could not use HTTP/3 whenever --ciphers is used #16232
Comments
We made this so we would hear from the people who actually use HTTP/3.😬 |
OpenSSL QUIC method errors on setting TLSv1.2 ciphers, where other methods do not. See curl#16232. Refrain setting --ciphers when min TLS version is 1.3 or higher. Refrain setting --tls13-ciphers when max TLS version is less than 1.3. Add 2 test cases.
This is a new quirk in OpenSSL's QUIC method, which refuses setting the ciphers where other OpenSSL TLS methods do not. Nice one. I propose #16235 as a fix for this, ignoring setting |
That was QUIC! Thank y'all. It took about 9 hours to fix this issue. Now waiting for the next release... BTW, I really doubt anyone will explicitly use I wonder if there's a way to undo the |
I did this
The command I used:
curl --disable -v --http3-only --ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA:AES256-SHA' https://1.1.1.1/cdn-cgi/trace
Even if I restrict the length of --ciphers argument, it still doesn't work.
curl --disable -v --http3-only --ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256' https://1.1.1.1/cdn-cgi/trace
I can specify
--tls13-ciphers
all I want, no issues, just not--ciphers
.I expected the following
Can HTTP3/QUIC used with TLS1.2 or lower?
If not,
--ciphers
should be ignored whenever HTTP3/QUIC is used.curl/libcurl version
multiple versions, I tested 8.11.1, but the problem exists for several versions earlier.
Also for 8.11.1:
operating system
OpenSUSE Tumbleweed and Amazon Linux 2023
The text was updated successfully, but these errors were encountered: