<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cryptography.git/src/_cffi_src/openssl/callbacks.py, branch goddamnit</title>
<subtitle>github.com: pyca/cryptography.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/'/>
<entry>
<title>1.1.0 locks (#4420)</title>
<updated>2018-08-30T00:50:05+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2018-08-30T00:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=bc1667791eedfe9d77d56dd9014e26481f571ff5'/>
<id>bc1667791eedfe9d77d56dd9014e26481f571ff5</id>
<content type='text'>
* Do conditional compiling of Cryptography_setup_ssl_threads

* Check Cryptography_HAS_LOCKING_CALLBACKS before initing static locks

Check if compiling and initing locking callbacks is necessary

PEP8 fix

* Make test_crypto_lock_init more complete
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Do conditional compiling of Cryptography_setup_ssl_threads

* Check Cryptography_HAS_LOCKING_CALLBACKS before initing static locks

Check if compiling and initing locking callbacks is necessary

PEP8 fix

* Make test_crypto_lock_init more complete
</pre>
</div>
</content>
</entry>
<entry>
<title>Make our locking setup function compy with our style guide (#4316)</title>
<updated>2018-07-06T15:43:26+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2018-07-06T15:43:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=efad55978bd836380e423faa03503c0f537da3c4'/>
<id>efad55978bd836380e423faa03503c0f537da3c4</id>
<content type='text'>
And not expose an unprefixed name to anyone who dlopens us.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And not expose an unprefixed name to anyone who dlopens us.</pre>
</div>
</content>
</entry>
<entry>
<title>OpenSSL 1.0.2o has switched to winsock2 (#4184)</title>
<updated>2018-04-05T14:15:53+00:00</updated>
<author>
<name>Thierry Bastian</name>
<email>thierryb@filewave.com</email>
</author>
<published>2018-04-05T14:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=cbdc9baafd4cc919abc7aed070d08d8ea847aa33'/>
<id>cbdc9baafd4cc919abc7aed070d08d8ea847aa33</id>
<content type='text'>
So here we need to make sure we don't simply include windows but only the parts that we want</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So here we need to make sure we don't simply include windows but only the parts that we want</pre>
</div>
</content>
</entry>
<entry>
<title>Funcs macros gone (#3695)</title>
<updated>2017-06-27T21:15:37+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2017-06-27T21:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=491fd7cc5aefff8064039d073331b41a2f606a63'/>
<id>491fd7cc5aefff8064039d073331b41a2f606a63</id>
<content type='text'>
* No more FUNCS/MACROS distinction

* change the docs to not talk about MACROS since they're gone

* remove out of date comment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* No more FUNCS/MACROS distinction

* change the docs to not talk about MACROS since they're gone

* remove out of date comment
</pre>
</div>
</content>
</entry>
<entry>
<title>pypy3 compilation fix for locking callback (#3716)</title>
<updated>2017-06-24T21:51:12+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2017-06-24T21:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=1b714f7ed673c9a211f3b664e7df39d0f5f21e32'/>
<id>1b714f7ed673c9a211f3b664e7df39d0f5f21e32</id>
<content type='text'>
* pypy3 fix on macos using work from the pypy project

https://bitbucket.org/pypy/pypy/commits/198dc138680f96c391802fa1e77b8b6d2e0134e6?at=py3.5

* change abort error msg and fix wrong type

* oh windows

* remove an unused variable

* rename mutex1_t, use calloc, small style fixes

* calloc correctly

* (call)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* pypy3 fix on macos using work from the pypy project

https://bitbucket.org/pypy/pypy/commits/198dc138680f96c391802fa1e77b8b6d2e0134e6?at=py3.5

* change abort error msg and fix wrong type

* oh windows

* remove an unused variable

* rename mutex1_t, use calloc, small style fixes

* calloc correctly

* (call)
</pre>
</div>
</content>
</entry>
<entry>
<title>switch the PEM password callback to a C implementation (#3382)</title>
<updated>2017-02-14T02:01:23+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2017-02-14T02:01:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=4a90c254278231d7defeac304a3cfd752e96e786'/>
<id>4a90c254278231d7defeac304a3cfd752e96e786</id>
<content type='text'>
* switch the PEM password callback to a C implementation

Calling from C to Python is fraught with edge cases, especially in
subinterpreter land. This commit moves the PEM password callback logic
into a small C function and then removes all the infrastructure for the
cffi callbacks (as we no longer have any)

* review feedback and update tests

* rename the struct

* aaand one more fix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* switch the PEM password callback to a C implementation

Calling from C to Python is fraught with edge cases, especially in
subinterpreter land. This commit moves the PEM password callback logic
into a small C function and then removes all the infrastructure for the
cffi callbacks (as we no longer have any)

* review feedback and update tests

* rename the struct

* aaand one more fix
</pre>
</div>
</content>
</entry>
<entry>
<title>Use static callbacks with Python 3.x again (#3350)</title>
<updated>2017-01-18T07:02:38+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2017-01-18T07:02:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=d078e546e2ebfaa37ebe92c446ff437183312530'/>
<id>d078e546e2ebfaa37ebe92c446ff437183312530</id>
<content type='text'>
* Use static callbacks with Python 3.x again

Static callbacks were disabled for Python 3.5+ to work around an issue
with subinterpreters, locking callbacks and osrandom engine. Locking
callback and osrandom engine were replaced with a C implementations in
version 1.6 and 1.7.

https://github.com/pyca/cryptography/issues/2970

Closes: #3348
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* remove unused import
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use static callbacks with Python 3.x again

Static callbacks were disabled for Python 3.5+ to work around an issue
with subinterpreters, locking callbacks and osrandom engine. Locking
callback and osrandom engine were replaced with a C implementations in
version 1.6 and 1.7.

https://github.com/pyca/cryptography/issues/2970

Closes: #3348
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* remove unused import
</pre>
</div>
</content>
</entry>
<entry>
<title>C locking callback (#3226)</title>
<updated>2016-11-13T20:55:22+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2016-11-13T20:55:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=d862933de5c344fcdf99ab2f43f3bf8da65f3e41'/>
<id>d862933de5c344fcdf99ab2f43f3bf8da65f3e41</id>
<content type='text'>
* Remove Python OpenSSL locking callback and replace it with one in C

The Python OpenSSL locking callback is unsafe; if GC is triggered
during the callback's invocation, it can result in the callback being
invoked reentrantly, which can lead to deadlocks. This patch replaces
it with one in C that gets built at compile time via cffi along with
the rest of the OpenSSL binding.

* fixes for some issues

* unused

* revert these changes

* these two for good measure

* missing param

* sigh, syntax

* delete tests that assumed an ability to mess with locks

* style fixes

* licensing stuff

* utf8

* Unicode. Huh. What it isn't good for, absolutely nothing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove Python OpenSSL locking callback and replace it with one in C

The Python OpenSSL locking callback is unsafe; if GC is triggered
during the callback's invocation, it can result in the callback being
invoked reentrantly, which can lead to deadlocks. This patch replaces
it with one in C that gets built at compile time via cffi along with
the rest of the OpenSSL binding.

* fixes for some issues

* unused

* revert these changes

* these two for good measure

* missing param

* sigh, syntax

* delete tests that assumed an ability to mess with locks

* style fixes

* licensing stuff

* utf8

* Unicode. Huh. What it isn't good for, absolutely nothing.
</pre>
</div>
</content>
</entry>
<entry>
<title>disable static callbacks on Python 3.5 (refs #2970) (#3063)</title>
<updated>2016-07-29T06:45:42+00:00</updated>
<author>
<name>Maximilian Hils</name>
<email>git@maximilianhils.com</email>
</author>
<published>2016-07-29T06:45:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=6e9e489fd80424811d1b228d64f3b1b3d23de2a8'/>
<id>6e9e489fd80424811d1b228d64f3b1b3d23de2a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove the callbacks we don't use in cryptography</title>
<updated>2016-01-08T05:08:57+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2016-01-08T05:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=90ad38fae043268e3bfe2844f1996707bfd0caf8'/>
<id>90ad38fae043268e3bfe2844f1996707bfd0caf8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
