curl-curl/include/curl
Jay Satiro 54e7475016 schannel: Disable auto credentials; add an option to enable it
- Disable auto credentials by default. This is a breaking change
  for clients that are using it, wittingly or not.

- New libcurl ssl option value CURLSSLOPT_AUTO_CLIENT_CERT tells libcurl
  to automatically locate and use a client certificate for
  authentication, when requested by the server.

- New curl tool options --ssl-auto-client-cert and
  --proxy-ssl-auto-client-cert map to CURLSSLOPT_AUTO_CLIENT_CERT.

This option is only supported for Schannel (the native Windows SSL
library). Prior to this change Schannel would, with no notification to
the client, attempt to locate a client certificate and send it to the
server, when requested by the server. Since the server can request any
certificate that supports client authentication in the OS certificate
store it could be a privacy violation and unexpected.

Fixes https://github.com/curl/curl/issues/2262
Reported-by: Jeroen Ooms
Assisted-by: Wes Hinsley
Assisted-by: Rich FitzJohn

Ref: https://curl.se/mail/lib-2021-02/0066.html
Reported-by: Morten Minde Neergaard

Closes https://github.com/curl/curl/pull/6673
2021-04-22 16:53:37 -04:00
..
.gitignore includes: remove curl/curlbuild.h and curl/curlrules.h 2017-06-14 11:07:33 +02:00
curl.h schannel: Disable auto credentials; add an option to enable it 2021-04-22 16:53:37 -04:00
curlver.h RELEASE-NOTES: synced 2021-04-15 08:24:19 +02:00
easy.h curl.se: new home 2020-11-04 23:59:47 +01:00
Makefile.am curl.se: new home 2020-11-04 23:59:47 +01:00
mprintf.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
multi.h curl.se: new home 2020-11-04 23:59:47 +01:00
options.h curl.se: new home 2020-11-04 23:59:47 +01:00
stdcheaders.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
system.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
typecheck-gcc.h typecheck-gcc: make the ssl-ctx-cb check use SSL_CTX pointers 2021-04-07 00:16:40 +02:00
urlapi.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00