openwisp / django-x509

Reusable django app implementing x509 PKI certificates management
http://openwisp.org
BSD 3-Clause "New" or "Revised" License
340 stars 69 forks source link

Use of pyOpenSSL (upgrade to cryptography) #131

Open davidjmemmett opened 2 years ago

davidjmemmett commented 2 years ago

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 commented 2 years ago

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

nemesifier commented 2 years ago

@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.

davidjmemmett commented 2 years ago

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.