<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cryptography.git/src/_cffi_src/build_openssl.py, branch 2.0.3</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>enable wconversion and finish fixes (#3728)</title>
<updated>2017-06-27T01:07:48+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2017-06-27T01:07:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=62c3421a73053af5cf09d110f927632dd19f00aa'/>
<id>62c3421a73053af5cf09d110f927632dd19f00aa</id>
<content type='text'>
* enable wconversion and finish fixes

* don't pass -Wconversion if it's win32
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* enable wconversion and finish fixes

* don't pass -Wconversion if it's win32
</pre>
</div>
</content>
</entry>
<entry>
<title>allow global suppression of link flags (#3592)</title>
<updated>2017-05-24T19:49:18+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2017-05-24T19:49:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=adeaacfa567b32401d3bef848b78d078bf4393ec'/>
<id>adeaacfa567b32401d3bef848b78d078bf4393ec</id>
<content type='text'>
CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS will now suppress link flags regardless
of platform. Additionally, CRYPTOGRAPHY_WINDOWS_LINK_LEGACY_OPENSSL is
now the flag you need if you want to link against &lt; 1.1.0 on windows.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS will now suppress link flags regardless
of platform. Additionally, CRYPTOGRAPHY_WINDOWS_LINK_LEGACY_OPENSSL is
now the flag you need if you want to link against &lt; 1.1.0 on windows.</pre>
</div>
</content>
</entry>
<entry>
<title>First pass at adding SCT bindings (#3471)</title>
<updated>2017-03-22T13:26:08+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2017-03-22T13:26:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=42062cc8afa3446a7dde1c5dcbe6839b793b91b0'/>
<id>42062cc8afa3446a7dde1c5dcbe6839b793b91b0</id>
<content type='text'>
* First pass at adding bindings for CT functions. No conditionals yet.

* add a stack typedef as well

* Don't try to include this header if we're on an older OpenSSL

* wire up the conditional stuff

* bunch o' nonsense to get it to compile on old openssl

* I hate libressl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* First pass at adding bindings for CT functions. No conditionals yet.

* add a stack typedef as well

* Don't try to include this header if we're on an older OpenSSL

* wire up the conditional stuff

* bunch o' nonsense to get it to compile on old openssl

* I hate libressl
</pre>
</div>
</content>
</entry>
<entry>
<title>support defining which windows libraries to link with an env var (#3356)</title>
<updated>2017-02-09T05:53:44+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2017-02-09T05:53:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=f19fef16287a767f133182337e93c478dd48ea93'/>
<id>f19fef16287a767f133182337e93c478dd48ea93</id>
<content type='text'>
* support defining which windows libraries to link with an env var

CRYPTOGRAPHY_WINDOWS_LIBRARIES is your new friend

* add some docs

* change to CRYPTOGRAPHY_WINDOWS_LINK_OPENSSL110

* lib prefixing is not a thing msvc does, right
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* support defining which windows libraries to link with an env var

CRYPTOGRAPHY_WINDOWS_LIBRARIES is your new friend

* add some docs

* change to CRYPTOGRAPHY_WINDOWS_LINK_OPENSSL110

* lib prefixing is not a thing msvc does, right
</pre>
</div>
</content>
</entry>
<entry>
<title>New osrandom_engine in C (#3229)</title>
<updated>2016-12-09T16:02:26+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2016-12-09T16:02:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=2e717761c364398dd81a3221d724369ebd74db43'/>
<id>2e717761c364398dd81a3221d724369ebd74db43</id>
<content type='text'>
* New osrandom_engine in C

Inspired by Python/random.c and the old implementation.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* osrandom_engine

* Fix naming bug caused by search 'n replace mistake
* Make it easier to override osrandom auto-detection
* Add engine ctrl and backend API to get implementation from ENGINE

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Better test coverage, documentation, LICENSE

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Coverage is hard.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* * enable win32 check
* read() returns size_t

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Add macOS to spelling list. Remove dead code from header file.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* remove CCRandomGenerateBytes path and update getentropy to work on macOS

This change allows us to test all the engines in our CI:
* getentropy (tested by macOS sierra)
* getrandom (tested on several linux builders)
* /dev/urandom (tested on FreeBSD, OS X 10.11 and below, &amp; older linux)
* CryptGenRandom (tested on windows builders)

I also fixed bugs preventing compilation in the getentropy code

* getentropy() returns int and is restricted to 256 bytes on macOS, too.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* add versionadded

* Re-add import of os module

* Fixes related to Alex's recent review.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Add error reporting and fail for EAGAIN

Add error reporting strings for various error cases. This gives us much
nicer and understandable error messages.

SYS_getrandom() EAGAIN is now an error. Cryptography refuses to
initialize its osrandom engine when the Kernel's CPRNG hasn't been
seeded yet.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* New osrandom_engine in C

Inspired by Python/random.c and the old implementation.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* osrandom_engine

* Fix naming bug caused by search 'n replace mistake
* Make it easier to override osrandom auto-detection
* Add engine ctrl and backend API to get implementation from ENGINE

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Better test coverage, documentation, LICENSE

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Coverage is hard.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* * enable win32 check
* read() returns size_t

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Add macOS to spelling list. Remove dead code from header file.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* remove CCRandomGenerateBytes path and update getentropy to work on macOS

This change allows us to test all the engines in our CI:
* getentropy (tested by macOS sierra)
* getrandom (tested on several linux builders)
* /dev/urandom (tested on FreeBSD, OS X 10.11 and below, &amp; older linux)
* CryptGenRandom (tested on windows builders)

I also fixed bugs preventing compilation in the getentropy code

* getentropy() returns int and is restricted to 256 bytes on macOS, too.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* add versionadded

* Re-add import of os module

* Fixes related to Alex's recent review.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

* Add error reporting and fail for EAGAIN

Add error reporting strings for various error cases. This gives us much
nicer and understandable error messages.

SYS_getrandom() EAGAIN is now an error. Cryptography refuses to
initialize its osrandom engine when the Kernel's CPRNG hasn't been
seeded yet.

Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation with MinGW (#3191)</title>
<updated>2016-10-10T13:57:03+00:00</updated>
<author>
<name>Saúl Ibarra Corretgé</name>
<email>saghul@gmail.com</email>
</author>
<published>2016-10-10T13:57:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=cce16ca4b1ee846589cee01a405351dab5a40466'/>
<id>cce16ca4b1ee846589cee01a405351dab5a40466</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add OPENSSL_config binding (#2972) (#2974)</title>
<updated>2016-07-13T23:41:07+00:00</updated>
<author>
<name>Anton</name>
<email>anton.gladkov@gmail.com</email>
</author>
<published>2016-07-13T23:41:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=c0f5a8272988c7b93b301d2b3a53cd6f1a350dff'/>
<id>c0f5a8272988c7b93b301d2b3a53cd6f1a350dff</id>
<content type='text'>
&gt;&gt;&gt; lib.EVP_get_digestbyname(b'md_gost94')
&lt;cdata 'EVP_MD *' NULL&gt;
&gt;&gt;&gt; lib.OPENSSL_config(ffi.NULL)
&gt;&gt;&gt; lib.EVP_get_digestbyname(b'md_gost94')
&lt;cdata 'EVP_MD *' 0x10adc7440&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&gt;&gt;&gt; lib.EVP_get_digestbyname(b'md_gost94')
&lt;cdata 'EVP_MD *' NULL&gt;
&gt;&gt;&gt; lib.OPENSSL_config(ffi.NULL)
&gt;&gt;&gt; lib.EVP_get_digestbyname(b'md_gost94')
&lt;cdata 'EVP_MD *' 0x10adc7440&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Use a series of constants for OpenSSL version checks (#3037)</title>
<updated>2016-07-11T21:03:13+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2016-07-11T21:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=3e3444fa96a3fa911e99e1c12f1a0d859563ce2c'/>
<id>3e3444fa96a3fa911e99e1c12f1a0d859563ce2c</id>
<content type='text'>
* Use a series of constants for OpenSSL version checks.

N.B. I removed several qualifiers that were being used to express beta vs. release in OpenSSL version numbers. Reviewers please look closely!

* Convert some python as well, also add the file

* flake8

* Simplify code, remove functionality that can be expressed more simply

* clean up the tests as well

* more constants

* wrap long lines

* reflect feedback

* unused

* add this back?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use a series of constants for OpenSSL version checks.

N.B. I removed several qualifiers that were being used to express beta vs. release in OpenSSL version numbers. Reviewers please look closely!

* Convert some python as well, also add the file

* flake8

* Simplify code, remove functionality that can be expressed more simply

* clean up the tests as well

* more constants

* wrap long lines

* reflect feedback

* unused

* add this back?
</pre>
</div>
</content>
</entry>
<entry>
<title>simplify the macro def check</title>
<updated>2016-03-29T02:13:24+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2016-03-29T02:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=2e10ea4650c3c9ff0ce6881083c84945326122c8'/>
<id>2e10ea4650c3c9ff0ce6881083c84945326122c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix libressl breakage reported in #2858</title>
<updated>2016-03-29T02:00:00+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2016-03-29T02:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=1e88d741f6e15d9170466a08dfe85f28b12c7623'/>
<id>1e88d741f6e15d9170466a08dfe85f28b12c7623</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
