Closed psagers closed 8 years ago
To handle Python 2 and 3 you can add:
from asn1crypto import pem
and then check the result with:
self.assertTrue(pem.detect(pem_serialized))
Also, thanks for the fix!
That does sound like a better test. I would run tox if it were set up.
This is included in version 0.14.2, FYI
An indentation error in asymmetric.dump_private_key() causes PEM encoding to be skipped when there's no password.