Closed gholol closed 10 years ago
git clone https://github.com/FiloSottile/Heartbleed.git
cd Heartbleed
# set $GOPATH
go get ./...
go build
./Heartbleed
works for me
still the same issue on Ubuntu 12.04
Does it require go.crypto package?
@gholol it sounds like you're using an out-dated version of Go. The latest version is go1.2.1
https://code.google.com/p/go/downloads/list
Same compilation errors on Ubuntu 13.10 (saucy). I installed golang from official Ubuntu packages: $ go version go version go1.1.2 linux/amd64
@joudinet that version of Go is out-dated (as distro packages usually are)
Go 1.2 is required. Please install Go from source. Now documented thanks to #9
dev@dev:~/Desktop$ go get github.com/titanous/heartbleeder
github.com/titanous/heartbleeder/tls
../dev/Desktop/src/github.com/titanous/heartbleeder/tls/cipher_suites.go:66: undefined: cipher.AEAD ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/cipher_suites.go:133: undefined: cipher.AEAD ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/cipher_suites.go:146: not enough arguments to return ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/cipher_suites.go:149: undefined: cipher.AEAD ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/cipher_suites.go:154: undefined: cipher.NewGCM ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/conn.go:256: undefined: cipher.AEAD ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/conn.go:267: c.Overhead undefined (type interface {} has no field or method Overhead) ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/conn.go:271: c.Open undefined (type interface {} has no field or method Open) ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/conn.go:373: undefined: cipher.AEAD ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/handshake_server.go:556: undefined: crypto.PublicKey ../dev/Desktop/src/github.com/titanous/heartbleeder/tls/conn.go:373: too many errors