go/src
Filippo Valsorda d2cb140194 [release-branch.go1.21] crypto/tls: align FIPS-only mode with BoringSSL policy
This enables TLS 1.3, disables P-521, and disables non-ECDHE suites.

Updates #64717
Updates #62372
Fixes #64719

Change-Id: I3a65b239ef0198bbdbe5e55e0810e7128f90a091
Reviewed-on: https://go-review.googlesource.com/c/go/+/549975
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/553856
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2024-01-04 23:16:07 +00:00
..
archive
arena
bufio
builtin
bytes bytes: remove builders check from compare test 2023-07-13 23:11:42 +00:00
cmd [release-branch.go1.21] cmd/compile: fix escape analysis of string min/max 2023-12-06 21:31:12 +00:00
cmp
compress
container
context [release-branch.go1.21] context: fix synchronization in ExampleAfterFunc_cond 2023-08-24 21:13:14 +00:00
crypto [release-branch.go1.21] crypto/tls: align FIPS-only mode with BoringSSL policy 2024-01-04 23:16:07 +00:00
database/sql
debug
embed
encoding [release-branch.go1.21] encoding/xml: overriding by empty namespace when no new name declaration 2023-08-30 20:17:11 +00:00
errors
expvar
flag
fmt
go [release-branch.go1.21] path/filepath: fix various issues in parsing Windows paths 2023-11-07 16:36:54 +00:00
hash
html [release-branch.go1.21] html/template: properly handle special tags within the script context 2023-09-06 14:20:20 +00:00
image
index/suffixarray
internal [release-branch.go1.21] runtime: add race annotations in IncNonDefault 2024-01-04 21:37:29 +00:00
io
log [release-branch.go1.21] log/slog: fix comment above log levels 2023-07-24 17:02:06 +00:00
maps [release-branch.go1.21] maps: fix aliasing problems with Clone 2024-01-04 21:37:00 +00:00
math math: test large negative values as args for trig functions 2023-07-17 21:05:34 +00:00
mime
net [release-branch.go1.21] net/http: limit chunked data overhead 2023-12-05 17:18:23 +00:00
os [release-branch.go1.21] os/signal: skip nohup tests on darwin builders 2023-12-08 18:47:59 +00:00
path [release-branch.go1.21] path/filepath: consider \\?\c: as a volume on Windows 2023-11-28 16:59:27 +00:00
plugin
reflect
regexp
runtime [release-branch.go1.21] runtime: add race annotations in IncNonDefault 2024-01-04 21:37:29 +00:00
slices
sort
strconv
strings
sync
syscall [release-branch.go1.21] syscall: copy rlimit.go's build constraint to rlimit_test.go 2023-11-07 20:32:49 +00:00
testdata
testing testing/slogtest: check for no group with empty record 2023-07-11 20:08:28 +00:00
text
time time: increase arbitrary upper bound in TestReset to 10s 2023-07-11 13:19:40 +00:00
unicode
unsafe
vendor [release-branch.go1.21] net/http: pull http2 underflow fix from x/net/http2 2023-10-30 21:11:25 +00:00
Make.dist
README.vendor src/README.vendor: s/latest/master/ 2023-07-11 21:30:51 +00:00
all.bash
all.bat
all.rc
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
go.mod [release-branch.go1.21] net/http: pull http2 underflow fix from x/net/http2 2023-10-30 21:11:25 +00:00
go.sum [release-branch.go1.21] net/http: pull http2 underflow fix from x/net/http2 2023-10-30 21:11:25 +00:00
make.bash
make.bat
make.rc
race.bash
race.bat
run.bash
run.bat
run.rc

README.vendor

Vendoring in std and cmd
========================

The Go command maintains copies of external packages needed by the
standard library in the src/vendor and src/cmd/vendor directories.

There are two modules, std and cmd, defined in src/go.mod and
src/cmd/go.mod. When a package outside std or cmd is imported
by a package inside std or cmd, the import path is interpreted
as if it had a "vendor/" prefix. For example, within "crypto/tls",
an import of "golang.org/x/crypto/cryptobyte" resolves to
"vendor/golang.org/x/crypto/cryptobyte". When a package with the
same path is imported from a package outside std or cmd, it will
be resolved normally. Consequently, a binary may be built with two
copies of a package at different versions if the package is
imported normally and vendored by the standard library.

Vendored packages are internally renamed with a "vendor/" prefix
to preserve the invariant that all packages have distinct paths.
This is necessary to avoid compiler and linker conflicts. Adding
a "vendor/" prefix also maintains the invariant that standard
library packages begin with a dotless path element.

The module requirements of std and cmd do not influence version
selection in other modules. They are only considered when running
module commands like 'go get' and 'go mod vendor' from a directory
in GOROOT/src.

Maintaining vendor directories
==============================

Before updating vendor directories, ensure that module mode is enabled.
Make sure that GO111MODULE is not set in the environment, or that it is
set to 'on' or 'auto'.

Requirements may be added, updated, and removed with 'go get'.
The vendor directory may be updated with 'go mod vendor'.
A typical sequence might be:

    cd src
    go get golang.org/x/net@master
    go mod tidy
    go mod vendor

Use caution when passing '-u' to 'go get'. The '-u' flag updates
modules providing all transitively imported packages, not only
the module providing the target package.

Note that 'go mod vendor' only copies packages that are transitively
imported by packages in the current module. If a new package is needed,
it should be imported before running 'go mod vendor'.