commit | b8291f83a1461693a5f58c772bdcd754cd78e045 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Mon Feb 10 15:49:28 2025 +0100 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 13 10:12:55 2025 -0800 |
tree | e1a38629a2aaa9de3a95a7a310b1bf322f4fefce | |
parent | d820bb61007d6a6fe3a06c1e3a501492244914a9 [diff] |
Add ".git" hint to Go module name Currently, trying to "go install" something from BoringSSL's Go module fails because the proxy-reachable name is boringssl.googlesource.com/boringssl.git, but the go.mod name is boringssl.googlesource.com/boringssl. $ go install -v boringssl.googlesource.com/boringssl.git/util/fipstools/acvp/acvptool@master go: downloading boringssl.googlesource.com/boringssl.git v0.0.0-20250122182937-e056f59c7dfd go: boringssl.googlesource.com/boringssl.git/util/fipstools/acvp/acvptool@master: version constraints conflict: boringssl.googlesource.com/boringssl.git@v0.0.0-20250122182937-e056f59c7dfd: parsing go.mod: module declares its path as: boringssl.googlesource.com/boringssl but was required as: boringssl.googlesource.com/boringssl.git Using boringssl.googlesource.com/boringssl fails because without the .git hint, the go tool will fetch https://boringssl.googlesource.com/boringssl/util/fipstools/acvp/acvptool?go-get=1 which is not implemented by gitiles. Adding .git to the module name makes the first command work. Change-Id: I6a6a4656a34fac424114a5d65d23df677ca7de47 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/76107 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: Bob Beck <bbe@google.com> Reviewed-by: Bob Beck <bbe@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: