Description
Since curl was updated with OpenSSL 3.0.3, i started getting error 35 when trying to get info on ipsw files hosted on apple's servers.
i'm not exactly sure why this issue is occuring, but here's some information that should help us track it down a bit.
OS: Windows 7 SP1 (x86_64)
Version(s): CURL 7.83.1 (7.83.0 with OpenSSL 3.0.3)
Downloaded From: https://curl.se/windows/
-V Output:
curl 7.83.1 (x86_64-pc-win32) libcurl/7.83.1 OpenSSL/3.0.3 (Schannel) zlib/1.2.12 brotli/1.0.9 libidn2/2.3.2 libssh2/1.10.0 nghttp2/1.47.0 libgsasl/1.10.0
Release-Date: 2022-05-11
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL SSPI TLS-SRP UnixSockets
How to Reproduce (example):
curl -i https://updates.cdn-apple.com/2022FCSWinter/fullrestores/002-81308/6BD01782-B7EA-4BF7-987A-C3D3F5755CC0/iPhone_4.0_64bit_15.4.1_19E258_Restore.ipsw
Expected (Something like this):
HTTP/1.1 200 OK
Content-Type: binary/octet-stream
Content-Length: 5216804428
Last-Modified: Mon, 28 Mar 2022 01:13:50 GMT
x-amz-meta-digest-sh1: bcb98612c204172a1b1a7c12577ffcdf38e0ead0
x-amz-meta-digest-sha256: 73a5eb08698c2ce1eb6499824800c09c855ad1cb53e7f8028c4410ee72599b93
x-amz-version-id: 2J8Pjdc3WOpauaC40VRcwcTm.9YLm1Cb
Accept-Ranges: bytes
Server: AmazonS3
Date: Sat, 14 May 2022 12:20:02 GMT
X-Cache: RefreshHit from cloudfront, hit-fresh, miss, none
Via: 1.1 b55214c298a6470ca4f296a9e493d5f2.cloudfront.net (CloudFront), http/1.1 uschi5-edge-lx-003.ts.apple.com (acdn/14
4.13255), http/1.1 uschi5-edge-bx-017.ts.apple.com (acdn/144.13255), http/1.1 uschi5-edge-bx-017.ts.apple.com (acdn/144.
13255)
X-Amz-Cf-Pop: ORD52-C1
X-Amz-Cf-Id: M5R-liZCWATc_FUuZIkMJX4_Uog2gHIFf4GaCkvSUb-nzaNNKyGV6g==
Cache-Control: max-age=21600, public
Etag: "b9ea458237a909061b66d2a7f7477b61-622"
Age: 14206
CDNUUID: aba81b1c-2462-4dba-9587-32816591578e-614671188
Connection: keep-aliveWarning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: " to save to a file.
Actual Result:
curl: (35) Insufficient randomness