We currently rename import paths for github.com/henrydcase/nobs and github.com/cloudflare/sidh from github.com to github_com to avoid errors such as:
can't load package: .../crypto/tls/13.go:24:2: non-standard import "github.com/cloudflare/sidh/sidh" in standard package "crypto/tls"
Since Go 1.13, non-standard import paths in $GOROOT/src are resolved with the vendor directory in $GOROOT/src/vendor, see https://github.com/golang/go/commit/fd080ea3bcc2, so this rename can be undone.
For Go 1.12 and before, we might have to find an alternative solution. Right now some projects that use go build -mod=vendor fail with:
make: Nothing to be done for 'go'.
.../_dev/GOROOT/linux_amd64/src/crypto/tls/13.go:24:2: cannot find package "." in:
<other project>/vendor/github_com/cloudflare/sidh/sidh
.../_dev/GOROOT/linux_amd64/src/crypto/tls/13.go:25:2: cannot find package "." in:
<other project>/vendor/github_com/cloudflare/sidh/sike
Addressing this issue potentially fixes #175 as well.
We currently rename import paths for github.com/henrydcase/nobs and github.com/cloudflare/sidh from github.com to github_com to avoid errors such as:
Since Go 1.13, non-standard import paths in
$GOROOT/src
are resolved with the vendor directory in$GOROOT/src/vendor
, see https://github.com/golang/go/commit/fd080ea3bcc2, so this rename can be undone.For Go 1.12 and before, we might have to find an alternative solution. Right now some projects that use
go build -mod=vendor
fail with:Addressing this issue potentially fixes #175 as well.