<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyopenssl.git/src/OpenSSL, 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>Fix PKey.check for some broken keys (#897)</title>
<updated>2020-03-11T21:03:59+00:00</updated>
<author>
<name>Mrmaxmeier</name>
<email>Mrmaxmeier@gmail.com</email>
</author>
<published>2020-03-11T21:03:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=8cd3b17ec79ec2049eb9d8d6d162b417012144a2'/>
<id>8cd3b17ec79ec2049eb9d8d6d162b417012144a2</id>
<content type='text'>
* fix PKey.check for some broken keys

RSA_check_key is documented to return 1 for valid keys.
It (currently) returns 0 or -1 for invalid ones.
The previous code accepted invalid keys if RSA_check_key returns -1!

* add test</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix PKey.check for some broken keys

RSA_check_key is documented to return 1 for valid keys.
It (currently) returns 0 or -1 for invalid ones.
The previous code accepted invalid keys if RSA_check_key returns -1!

* add test</pre>
</div>
</content>
</entry>
<entry>
<title>Make the code slightly resillient to python4 (#880)</title>
<updated>2019-11-18T05:37:39+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2019-11-18T05:37:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=26f1a920acea2da4ca23cf19cb3635be86c650c9'/>
<id>26f1a920acea2da4ca23cf19cb3635be86c650c9</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>reopen master, call it 20.0 because let's be honest with ourselves (#878)</title>
<updated>2019-11-18T05:10:12+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2019-11-18T05:10:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=daf6f0060959c896fd724da5ade401ec70a8d1e5'/>
<id>daf6f0060959c896fd724da5ade401ec70a8d1e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>version bump for 19.1 release (#877)</title>
<updated>2019-11-18T04:47:22+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2019-11-18T04:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=da402f4a545256c5dfe78448c75dcf47fcd0b4d3'/>
<id>da402f4a545256c5dfe78448c75dcf47fcd0b4d3</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>Fix for Python 4 (#862)</title>
<updated>2019-08-29T21:39:35+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2019-08-29T21:39:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=60827f82d2ad7d2a94db093c2836595b46937c07'/>
<id>60827f82d2ad7d2a94db093c2836595b46937c07</id>
<content type='text'>
* Fix for Python 4

* Fix for Python 4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix for Python 4

* Fix for Python 4
</pre>
</div>
</content>
</entry>
</feed>
