diff options
author | Manoel Domingues Junior <mdjunior@users.noreply.github.com> | 2015-10-01 14:45:48 -0300 |
---|---|---|
committer | Manoel Domingues Junior <mdjunior@users.noreply.github.com> | 2015-10-01 14:45:48 -0300 |
commit | 0e94257d4396a16efe8ff3170886b80489ea94f8 (patch) | |
tree | 1f9264add210626f05198c4f32d816116d761f24 /tasks.py | |
parent | 61b2f05da921891c588af45b6ab65abbdfe12f8f (diff) | |
download | cryptography-0e94257d4396a16efe8ff3170886b80489ea94f8.tar.gz cryptography-0e94257d4396a16efe8ff3170886b80489ea94f8.tar.bz2 cryptography-0e94257d4396a16efe8ff3170886b80489ea94f8.zip |
Handling path_length when ca is True
Using CertificateBuilder:
builder = builder.add_extension(x509.BasicConstraints(ca=True,path_length=None), critical=True) return TypeError in line 792 because None can't be converted to hex.
In https://tools.ietf.org/html/rfc5280.html#section-4.2.1.9: CAs MUST NOT include the pathLenConstraint field unless the cA boolean is asserted and the key usage extension asserts the keyCertSign bit.
Diffstat (limited to 'tasks.py')
0 files changed, 0 insertions, 0 deletions