You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting to cdn.kernel.org server is choosing:
tls version: tls_1_2
cipher: ECDHE_RSA_WITH_AES_128_GCM_SHA256
named group: x25519
signature scheme: rsa_pss_rsae_sha256
For this case named group is interesting because in zig implementation client key exchange message is always using public key from secp256r1 named group. If I change that line to:
than it works for cdn.kernel.org (but breaks all other named groups). Key exchange message should use public key based on the server chosen named group.
Some other domains which are also affected:
imgur.com
forbes.com
independent.co.uk
etsy.com
fastly.net
Zig Version
0.14.0-dev.2198+e5f5229fd
Steps to Reproduce and Observed Behavior
I'm using this function to download files, which is probably not ideal but it seems to work for the most part.
https://github.com/torvalds/linux/archive/refs/tags/v6.11.tar.gz works successfully
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.11.7.tar.xz results in a tls decode error
It would be nice to be able to support downloading from cdn.kernel.org imo.
Opening a specific issue for this url as per #14172 (comment)
Expected Behavior
For the http client to negotiate and download the file using the kernel.org url as it does for the github url.
The text was updated successfully, but these errors were encountered: