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

src/golang.org/x/crypto/ssh/cipher.go:245: undefined: cipher.AEAD #9

Open
tommics opened this issue May 11, 2015 · 5 comments
Open

Comments

@tommics
Copy link

tommics commented May 11, 2015

when trying to compile on debian wheezy:

make
GOPATH=`pwd` go build -o rtop src/*.go
# golang.org/x/crypto/ssh
src/golang.org/x/crypto/ssh/cipher.go:245: undefined: cipher.AEAD
make: *** [rtop] Error 2
@mdevan
Copy link
Contributor

mdevan commented May 11, 2015

What's the version of go you're using? (output of "go version")

@tommics
Copy link
Author

tommics commented May 11, 2015

go version go1.0.2

@mdevan
Copy link
Contributor

mdevan commented May 11, 2015

You'll need at least go1.2 where crypto/cipher#AEAD was introduced.

You should try wheezy-backports (go1.3.3), or even better just build go from source and use.

@ghost
Copy link

ghost commented May 12, 2015

tommics—did you get this resolved? I'm having the same issue.

@davetoxa
Copy link

does not work too

davetoxa@workandplay:~/rtop$ go version
go version go1.1.2 linux/386
davetoxa@workandplay:~/rtop$ make
GOPATH=`pwd` go build -o rtop src/*.go
# golang.org/x/crypto/ssh
src/golang.org/x/crypto/ssh/cipher.go:245: undefined: cipher.AEAD
src/golang.org/x/crypto/ssh/cipher.go:257: undefined: cipher.NewGCM
make: *** [rtop] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants