Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: unable to get x/crypto with go get #34120

Open
osok opened this issue Sep 5, 2019 · 4 comments

Comments

@osok
Copy link

commented Sep 5, 2019

What version of Go are you using (go version)?

$ go version
go version go1.13 darwin/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

$ go get -u golang.org/x/crypto/

What did you expect to see?

nothing

What did you see instead?

package golang.org/x/crypto: unrecognized import path "golang.org/x/crypto" (https fetch: Get https://golang.org/x/crypto?go-get=1: EOF)

@heschik

This comment has been minimized.

Copy link
Contributor

commented Sep 5, 2019

What happens if you visit that URL in a browser or using curl?

@andybons andybons changed the title unable to get with go get cmd/go: unable to get x/crypto with go get Sep 11, 2019

@osok

This comment has been minimized.

Copy link
Author

commented Sep 11, 2019

It forwards me to the docs page. My assumption is that this was the correct place to put an issue that I was not able to get the crypto library, given it was from golang.org.

@heschik

This comment has been minimized.

Copy link
Contributor

commented Sep 11, 2019

Yes, this is a reasonable place to file an issue, but I don't know how to help you. Perhaps there's something extra in your browser's configuration that allows it to contact golang.org, or something in your Go environment that breaks it.

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Sep 11, 2019

I have no idea why you are seeing that particular error.

But go get golang.org/x/crypto is not expected to work as that package does not exist. There are a number of packages under x/crypto, as can be seen at https://godoc.org/golang.org/x/crypto. But x/crypto is not itself a package. What happens if you try, say, go get golang.org/x/crypto/blowfish?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.