django-x509 icon indicating copy to clipboard operation
django-x509 copied to clipboard

Use of pyOpenSSL (upgrade to cryptography)

Open davidjmemmett opened this issue 2 years ago • 3 comments

Hi,

I've just started playing around with django-x509, and it does exactly what is says on the tin; thank you very much for providing this library!

I'd like to be able to specify multiple OUs for certificates, however this does not appear to be supported by pyOpenSSL. In addition, pyOpenSSL has been deprecated for some time by the maintainers and recommends that users migrate over to the cryptography library, which incidentally does support multiple OUs.

davidjmemmett avatar Oct 07 '22 11:10 davidjmemmett

(Before anybody suggests it, I'm not part of any hacktoberfest malarkey, I'm an actual user of this library!)

davidjmemmett avatar Oct 07 '22 11:10 davidjmemmett

@davidjmemmett thanks for reporting this, we are not aware of the deprecation, can you point out in which communication was this information published by pyOpenSSL? As long as we maintain backward compatibility I don't see a problem in migrating to the cryptography lib if that's the way to go for the future.

nemesifier avatar Oct 07 '22 14:10 nemesifier

Hi @nemesisdesign,

As per the opening paragraph on pyOpenSSL's README, and according to the history of said file, it's been deprecated since ~16th May 2018.

davidjmemmett avatar Oct 07 '22 14:10 davidjmemmett