<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyopenssl.git/src/OpenSSL/crypto.py, branch main</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>remove X509StoreFlags.NOTIFY_POLICY (#1213)</title>
<updated>2023-04-21T13:06:01+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2023-04-21T13:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=d788a4f1ee2cfe0642ea9e0533bb840077a88ca6'/>
<id>d788a4f1ee2cfe0642ea9e0533bb840077a88ca6</id>
<content type='text'>
* remove X509StoreFlags.NOTIFY_POLICY

fixes #1212

* also fix twisted

* more CI fixes, sigh</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* remove X509StoreFlags.NOTIFY_POLICY

fixes #1212

* also fix twisted

* more CI fixes, sigh</pre>
</div>
</content>
</entry>
<entry>
<title>Reject invalid versions in X509Req.set_version (#1208)</title>
<updated>2023-03-31T20:46:53+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2023-03-31T20:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=f4f77cc4f76e643a050c99b0295facf1900335c4'/>
<id>f4f77cc4f76e643a050c99b0295facf1900335c4</id>
<content type='text'>
* Reject invalid versions in X509Req.set_version

* Update CHANGELOG.rst

Co-authored-by: Paul Kehrer &lt;paul.l.kehrer@gmail.com&gt;

---------

Co-authored-by: Paul Kehrer &lt;paul.l.kehrer@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Reject invalid versions in X509Req.set_version

* Update CHANGELOG.rst

Co-authored-by: Paul Kehrer &lt;paul.l.kehrer@gmail.com&gt;

---------

Co-authored-by: Paul Kehrer &lt;paul.l.kehrer@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>port changelog (#1205)</title>
<updated>2023-03-28T03:49:01+00:00</updated>
<author>
<name>Paul Kehrer</name>
<email>paul.l.kehrer@gmail.com</email>
</author>
<published>2023-03-28T03:49:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=da18a74f9fb50becfae33da80e0184fe56a640ce'/>
<id>da18a74f9fb50becfae33da80e0184fe56a640ce</id>
<content type='text'>
* port changelog

* forward port the nid2sn workaround</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* port changelog

* forward port the nid2sn workaround</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CI (#1185)</title>
<updated>2023-02-13T12:01:47+00:00</updated>
<author>
<name>Maximilian Hils</name>
<email>git@maximilianhils.com</email>
</author>
<published>2023-02-13T12:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=669969ea7afa8a5f5f35a784a50acef9bea3952a'/>
<id>669969ea7afa8a5f5f35a784a50acef9bea3952a</id>
<content type='text'>
* Reformat code using black 23.x

* fix compat with tox 4</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Reformat code using black 23.x

* fix compat with tox 4</pre>
</div>
</content>
</entry>
<entry>
<title>fixes #1173 (#1174)</title>
<updated>2022-12-29T21:15:18+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2022-12-29T21:15:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=30529952a2ce5c9621a69e46cd3863f6e2aab05c'/>
<id>30529952a2ce5c9621a69e46cd3863f6e2aab05c</id>
<content type='text'>
* fixes #1173

make the x509extension docs more clear

* Update crypto.py</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fixes #1173

make the x509extension docs more clear

* Update crypto.py</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CRL nextUpdate handling. (#1169)</title>
<updated>2022-12-16T15:44:52+00:00</updated>
<author>
<name>David Benjamin</name>
<email>davidben@davidben.net</email>
</author>
<published>2022-12-16T15:44:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=d2f0aec1033181ab2f256e78915cdfdccc31b977'/>
<id>d2f0aec1033181ab2f256e78915cdfdccc31b977</id>
<content type='text'>
* Fix CRL nextUpdate handling.

When setting the nextUpdate field of a CRL, this code grabbed the
nextUpdate ASN1_TIME field from the CRL and set its time. But nextUpdate
is optional in a CRL so that field is usually NULL. But OpenSSL's
ASN1_TIME_set_string succeeds when the destination argument is NULL, so
it was silently a no-op.

Given that, the call in a test to set the nextUpdate field suddenly
starts working and sets the time to 2018, thus causing the CRL to be
considered expired and breaking the test. So this change also changes
the expiry year far into the future.

Additionally, the other CRL and Revoked setters violate const in the
API.

Fixes #1168.

* Replace self-check with an assert for coverage

* Update src/OpenSSL/crypto.py

Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;

Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix CRL nextUpdate handling.

When setting the nextUpdate field of a CRL, this code grabbed the
nextUpdate ASN1_TIME field from the CRL and set its time. But nextUpdate
is optional in a CRL so that field is usually NULL. But OpenSSL's
ASN1_TIME_set_string succeeds when the destination argument is NULL, so
it was silently a no-op.

Given that, the call in a test to set the nextUpdate field suddenly
starts working and sets the time to 2018, thus causing the CRL to be
considered expired and breaking the test. So this change also changes
the expiry year far into the future.

Additionally, the other CRL and Revoked setters violate const in the
API.

Fixes #1168.

* Replace self-check with an assert for coverage

* Update src/OpenSSL/crypto.py

Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;

Co-authored-by: Alex Gaynor &lt;alex.gaynor@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some memory leaks in CRL.export (#1170)</title>
<updated>2022-12-16T15:25:14+00:00</updated>
<author>
<name>David Benjamin</name>
<email>davidben@google.com</email>
</author>
<published>2022-12-16T15:25:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=4aae795360be0f8f85df32348bf1a6679b6828ca'/>
<id>4aae795360be0f8f85df32348bf1a6679b6828ca</id>
<content type='text'>
The bio was never freed, or used. sometime is never freed. While I'm
here, check return values for all the functions called here.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bio was never freed, or used. sometime is never freed. While I'm
here, check return values for all the functions called here.</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for X509_V_FLAG_PARTIAL_CHAIN (#1166)</title>
<updated>2022-12-16T00:02:37+00:00</updated>
<author>
<name>vEpiphyte</name>
<email>epiphyte@vertex.link</email>
</author>
<published>2022-12-16T00:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=1cafac4d8fc5301d4e58bedbac45722bf7cdfd32'/>
<id>1cafac4d8fc5301d4e58bedbac45722bf7cdfd32</id>
<content type='text'>
* Add support for X509_V_FLAG_PARTIAL_CHAIN

* Remove unneeded import

* Update changelog to add PR number.

* Fix whitespace issue identified by black</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add support for X509_V_FLAG_PARTIAL_CHAIN

* Remove unneeded import

* Update changelog to add PR number.

* Fix whitespace issue identified by black</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to the new utils.deprecation spelling (#1140)</title>
<updated>2022-08-13T16:11:06+00:00</updated>
<author>
<name>David Benjamin</name>
<email>davidben@google.com</email>
</author>
<published>2022-08-13T16:11:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=a145fc3bc6d2e943434beb2f04bbf9b18930296f'/>
<id>a145fc3bc6d2e943434beb2f04bbf9b18930296f</id>
<content type='text'>
* Switch to the new utils.deprecation spelling

The new spelling was introduced in
https://github.com/pyca/cryptography/pull/6923 and is more friendly to
type checkers.

Version-wise, that PR appears to be in cryptography 37.0.0, which is now
beyond the minimum version for pyOpenSSL.

* reformat</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Switch to the new utils.deprecation spelling

The new spelling was introduced in
https://github.com/pyca/cryptography/pull/6923 and is more friendly to
type checkers.

Version-wise, that PR appears to be in cryptography 37.0.0, which is now
beyond the minimum version for pyOpenSSL.

* reformat</pre>
</div>
</content>
</entry>
<entry>
<title>Make `X509StoreContextError`'s message friendlier (#1133)</title>
<updated>2022-07-07T20:09:16+00:00</updated>
<author>
<name>William Woodruff</name>
<email>william@yossarian.net</email>
</author>
<published>2022-07-07T20:09:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyopenssl.git/commit/?id=65ca53a7a06a7c78c1749200a6b3a007e47d3214'/>
<id>65ca53a7a06a7c78c1749200a6b3a007e47d3214</id>
<content type='text'>
* OpenSSL/crypto: make X509StoreContextError's message friendlier

Closes #1132.

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;

* tests: update exception tests

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;

* OpenSSL/crypto: blacken

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;

* CHANGELOG: record changes

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* OpenSSL/crypto: make X509StoreContextError's message friendlier

Closes #1132.

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;

* tests: update exception tests

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;

* OpenSSL/crypto: blacken

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;

* CHANGELOG: record changes

Signed-off-by: William Woodruff &lt;william@trailofbits.com&gt;</pre>
</div>
</content>
</entry>
</feed>
