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