<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyopenssl.git/src/OpenSSL/SSL.py, branch drop-1.0.1</title>
<subtitle>github.com: pyca/pyopenssl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/'/>
<entry>
<title>Drop OpenSSL 1.0.1</title>
<updated>2020-04-06T23:10:41+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex@alloy.us</email>
</author>
<published>2020-04-06T16:17:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=e3a8c9fcd7ee646eb3e755af1a4a6e07f58cd883'/>
<id>e3a8c9fcd7ee646eb3e755af1a4a6e07f58cd883</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove asserts (#904)</title>
<updated>2020-03-31T14:14:50+00:00</updated>
<author>
<name>Adrián Chaves</name>
<email>adrian@chaves.io</email>
</author>
<published>2020-03-31T14:14:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=98c57be751fe18fec6d05152965f53ed9ade0872'/>
<id>98c57be751fe18fec6d05152965f53ed9ade0872</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Random cleanup around our usage of binary_type (#879)</title>
<updated>2019-11-18T05:18:50+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2019-11-18T05:18:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=1257600e1603ed57455d92758eb1da857cd61725'/>
<id>1257600e1603ed57455d92758eb1da857cd61725</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ALPN: complete handshake without accepting a client's protocols. (#876)</title>
<updated>2019-11-18T03:56:26+00:00</updated>
<author>
<name>Mark Williams</name>
<email>mrw@enotuniq.org</email>
</author>
<published>2019-11-18T03:56:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=5d890a00af541abe379c2eea76ab668080eabff6'/>
<id>5d890a00af541abe379c2eea76ab668080eabff6</id>
<content type='text'>
* ALPN: complete handshake without accepting a client's protocols.

The callback passed to `SSL_CTX_set_alpn_select_cb` can return
`SSL_TLSEXT_ERR_NOACK` to allow the handshake to continue without
accepting any of the client's offered protocols.

This commit introduces `NO_OVERLAPPING_PROTOCOLS`, which the Python
callback passed to `Context.set_alpn_select_callback` can return to
achieve the same thing.

It does not change the previous meaning of an empty string, which
still terminates the handshake.

* Update src/OpenSSL/SSL.py

Co-Authored-By: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;

* Address @alex's review.

* Use recorded value in test, fix lint error.

* Cover TypeError branch in _ALPNHelper.callback
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ALPN: complete handshake without accepting a client's protocols.

The callback passed to `SSL_CTX_set_alpn_select_cb` can return
`SSL_TLSEXT_ERR_NOACK` to allow the handshake to continue without
accepting any of the client's offered protocols.

This commit introduces `NO_OVERLAPPING_PROTOCOLS`, which the Python
callback passed to `Context.set_alpn_select_callback` can return to
achieve the same thing.

It does not change the previous meaning of an empty string, which
still terminates the handshake.

* Update src/OpenSSL/SSL.py

Co-Authored-By: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;

* Address @alex's review.

* Use recorded value in test, fix lint error.

* Cover TypeError branch in _ALPNHelper.callback
</pre>
</div>
</content>
</entry>
<entry>
<title>use _ffi.from_buffer() to support bytearray (#852)</title>
<updated>2019-11-18T03:45:52+00:00</updated>
<author>
<name>Daniel Holth</name>
<email>dholth@fastmail.fm</email>
</author>
<published>2019-11-18T03:45:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=079c963ddd4ebfd13a905829bc341dce85d94fbd'/>
<id>079c963ddd4ebfd13a905829bc341dce85d94fbd</id>
<content type='text'>
* use _ffi.from_buffer(buf) in send, to support bytearray

* add bytearray test

* update CHANGELOG.rst

* move from_buffer before 'buffer too long' check

* context-managed from_buffer + black

* don't shadow buf in send()

* test return count for sendall

* test sending an array

* fix test

* also use from_buffer in bio_write

* de-format _util.py

* formatting

* add simple bio_write tests

* wrap line
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* use _ffi.from_buffer(buf) in send, to support bytearray

* add bytearray test

* update CHANGELOG.rst

* move from_buffer before 'buffer too long' check

* context-managed from_buffer + black

* don't shadow buf in send()

* test return count for sendall

* test sending an array

* fix test

* also use from_buffer in bio_write

* de-format _util.py

* formatting

* add simple bio_write tests

* wrap line
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose OP_NO_TLSv1_3 (#861)</title>
<updated>2019-08-02T04:32:13+00:00</updated>
<author>
<name>Nathaniel J. Smith</name>
<email>njs@pobox.com</email>
</author>
<published>2019-08-02T04:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=a18137385f574603535b29ad935f496d307ab3ae'/>
<id>a18137385f574603535b29ad935f496d307ab3ae</id>
<content type='text'>
* Expose OP_NO_TLSv1_3

* Support openssl &lt;1.1.1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Expose OP_NO_TLSv1_3

* Support openssl &lt;1.1.1
</pre>
</div>
</content>
</entry>
<entry>
<title>Update SSL.py docstring (#849)</title>
<updated>2019-07-05T18:50:57+00:00</updated>
<author>
<name>Daniel Holth</name>
<email>dholth@fastmail.fm</email>
</author>
<published>2019-07-05T18:50:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=3efa98cfe36d359ee86785a17233f0584ecad265'/>
<id>3efa98cfe36d359ee86785a17233f0584ecad265</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>OpenSSL always has SNI (#821)</title>
<updated>2019-02-22T02:41:52+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2019-02-22T02:41:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=a42c5c9a91639c1d4405e67316046cb6b939ac84'/>
<id>a42c5c9a91639c1d4405e67316046cb6b939ac84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecated NPN (#820)</title>
<updated>2019-02-22T02:41:22+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2019-02-22T02:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=be2bd54f4bf0c8ea50eaf5fd7343652f2bdf9eca'/>
<id>be2bd54f4bf0c8ea50eaf5fd7343652f2bdf9eca</id>
<content type='text'>
* Deprecated NPN

* arithmetic is hard

* oops

* oops
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Deprecated NPN

* arithmetic is hard

* oops

* oops
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise an Error with "no cipher match" even with TLS 1.3 (#818)</title>
<updated>2019-02-15T03:30:07+00:00</updated>
<author>
<name>Mark Williams</name>
<email>mrw@enotuniq.org</email>
</author>
<published>2019-02-15T03:30:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=df2480da2c65cf0ddb0427803edbc04516fc237f'/>
<id>df2480da2c65cf0ddb0427803edbc04516fc237f</id>
<content type='text'>
* Raise an Error with "no cipher match" even with TLS 1.3

This makes Twisted's OpenSSLAcceptableCiphers.fromOpenSSLCipherString
and seamlessly work with TLS 1.3:

https://github.com/twisted/twisted/pull/1100/files/a5df2fb373ac67b0e3032acc9291ae88dfd0b3b1#diff-df501bac724aab523150498f84749b88R1767

* Split TestContext.test_set_cipher_list_wrong_args into two tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Raise an Error with "no cipher match" even with TLS 1.3

This makes Twisted's OpenSSLAcceptableCiphers.fromOpenSSLCipherString
and seamlessly work with TLS 1.3:

https://github.com/twisted/twisted/pull/1100/files/a5df2fb373ac67b0e3032acc9291ae88dfd0b3b1#diff-df501bac724aab523150498f84749b88R1767

* Split TestContext.test_set_cipher_list_wrong_args into two tests.
</pre>
</div>
</content>
</entry>
</feed>
