[curl/curl] 54e747: schannel: Disable auto credentials; add an option ...

Jay Satiro <[email protected]>
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: 54e747501626b81149b1b44949119d365db82004
      https://github.com/curl/curl/commit/54e747501626b81149b1b44949119d365db82004
  Author: Jay Satiro <[email protected]>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M docs/TODO
    M docs/cmdline-opts/Makefile.inc
    A docs/cmdline-opts/proxy-ssl-auto-client-cert.d
    A docs/cmdline-opts/ssl-auto-client-cert.d
    M docs/libcurl/opts/CURLOPT_PROXY_SSL_OPTIONS.3
    M docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3
    M docs/libcurl/symbols-in-versions
    M docs/options-in-versions
    M include/curl/curl.h
    M lib/doh.c
    M lib/setopt.c
    M lib/urldata.h
    M lib/vtls/schannel.c
    M packages/OS400/curl.inc.in
    M src/tool_cfgable.h
    M src/tool_getparam.c
    M src/tool_help.c
    M src/tool_operate.c
    M src/tool_setopt.c
    M src/tool_setopt.h

  Log Message:
  -----------
  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


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.