<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/vauth/spnego_gssapi.c, branch bagder/https-proxy-tests</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>vauth: return CURLE_AUTH_ERROR on gss_init_sec_context() failure</title>
<updated>2019-08-26T11:43:21+00:00</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2019-08-14T07:47:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7e513c1048fc506885ded033a37151309cc71af7'/>
<id>7e513c1048fc506885ded033a37151309cc71af7</id>
<content type='text'>
This is a follow-up to https://github.com/curl/curl/pull/3864 .

Closes #4224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a follow-up to https://github.com/curl/curl/pull/3864 .

Closes #4224
</pre>
</div>
</content>
</entry>
<entry>
<title>vauth: Use CURLE_AUTH_ERROR for auth function errors</title>
<updated>2019-08-14T07:14:01+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2019-05-11T06:23:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=dca6f73613d8b578687bd4aeeedd198f9644bb53'/>
<id>dca6f73613d8b578687bd4aeeedd198f9644bb53</id>
<content type='text'>
- Add new error code CURLE_AUTH_ERROR.

Prior to this change auth function errors were signaled by
CURLE_OUT_OF_MEMORY and CURLE_RECV_ERROR, and neither one was
technically correct.

Ref: https://github.com/curl/curl/pull/3848

Co-authored-by: Dominik Hölzl

Closes https://github.com/curl/curl/pull/3864
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add new error code CURLE_AUTH_ERROR.

Prior to this change auth function errors were signaled by
CURLE_OUT_OF_MEMORY and CURLE_RECV_ERROR, and neither one was
technically correct.

Ref: https://github.com/curl/curl/pull/3848

Co-authored-by: Dominik Hölzl

Closes https://github.com/curl/curl/pull/3864
</pre>
</div>
</content>
</entry>
<entry>
<title>http_negotiate: Move the Negotiate state out of the negotiatedata structure</title>
<updated>2019-05-14T23:32:42+00:00</updated>
<author>
<name>Steve Holme</name>
<email>steve_holme@hotmail.com</email>
</author>
<published>2019-05-13T20:42:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e832d1ef74f260146cdab59cbac1d6969836663a'/>
<id>e832d1ef74f260146cdab59cbac1d6969836663a</id>
<content type='text'>
Given that this member variable is not used by the SASL based protocols
there is no need to have it here.

Closes #3882
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Given that this member variable is not used by the SASL based protocols
there is no need to have it here.

Closes #3882
</pre>
</div>
</content>
</entry>
<entry>
<title>auth: Rename the various authentication clean up functions</title>
<updated>2019-05-12T17:37:00+00:00</updated>
<author>
<name>Steve Holme</name>
<email>steve_holme@hotmail.com</email>
</author>
<published>2019-05-11T11:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=52dfab65d6822d1281bb62ebc5c46cd2b7501487'/>
<id>52dfab65d6822d1281bb62ebc5c46cd2b7501487</id>
<content type='text'>
For consistency and to a avoid confusion.

Closes #3869
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For consistency and to a avoid confusion.

Closes #3869
</pre>
</div>
</content>
</entry>
<entry>
<title>spnego_gssapi: fix return code on gss_init_sec_context() failure</title>
<updated>2019-05-09T07:41:14+00:00</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2019-05-06T12:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=f65845c1eccc02385cdfb22bf2e521e670f7b295'/>
<id>f65845c1eccc02385cdfb22bf2e521e670f7b295</id>
<content type='text'>
Fixes #3726
Closes #3849
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #3726
Closes #3849
</pre>
</div>
</content>
</entry>
<entry>
<title>Negotiate: fix for HTTP POST with Negotiate</title>
<updated>2019-03-14T08:26:03+00:00</updated>
<author>
<name>Dominik Hölzl</name>
<email>dominik.hoelzl@fabasoft.at</email>
</author>
<published>2018-09-10T07:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6c6035532383e300c712e4c1cd9fdd749ed5cf59'/>
<id>6c6035532383e300c712e4c1cd9fdd749ed5cf59</id>
<content type='text'>
* Adjusted unit tests 2056, 2057
* do not generally close connections with CURLAUTH_NEGOTIATE after every request
* moved negotiatedata from UrlState to connectdata
* Added stream rewind logic for CURLAUTH_NEGOTIATE
* introduced negotiatedata::GSS_AUTHDONE and negotiatedata::GSS_AUTHSUCC
* Consider authproblem state for CURLAUTH_NEGOTIATE
* Consider reuse_forbid for CURLAUTH_NEGOTIATE
* moved and adjusted negotiate authentication state handling from
  output_auth_headers into Curl_output_negotiate
* Curl_output_negotiate: ensure auth done is always set
* Curl_output_negotiate: Set auth done also if result code is
  GSS_S_CONTINUE_NEEDED/SEC_I_CONTINUE_NEEDED as this result code may
  also indicate the last challenge request (only works with disabled
  Expect: 100-continue and CURLOPT_KEEP_SENDING_ON_ERROR -&gt; 1)
