]> Cypherpunks repositories - gostls13.git/commit
debug/buildinfo: base64-encode test binaries
authorMichael Pratt <mpratt@google.com>
Thu, 20 Feb 2025 19:42:19 +0000 (14:42 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 20 Feb 2025 22:20:00 +0000 (14:20 -0800)
commitaf00524a6c1660e6a66fd975921df40ac1c3a415
tree239b6c009f60b19fdd5eabc7458eaea1e62f1aa0
parent3b25b3c195fd2aeb01ab23ba6e15a48199a218fb
debug/buildinfo: base64-encode test binaries

Overzealous security scanners don't like the Go 1.17 binary because they
think it has every 1.17 security vulnerability. base64-encode the binary
to hide from them.

I've also extended the instructions to make the binary easier to
reproduce.

Since we do the Go binary, we might as well do the C binary too, as it
apparently makes some virus scanners unhappy.

Fixes #71753.
For #71734.
For #71821.

Change-Id: I6a6a636cccbf5312522f52f27f74eded64048fb7
Reviewed-on: https://go-review.googlesource.com/c/go/+/651175
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/debug/buildinfo/buildinfo_test.go
src/debug/buildinfo/testdata/go117 [deleted file]
src/debug/buildinfo/testdata/go117/README.md [new file with mode: 0644]
src/debug/buildinfo/testdata/go117/go.mod [new file with mode: 0644]
src/debug/buildinfo/testdata/go117/go117.base64 [new file with mode: 0644]
src/debug/buildinfo/testdata/go117/main.go [new file with mode: 0644]
src/debug/buildinfo/testdata/notgo [deleted file]
src/debug/buildinfo/testdata/notgo/README.md [new file with mode: 0644]
src/debug/buildinfo/testdata/notgo/main.c [new file with mode: 0644]
src/debug/buildinfo/testdata/notgo/notgo.base64 [new file with mode: 0644]