Skip to content

Commit 64ea1ad

Browse files
committed
cmd/go/internal/get: add -insecure deprecation to release notes
Updates #37519.
1 parent 23573d0 commit 64ea1ad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/go1.16.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ <h3 id="go-command">Go command</h3>
7474
that is still considered to be a passing test.
7575
</p>
7676

77+
<p><!-- golang.org/issue/37519 -->
78+
The <code>go get -insecure</code> flag is deprecated and will be removed
79+
in a future version. The <code>GOINSECURE</code> environment variable is
80+
usually a better alternative, since it provides control over which modules
81+
may be retrieved using an insecure scheme. It should be noted that the
82+
<code>-insecure</code> flag also turns the module checksum validation off.
83+
<code>GOINSECURE</code>does not do that, use <code>GONOSUMDB</code>.
84+
</p>
85+
7786
<h4 id="all-pattern">The <code>all</code> pattern</h4>
7887

7988
<p><!-- golang.org/cl/240623 -->

0 commit comments

Comments
 (0)