aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/x509v3.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-09-26 10:23:24 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2017-09-25 22:23:24 -0400
commit72c92f5ed1a3fe1b5196e0247bbe4cbe5e93c1a7 (patch)
tree2d7c2ddc1174a8185ac1a0d13b4189ae1b70b3ad /src/_cffi_src/openssl/x509v3.py
parent7bb0210ef9e4cd7c822ea3864bd7b18f3877c24b (diff)
downloadcryptography-72c92f5ed1a3fe1b5196e0247bbe4cbe5e93c1a7.tar.gz
cryptography-72c92f5ed1a3fe1b5196e0247bbe4cbe5e93c1a7.tar.bz2
cryptography-72c92f5ed1a3fe1b5196e0247bbe4cbe5e93c1a7.zip
both parse and encode the ASN1 string type for Name attributes (#3896)
* both parse and encode the ASN1 string type for Name attributes Previously cryptography encoded everything (except country names) as UTF8String. This caused problems with chain building in libraries like NSS where the subject and issuer are expected to match byte-for-byte. With this change we now parse and store the ASN1 string type as a private _type in NameAttribute. We then use this to encode when issuing a new certificate. This allows the CertificateBuilder to properly construct an identical issuer and fixes the issue with NSS. * make the sentinel private too
Diffstat (limited to 'src/_cffi_src/openssl/x509v3.py')
0 files changed, 0 insertions, 0 deletions