mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 17:48:48 -05:00
5450428491
- Implement new option CURLSSLOPT_REVOKE_BEST_EFFORT and --ssl-revoke-best-effort to allow a "best effort" revocation check. A best effort revocation check ignores errors that the revocation check was unable to take place. The reasoning is described in detail below and discussed further in the PR. --- When running e.g. with Fiddler, the schannel backend fails with an unhelpful error message: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. Sadly, many enterprise users who are stuck behind MITM proxies suffer the very same problem. This has been discussed in plenty of issues: https://github.com/curl/curl/issues/3727, https://github.com/curl/curl/issues/264, for example. In the latter, a Microsoft Edge developer even made the case that the common behavior is to ignore issues when a certificate has no recorded distribution point for revocation lists, or when the server is offline. This is also known as "best effort" strategy and addresses the Fiddler issue. Unfortunately, this strategy was not chosen as the default for schannel (and is therefore a backend-specific behavior: OpenSSL seems to happily ignore the offline servers and missing distribution points). To maintain backward-compatibility, we therefore add a new flag (`CURLSSLOPT_REVOKE_BEST_EFFORT`) and a new option (`--ssl-revoke-best-effort`) to select the new behavior. Due to the many related issues Git for Windows and GitHub Desktop, the plan is to make this behavior the default in these software packages. The test 2070 was added to verify this behavior, adapted from 310. Based-on-work-by: georgeok <giorgos.n.oikonomou@gmail.com> Co-authored-by: Markus Olsson <j.markus.olsson@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Closes https://github.com/curl/curl/pull/4981
217 lines
4.8 KiB
Makefile
217 lines
4.8 KiB
Makefile
# Shared between Makefile.am and CMakeLists.txt
|
|
|
|
DPAGES = \
|
|
abstract-unix-socket.d \
|
|
alt-svc.d \
|
|
anyauth.d \
|
|
append.d basic.d \
|
|
cacert.d capath.d \
|
|
cert-status.d \
|
|
cert-type.d \
|
|
cert.d \
|
|
ciphers.d \
|
|
compressed-ssh.d \
|
|
compressed.d \
|
|
config.d \
|
|
connect-timeout.d \
|
|
connect-to.d \
|
|
continue-at.d \
|
|
cookie-jar.d \
|
|
cookie.d \
|
|
create-dirs.d \
|
|
crlf.d crlfile.d \
|
|
data-ascii.d \
|
|
data-binary.d \
|
|
data-urlencode.d \
|
|
data.d data-raw.d \
|
|
delegation.d \
|
|
digest.d \
|
|
disable-eprt.d \
|
|
disable-epsv.d \
|
|
disable.d \
|
|
disallow-username-in-url.d \
|
|
dns-interface.d \
|
|
dns-ipv4-addr.d \
|
|
dns-ipv6-addr.d \
|
|
dns-servers.d \
|
|
doh-url.d \
|
|
dump-header.d \
|
|
egd-file.d \
|
|
engine.d \
|
|
etag-save.d \
|
|
etag-compare.d \
|
|
expect100-timeout.d \
|
|
fail-early.d \
|
|
fail.d \
|
|
false-start.d \
|
|
form-string.d \
|
|
form.d \
|
|
ftp-account.d \
|
|
ftp-alternative-to-user.d \
|
|
ftp-create-dirs.d \
|
|
ftp-method.d \
|
|
ftp-pasv.d \
|
|
ftp-port.d \
|
|
ftp-pret.d \
|
|
ftp-skip-pasv-ip.d \
|
|
ftp-ssl-ccc-mode.d \
|
|
ftp-ssl-ccc.d \
|
|
ftp-ssl-control.d \
|
|
get.d globoff.d \
|
|
happy-eyeballs-timeout-ms.d \
|
|
haproxy-protocol.d \
|
|
head.d header.d \
|
|
help.d \
|
|
hostpubmd5.d \
|
|
http0.9.d \
|
|
http1.0.d \
|
|
http1.1.d http2.d \
|
|
http2-prior-knowledge.d \
|
|
http3.d \
|
|
ignore-content-length.d \
|
|
include.d \
|
|
insecure.d \
|
|
interface.d \
|
|
ipv4.d ipv6.d \
|
|
junk-session-cookies.d \
|
|
keepalive-time.d \
|
|
key.d key-type.d \
|
|
krb.d libcurl.d \
|
|
limit-rate.d \
|
|
list-only.d \
|
|
local-port.d \
|
|
location-trusted.d \
|
|
location.d \
|
|
login-options.d \
|
|
mail-auth.d \
|
|
mail-from.d \
|
|
mail-rcpt.d \
|
|
manual.d \
|
|
max-filesize.d \
|
|
max-redirs.d \
|
|
max-time.d \
|
|
metalink.d \
|
|
negotiate.d \
|
|
netrc-file.d \
|
|
netrc-optional.d \
|
|
netrc.d \
|
|
next.d no-alpn.d \
|
|
no-buffer.d \
|
|
no-keepalive.d \
|
|
no-npn.d \
|
|
no-progress-meter.d \
|
|
no-sessionid.d \
|
|
noproxy.d \
|
|
ntlm.d ntlm-wb.d \
|
|
oauth2-bearer.d \
|
|
output.d \
|
|
parallel-immediate.d \
|
|
parallel-max.d \
|
|
parallel.d \
|
|
pass.d \
|
|
path-as-is.d \
|
|
pinnedpubkey.d \
|
|
post301.d \
|
|
post302.d \
|
|
post303.d \
|
|
preproxy.d \
|
|
progress-bar.d \
|
|
proto-default.d \
|
|
proto-redir.d \
|
|
proto.d \
|
|
proxy-anyauth.d \
|
|
proxy-basic.d \
|
|
proxy-cacert.d \
|
|
proxy-capath.d \
|
|
proxy-cert-type.d \
|
|
proxy-cert.d \
|
|
proxy-ciphers.d \
|
|
proxy-crlfile.d \
|
|
proxy-digest.d \
|
|
proxy-header.d \
|
|
proxy-insecure.d \
|
|
proxy-key-type.d \
|
|
proxy-key.d \
|
|
proxy-negotiate.d \
|
|
proxy-ntlm.d \
|
|
proxy-pass.d \
|
|
proxy-pinnedpubkey.d \
|
|
proxy-service-name.d \
|
|
proxy-ssl-allow-beast.d \
|
|
proxy-tls13-ciphers.d \
|
|
proxy-tlsauthtype.d \
|
|
proxy-tlspassword.d \
|
|
proxy-tlsuser.d \
|
|
proxy-tlsv1.d \
|
|
proxy-user.d \
|
|
proxy.d \
|
|
proxy1.0.d \
|
|
proxytunnel.d \
|
|
pubkey.d quote.d \
|
|
random-file.d \
|
|
range.d raw.d \
|
|
referer.d \
|
|
remote-header-name.d \
|
|
remote-name-all.d \
|
|
remote-name.d \
|
|
remote-time.d \
|
|
request-target.d \
|
|
request.d \
|
|
resolve.d \
|
|
retry-connrefused.d \
|
|
retry-delay.d \
|
|
retry-max-time.d \
|
|
retry.d \
|
|
sasl-authzid.d \
|
|
sasl-ir.d \
|
|
service-name.d \
|
|
show-error.d \
|
|
silent.d \
|
|
socks4.d socks5.d \
|
|
socks4a.d \
|
|
socks5-basic.d \
|
|
socks5-gssapi-nec.d \
|
|
socks5-gssapi-service.d \
|
|
socks5-gssapi.d \
|
|
socks5-hostname.d \
|
|
speed-limit.d \
|
|
speed-time.d \
|
|
ssl-allow-beast.d \
|
|
ssl-no-revoke.d \
|
|
ssl-reqd.d \
|
|
ssl-revoke-best-effort.d \
|
|
ssl.d \
|
|
sslv2.d sslv3.d \
|
|
stderr.d \
|
|
styled-output.d \
|
|
suppress-connect-headers.d \
|
|
tcp-fastopen.d \
|
|
tcp-nodelay.d \
|
|
telnet-option.d \
|
|
tftp-blksize.d \
|
|
tftp-no-options.d \
|
|
time-cond.d \
|
|
tls-max.d \
|
|
tls13-ciphers.d \
|
|
tlsauthtype.d \
|
|
tlspassword.d \
|
|
tlsuser.d \
|
|
tlsv1.0.d \
|
|
tlsv1.1.d \
|
|
tlsv1.2.d \
|
|
tlsv1.3.d tlsv1.d \
|
|
tr-encoding.d \
|
|
trace-ascii.d \
|
|
trace-time.d \
|
|
trace.d \
|
|
unix-socket.d \
|
|
upload-file.d \
|
|
url.d use-ascii.d \
|
|
user-agent.d \
|
|
user.d verbose.d \
|
|
version.d \
|
|
write-out.d \
|
|
xattr.d
|
|
|
|
OTHERPAGES = page-footer page-header
|