<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cryptography.git/src/_cffi_src/openssl/err.py, branch 2.5</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>bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test (#4726)</title>
<updated>2019-01-22T03:17:19+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2019-01-22T03:17:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=5b3e735253d4cc1c7f51dedc11c9ca5eeb6f451f'/>
<id>5b3e735253d4cc1c7f51dedc11c9ca5eeb6f451f</id>
<content type='text'>
* bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test

This will allow OpenSSL 1.1.1 on 32-bit (including our Windows 32-bit
builders) to fail as expected. Technically this isn't a malloc error,
but rather failing because the allocation requested is larger than
32-bits, but raising a MemoryError still seems appropriate

* what you want an endif too?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test

This will allow OpenSSL 1.1.1 on 32-bit (including our Windows 32-bit
builders) to fail as expected. Technically this isn't a malloc error,
but rather failing because the allocation requested is larger than
32-bits, but raising a MemoryError still seems appropriate

* what you want an endif too?
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise MemoryError when backend.derive_scrypt can't malloc enough (#4592)</title>
<updated>2018-12-09T01:15:51+00:00</updated>
<author>
<name>Tux</name>
<email>tuxxy@users.noreply.github.com</email>
</author>
<published>2018-12-09T01:15:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=fbbd54fe017717706ffe48b168ff0639e88f4b43'/>
<id>fbbd54fe017717706ffe48b168ff0639e88f4b43</id>
<content type='text'>
* Raise MemoryError when backend.derive_scrypt can't malloc enough

* Expose ERR_R_MALLOC_FAILURE and use the reason_match pattern to catch it

* Add test_scrypt_malloc_failure in test_scrypt

* let's see if this passes

* add comment to filippo's blog post about scrypt's params
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Raise MemoryError when backend.derive_scrypt can't malloc enough

* Expose ERR_R_MALLOC_FAILURE and use the reason_match pattern to catch it

* Add test_scrypt_malloc_failure in test_scrypt

* let's see if this passes

* add comment to filippo's blog post about scrypt's params
</pre>
</div>
</content>
</entry>
<entry>
<title>bind a constant for an error check (#4514)</title>
<updated>2018-10-24T01:21:48+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2018-10-24T01:21:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=6345364bbd96cae93939d88c4bdfc2a3854d2f82'/>
<id>6345364bbd96cae93939d88c4bdfc2a3854d2f82</id>
<content type='text'>
I hate it when we have to do this.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I hate it when we have to do this.</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup unused err bindings. (#4246)</title>
<updated>2018-05-16T01:32:05+00:00</updated>
<author>
<name>David Benjamin</name>
<email>davidben@davidben.net</email>
</author>
<published>2018-05-16T01:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=18370510b5ea1cfeec514b7662b61ac7ebfb33d5'/>
<id>18370510b5ea1cfeec514b7662b61ac7ebfb33d5</id>
<content type='text'>
This removes:

- ERR_get_state which really shouldn't be public API.

- A bunch of functions that are really mostly useful within the library
  to add new errors. NB: I say mostly because they are also useful when
  trying to register a new error library, as osrandom does, but osrandom
  is written in C. Python code is more likely to be consuming errors.

- All function codes but EVP_F_EVP_ENCRYPTFINAL_EX because tests still
  reference it. Per PR #3609, function codes are kind of unstable. This
  finishes that up and cleans up the bindings.

- The "line" versions of querying the error queue, just because no one
  seems to be using them and there's a lot.

- Error-printing functions, which make less sense in Python since you'd
  probably wrap in an exception.

Error codes probably could also do with cleaning, but I've left them
alone for now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes:

- ERR_get_state which really shouldn't be public API.

- A bunch of functions that are really mostly useful within the library
  to add new errors. NB: I say mostly because they are also useful when
  trying to register a new error library, as osrandom does, but osrandom
  is written in C. Python code is more likely to be consuming errors.

- All function codes but EVP_F_EVP_ENCRYPTFINAL_EX because tests still
  reference it. Per PR #3609, function codes are kind of unstable. This
  finishes that up and cleans up the bindings.

- The "line" versions of querying the error queue, just because no one
  seems to be using them and there's a lot.

- Error-printing functions, which make less sense in Python since you'd
  probably wrap in an exception.

Error codes probably could also do with cleaning, but I've left them
alone for now.</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #4058 -- use the thread-safe API from OpenSSL, not the danger one (#4059)</title>
<updated>2017-12-18T15:24:17+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2017-12-18T15:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=5db4e5e77ee40521cd732058262e228be4430588'/>
<id>5db4e5e77ee40521cd732058262e228be4430588</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>Ec is a thing (#3453)</title>
<updated>2017-03-15T20:56:39+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2017-03-15T20:56:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=5b8914a0524d4dc3539265f8ccf9909d053787b7'/>
<id>5b8914a0524d4dc3539265f8ccf9909d053787b7</id>
<content type='text'>
* We always have EC

* We always have ECDH

* We always have ECDSA

* We always have EC codes

* This can go as well

* And this

* unused import
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* We always have EC

* We always have ECDH

* We always have ECDSA

* We always have EC codes

* This can go as well

* And this

* unused import
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ASN1_F_ASN1_CHECK_TLEN (#3414)</title>
<updated>2017-02-22T01:52:46+00:00</updated>
<author>
<name>Aviv Palivoda</name>
<email>palaviv@gmail.com</email>
</author>
<published>2017-02-22T01:52:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=b1d5b32bfd9634fd628b194585d0899ebc7db72b'/>
<id>b1d5b32bfd9634fd628b194585d0899ebc7db72b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add error codes and ERR_get_state for pypy stdlib ssl (#3256)</title>
<updated>2016-11-19T14:01:30+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2016-11-19T14:01:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=e07ac94c7d8c41286ccd171e6c7bffb2e0154bcd'/>
<id>e07ac94c7d8c41286ccd171e6c7bffb2e0154bcd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add two error codes for pypy ssl stdlib (#3253)</title>
<updated>2016-11-19T06:25:25+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2016-11-19T06:25:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=10a602f62248482674a8c758e4266797bd132616'/>
<id>10a602f62248482674a8c758e4266797bd132616</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
