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

[change] WIP: drop pyopenssl in favour of cryptography #131

Open nemesifier opened this issue 8 months ago • 3 comments

Aims to close #131 Close #162 Close #163 Close #174

nemesifier avatar Apr 11 '25 21:04 nemesifier

I made a start this morning on fixing some of the tests: https://github.com/davidjmemmett/django-x509/commits/PR178-fix-tests/ - this is far from complete, but I'll keep working on this in my spare time until as many of the tests are fixed (or rewritten) as I can get through.

I don't suppose the latest changes from the master branch would merge into this branch easily? It'd make it easier to merge later on

davidjmemmett avatar May 24 '25 19:05 davidjmemmett

I'm struggling with django_x509.tests.test_cert.TestCert.test_extensions; I even went as far as re-implementing the part where it adds UnrecognizedExtension, but I couldn't get it working.

What version of cryptography has ExtensionOID._map?

davidjmemmett avatar May 25 '25 09:05 davidjmemmett

I've opened a Pull Request to add some tests for these changes - there are a few which are still broken, but it'll require someone with much more experience with both cryptography and django-x509 than myself.

I hope this helps. Cheers, David

davidjmemmett avatar May 25 '25 11:05 davidjmemmett