<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cryptography.git/tests/utils.py, branch alex-patch-1</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>Use pyo3's facilities for exceptions (#8785)</title>
<updated>2023-04-22T19:32:59+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2023-04-22T19:32:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=2ca57be0c4845d40992cbe7d13435df552e631f0'/>
<id>2ca57be0c4845d40992cbe7d13435df552e631f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove coverage workaround that might not be required anymore (#8690)</title>
<updated>2023-04-09T21:48:42+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2023-04-09T21:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=122211bb457a86f6588deb40242869449077d8e5'/>
<id>122211bb457a86f6588deb40242869449077d8e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cache ECDH values in wycheproof too (#8487)</title>
<updated>2023-03-10T12:31:10+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2023-03-10T12:31:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=ce05282e58f95e279cd81b94017484a4f9a1a0de'/>
<id>ce05282e58f95e279cd81b94017484a4f9a1a0de</id>
<content type='text'>
this alters and renames the caching function a bit since it caches *to
the group* object but the actual values (in ECDH) come from the testcase
itself</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this alters and renames the caching function a bit since it caches *to
the group* object but the actual values (in ECDH) come from the testcase
itself</pre>
</div>
</content>
</entry>
<entry>
<title>Cache some keys that are reused in wycheproof tests (#8479)</title>
<updated>2023-03-09T21:17:42+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2023-03-09T21:17:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=31f0dcabdafbef6214d78f56f7a31f56caeeb568'/>
<id>31f0dcabdafbef6214d78f56f7a31f56caeeb568</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the ruff 'pyupgrade' checks (#8104)</title>
<updated>2023-01-19T21:36:01+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2023-01-19T21:36:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=5d3db676cf6f94228910acfc721f57b73bf79908'/>
<id>5d3db676cf6f94228910acfc721f57b73bf79908</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch from flake8 to ruff (#7920)</title>
<updated>2022-12-21T02:44:47+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2022-12-21T02:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=7ff729ecf2ffeffc8442811a7ad5c8a9ab24351c'/>
<id>7ff729ecf2ffeffc8442811a7ad5c8a9ab24351c</id>
<content type='text'>
It's more than 60x faster.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's more than 60x faster.</pre>
</div>
</content>
</entry>
<entry>
<title>KBKDF: add CounterLocation.MiddleFixed (#7489)</title>
<updated>2022-08-15T12:19:12+00:00</updated>
<author>
<name>Jean Paul Galea</name>
<email>jp@galea.se</email>
</author>
<published>2022-08-15T12:19:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=da1a30b4ea93e659f17021dc21a7fe88f8eecdb1'/>
<id>da1a30b4ea93e659f17021dc21a7fe88f8eecdb1</id>
<content type='text'>
* KBKDF: add CounterLocation.MiddleFixed

* tests_kbkdf: add new tests

- Test CounterLocation.MiddleFixed and blocation=

* test_kbkdf_vectors: make use of MIDDLE_FIXED

* docs: document KBKDF CounterLocation.MiddleFixed

* s/blocation/break_location/g

* CHANGELOG: document KBKDF{HMAC,CMAC} CounterLocation.MiddleFixed #7489

* kbkdf: fixed is static across n iterations, only the counter changes

* kbkdf: check break_location is 0..len(fixed)

- Update tests to assert exception is raised when
    break_location &lt; 0 or &gt; len(fixed)

- When asserting for "break_location is ignored when MiddleFixed",
    use break_location=0 instead of =10,
    to ensure we don't raise because of break_location &gt; len(fixed)

- Assert that the right error messages are returned to the user.

* kbkdf: keyword-only break_location

* docs: document kw-only KBKDF{HMAC,CMAC}</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* KBKDF: add CounterLocation.MiddleFixed

* tests_kbkdf: add new tests

- Test CounterLocation.MiddleFixed and blocation=

* test_kbkdf_vectors: make use of MIDDLE_FIXED

* docs: document KBKDF CounterLocation.MiddleFixed

* s/blocation/break_location/g

* CHANGELOG: document KBKDF{HMAC,CMAC} CounterLocation.MiddleFixed #7489

* kbkdf: fixed is static across n iterations, only the counter changes

* kbkdf: check break_location is 0..len(fixed)

- Update tests to assert exception is raised when
    break_location &lt; 0 or &gt; len(fixed)

- When asserting for "break_location is ignored when MiddleFixed",
    use break_location=0 instead of =10,
    to ensure we don't raise because of break_location &gt; len(fixed)

- Assert that the right error messages are returned to the user.

* kbkdf: keyword-only break_location

* docs: document kw-only KBKDF{HMAC,CMAC}</pre>
</div>
</content>
</entry>
<entry>
<title>Remove explicit subclassing of object now that all classes are new-style (#6830)</title>
<updated>2022-01-30T16:29:24+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2022-01-30T16:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=02783d22972f1734e0728b4891f4e52e48913b0d'/>
<id>02783d22972f1734e0728b4891f4e52e48913b0d</id>
<content type='text'>
As someone who first with Python in 2.4 or so, this habit is going to be hard to break.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As someone who first with Python in 2.4 or so, this habit is going to be hard to break.</pre>
</div>
</content>
</entry>
<entry>
<title>Factor some regexps into constants (#6713)</title>
<updated>2021-12-17T22:39:46+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2021-12-17T22:39:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=56efbdd397bf5670d80c3efb87c91748473ac07a'/>
<id>56efbdd397bf5670d80c3efb87c91748473ac07a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix mypy (#6711)</title>
<updated>2021-12-16T20:33:37+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2021-12-16T20:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cryptography.git/commit/?id=422c8cb9557d51e54cfc24cb30035fd357cc154c'/>
<id>422c8cb9557d51e54cfc24cb30035fd357cc154c</id>
<content type='text'>
* Fix mypy

* Poke for GHA</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix mypy

* Poke for GHA</pre>
</div>
</content>
</entry>
</feed>