* Consider "Persistent-Auth" header, detect if not present;
  Reset/Cleanup negotiate after authentication if no persistent
  authentication
* apply changes introduced with #2546 for negotiate rewind logic

Fixes #1261
Closes #1975
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Adjusted unit tests 2056, 2057
* do not generally close connections with CURLAUTH_NEGOTIATE after every request
* moved negotiatedata from UrlState to connectdata
* Added stream rewind logic for CURLAUTH_NEGOTIATE
* introduced negotiatedata::GSS_AUTHDONE and negotiatedata::GSS_AUTHSUCC
* Consider authproblem state for CURLAUTH_NEGOTIATE
* Consider reuse_forbid for CURLAUTH_NEGOTIATE
* moved and adjusted negotiate authentication state handling from
  output_auth_headers into Curl_output_negotiate
* Curl_output_negotiate: ensure auth done is always set
* Curl_output_negotiate: Set auth done also if result code is
  GSS_S_CONTINUE_NEEDED/SEC_I_CONTINUE_NEEDED as this result code may
  also indicate the last challenge request (only works with disabled
  Expect: 100-continue and CURLOPT_KEEP_SENDING_ON_ERROR -&gt; 1)
* Consider "Persistent-Auth" header, detect if not present;
  Reset/Cleanup negotiate after authentication if no persistent
  authentication
* apply changes introduced with #2546 for negotiate rewind logic

Fixes #1261
Closes #1975
</pre>
</div>
</content>
</entry>
<entry>
<title>comment: Fix multiple typos in function parameters</title>
<updated>2018-10-03T08:27:27+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
<email>daniel@yesql.se</email>
</author>
<published>2018-10-03T08:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e182fc1613196540df12bcaa846e79f80aa5432c'/>
<id>e182fc1613196540df12bcaa846e79f80aa5432c</id>
<content type='text'>
Ensure that the parameters in the comment match the actual names in the
prototype.

Closes #3079
Reviewed-by: Daniel Stenberg &lt;daniel@haxx.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that the parameters in the comment match the actual names in the
prototype.

Closes #3079
Reviewed-by: Daniel Stenberg &lt;daniel@haxx.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gssapi: fix memory leak of output token in multi round context</title>
<updated>2017-08-04T22:23:24+00:00</updated>
<author>
<name>Isaac Boukris</name>
<email>iboukris@gmail.com</email>
</author>
<published>2017-07-21T23:00:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0b11660234c4f9bbea7308402ad739dc3f153b08'/>
<id>0b11660234c4f9bbea7308402ad739dc3f153b08</id>
<content type='text'>
When multiple rounds are needed to establish a security context
(usually ntlm), we overwrite old token with a new one without free.
Found by proposed gss tests using stub a gss implementation (by
valgrind error), though I have confirmed the leak with a real
gssapi implementation as well.

Closes https://github.com/curl/curl/pull/1733
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When multiple rounds are needed to establish a security context
(usually ntlm), we overwrite old token with a new one without free.
Found by proposed gss tests using stub a gss implementation (by
valgrind error), though I have confirmed the leak with a real
gssapi implementation as well.

Closes https://github.com/curl/curl/pull/1733
</pre>
</div>
</content>
</entry>
<entry>
<title>vauth: Introduced Curl_auth_is_&lt;mechansism&gt;_supported() functions</title>
<updated>2016-08-18T19:31:20+00:00</updated>
<author>
<name>Steve Holme</name>
<email>steve_holme@hotmail.com</email>
</author>
<published>2016-03-20T11:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a0f212946b1e839a673973930034b98031f1507c'/>
<id>a0f212946b1e839a673973930034b98031f1507c</id>
<content type='text'>
As Windows SSPI authentication calls fail when a particular mechanism
isn't available, introduced these functions for DIGEST, NTLM, Kerberos 5
and Negotiate to allow both HTTP and SASL authentication the opportunity
to query support for a supported mechanism before selecting it.

For now each function returns TRUE to maintain compatability with the
existing code when called.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As Windows SSPI authentication calls fail when a particular mechanism
isn't available, introduced these functions for DIGEST, NTLM, Kerberos 5
and Negotiate to allow both HTTP and SASL authentication the opportunity
to query support for a supported mechanism before selecting it.

For now each function returns TRUE to maintain compatability with the
existing code when called.
</pre>
</div>
</content>
</entry>
<entry>
<title>spnego: Corrected miss-placed * in Curl_auth_spnego_cleanup() declaration</title>
<updated>2016-07-23T20:29:16+00:00</updated>
<author>
<name>Steve Holme</name>
<email>steve_holme@hotmail.com</email>
</author>
<published>2016-07-22T19:38:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=25bf71ab0757694e691ad77c48fa6c438df9416e'/>
<id>25bf71ab0757694e691ad77c48fa6c438df9416e</id>
<content type='text'>
Typo introduced in commit ad5e9bfd5d.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Typo introduced in commit ad5e9bfd5d.
</pre>
</div>
</content>
</entry>
</feed>
