commit | ef720d2e5d0ee2f4bbf9da82a6af126302084ce8 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Fri Feb 21 18:10:21 2025 -0500 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 27 11:51:26 2025 -0800 |
tree | 4a1112e7adff6516e4e2d6e590390b10cdae14f6 | |
parent | e6fd36993cde9c69fbf496f5b15d4d5f2cbe3862 [diff] |
Iterate on SSL_CREDENTIAL_set_must_match_issuer a bit First, simplify the API a bit: - Just take a boolean param rather than having both set and clear functions. - Unless we need it, no need to bother with a getter. We generally assume that the caller knows what they configured. Next, expand on the docs and move it with other credential APIs, not SSL_PRIVATE_KEY_METHOD. Finally, fix a bug and test this in runner: the TLS 1.2 handshake forgot to check the issuer, which meant that it assumed all credentials were viable. Fix this and add tests to cover it all. In doing so, this pulls in the MustMatchIssuer runner plumbing out of https://boringssl-review.googlesource.com/c/boringssl/+/73087 to land a little sooner. Also test that issuer matching works with delegated credentials. May as well. Change-Id: I22aee148dd81fb9804d80b4243b68a5ecdead480 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/76708 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: David Benjamin <davidben@google.com>
BoringSSL is a fork of OpenSSL that is designed to meet Google's needs.
Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is. We don't recommend that third parties depend upon it. Doing so is likely to be frustrating because there are no guarantees of API or ABI stability.
Programs ship their own copies of BoringSSL when they use it and we update everything as needed when deciding to make API changes. This allows us to mostly avoid compromises in the name of compatibility. It works for us, but it may not work for you.
BoringSSL arose because Google used OpenSSL for many years in various ways and, over time, built up a large number of patches that were maintained while tracking upstream OpenSSL. As Google's product portfolio became more complex, more copies of OpenSSL sprung up and the effort involved in maintaining all these patches in multiple places was growing steadily.
Currently BoringSSL is the SSL library in Chrome/Chromium, Android (but it's not part of the NDK) and a number of other apps/programs.
Project links:
To file a security issue, use the Chromium process and mention in the report this is for BoringSSL. You can ignore the parts of the process that are specific to Chromium/Chrome.
There are other files in this directory which might be helpful: