aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/driver
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-02-26 00:16:07 -0500
committerRuss Cox <rsc@golang.org>2019-03-07 01:45:06 +0000
commitfe954ea1e28f8ece95ce00d51312ac095071b2d8 (patch)
treef955093fbfb88a396184f61ea8718da7390a45ef /src/database/sql/driver
parenta6436a5655f56bb904871fece7db43a3ad3bf415 (diff)
downloadgo-fe954ea1e28f8ece95ce00d51312ac095071b2d8.tar.xz
cmd/go: add notary simulation and GONOVERIFY support
As an experiment to better understand the impact of having an authoritative source of truth for module hashes before the real notary is available, this CL adds the basic notary authorization checks using a partial whitelist of known go.sum values for popular modules. In addition to the temporary whitelist, this CL adds code implementing $GONOVERIFY, a new 'go help modules-auth', and clearer error messages for verification mismatches. See #25530 for notary proposal. Filed #30601 to remove whitelist when notary lands. Change-Id: Ibcb6ac39c5e60455edf003d8c20af6932aeb7e88 Reviewed-on: https://go-review.googlesource.com/c/go/+/165380 Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/database/sql/driver')
0 files changed, 0 insertions, 0 deletions