mirror of
https://github.com/cloudflare/redoctober.git
synced 2025-12-23 06:15:45 +00:00
move GODEBUG from code to readme
This commit is contained in:
1
.github/workflows/go.yml
vendored
1
.github/workflows/go.yml
vendored
@@ -5,7 +5,6 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GOFLAGS: "-mod=vendor"
|
||||
GODEBUG: x509ignoreCN=0
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
16
README.md
16
README.md
@@ -10,21 +10,9 @@ encryption and decryption server.
|
||||
[](https://github.com/cloudflare/redoctober/actions/workflows/go.yml)
|
||||
[](http://codecov.io/github/cloudflare/redoctober?branch=master)
|
||||
|
||||
This project requires [Go 1.16](http://golang.org/doc/install#download)
|
||||
or later to compile. Verify your go version by running `go version`:
|
||||
Note: `GODEBUG=x509ignoreCN=0` must be set during runtime (#204)
|
||||
|
||||
$ go version
|
||||
go version go1.4
|
||||
|
||||
As with any Go program you do need to set the
|
||||
[GOPATH environment variable](http://golang.org/doc/code.html#GOPATH)
|
||||
accordingly. With Go set up you can download and compile sources:
|
||||
|
||||
$ go get github.com/cloudflare/redoctober
|
||||
|
||||
And run the tests:
|
||||
|
||||
$ go test github.com/cloudflare/redoctober...
|
||||
This project requires [Go 1.16](http://golang.org/doc/install#download) or later to compile.
|
||||
|
||||
## Running
|
||||
|
||||
|
||||
@@ -109,7 +109,6 @@ func registerCli() {
|
||||
//go:generate go run generate.go
|
||||
|
||||
func main() {
|
||||
os.Setenv("GODEBUG", "x509ignoreCN=0") // need to keep using go1.16
|
||||
registerCli()
|
||||
var err error
|
||||
if confFile != "" {
|
||||
|
||||
@@ -84,7 +84,6 @@ func init() {
|
||||
}
|
||||
|
||||
func setup(t *testing.T) (cmd *exec.Cmd) {
|
||||
os.Setenv("GODEBUG", "x509ignoreCN=0")
|
||||
const maxAttempts = 5
|
||||
|
||||
// Look for the redoctober binary in current directory and then in $GOPATH/bin
|
||||
|
||||
Reference in New Issue
Block a user