You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by Branko Čibej <br...@apache.org> on 2018/11/02 07:12:33 UTC

Re: [patch] create_certs.py compatibility with pyOpenSSL >= 17.1.0

On 26.10.2018 14:25, Branko Čibej wrote:
> On 24.10.2018 05:20, James McCoy wrote:
>> Starting in 17.1.0, the OpenSSL.crypto.CRL.export() fuction requires the
>> caller to specify the digest type, after a few years of not specifying
>> one being a deprecation warning.  Since this is just used for tests, I
>> kept the old default of md5.
> On the lastest macOS, which ships with Python 2.7.10 and pyopenssl 0.13.1:
>
> TypeError: 'digest' is an invalid keyword argument for this function
>
> But it works without the patch. This should be checking the version of
> pyopenssl, I think.

I committed a variant of this patch that supports both flavours of
PyOpenSSL in r1845542.

-- Brane