• Adam Langley's avatar
    crypto/x509: check EKUs like 1.9. · 7d61ad25
    Adam Langley authored
    This change brings back the EKU checking from 1.9. In 1.10, we checked
    EKU nesting independent of the requested EKUs so that, after verifying a
    certifciate, one could inspect the EKUs in the leaf and trust them.
    
    That, however, was too optimistic. I had misunderstood that the PKI was
    /currently/ clean enough to require that, rather than it being
    desirable. Go generally does not push the envelope on these sorts of
    things and lets the browsers clear the path first.
    
    Fixes #24590
    
    Change-Id: I18c070478e3bbb6468800ae461c207af9e954949
    Reviewed-on: https://go-review.googlesource.com/113475Reviewed-by: 's avatarFilippo Valsorda <filippo@golang.org>
    7d61ad25
Name
Last commit
Last update
..
pkix Loading commit data...
testdata Loading commit data...
cert_pool.go Loading commit data...
example_test.go Loading commit data...
name_constraints_test.go Loading commit data...
pem_decrypt.go Loading commit data...
pem_decrypt_test.go Loading commit data...
pkcs1.go Loading commit data...
pkcs8.go Loading commit data...
pkcs8_test.go Loading commit data...
root.go Loading commit data...
root_bsd.go Loading commit data...
root_cgo_darwin.go Loading commit data...
root_darwin.go Loading commit data...
root_darwin_arm_gen.go Loading commit data...
root_darwin_armx.go Loading commit data...
root_darwin_test.go Loading commit data...
root_js.go Loading commit data...
root_linux.go Loading commit data...
root_nacl.go Loading commit data...
root_nocgo_darwin.go Loading commit data...
root_plan9.go Loading commit data...
root_solaris.go Loading commit data...
root_unix.go Loading commit data...
root_unix_test.go Loading commit data...
root_windows.go Loading commit data...
sec1.go Loading commit data...
sec1_test.go Loading commit data...
sha2_windows_test.go Loading commit data...
test-file.crt Loading commit data...
verify.go Loading commit data...
verify_test.go Loading commit data...
x509.go Loading commit data...
x509_test.go Loading commit data...
x509_test_import.go Loading commit data...