Open BrianLakstins opened 10 years ago
You need go 1.2. Install it or you can use docker: https://github.com/kasimon/docker-heartbleed (shameless plug ;) )
I did not find a straightforward way to upgrade to 1.2 (which seems like it should be the easiest thing to do), so I decided to try the instructions from the link you provided. I installed docker. No error messages. The command that wraps bothered me, but didn't cause any error. I did the test: sudo docker run -i -t ubuntu /bin/bash seemed to work. I exited the shell it created. I then tried the next step: sudo docker build -t lakstins/heartbleed git@github.com:kasimon/docker-heartbleed.git and got an error: 2014/04/09 07:48:25 Error trying to use git: exit status 128 (Cloning into '/tmp/docker-build-git599306662'... Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts. Permission denied (publickey). fatal: The remote end hung up unexpectedly )
Not having permission to a public key? Seems like everyone should have permission to a public key.
Please try
sudo docker build -t lakstins/heartbleed https://github.com/kasimon/docker-heartbleed.git
instead. If that works, I'll update the instructions.
2014-04-09 13:55 GMT+02:00 BrianLakstins notifications@github.com:
I did not find a straightforward way to upgrade to 1.2 (which seems like it should be the easiest thing to do), so I decided to try the instructions from the link you provided. I installed docker. No error messages. The command that wraps bothered me, but didn't cause any error. I did the test: sudo docker run -i -t ubuntu /bin/bash seemed to work. I tried the next step: sudo docker build -t lakstins/heartbleed git@github.com :kasimon/docker-heartbleed.git and got an error: 2014/04/09 07:48:25 Error trying to use git: exit status 128 (Cloning into '/tmp/docker-build-git599306662'... Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts. Permission denied (publickey). fatal: The remote end hung up unexpectedly )
Not having permission to a public key? Seems like everyone should have permission to a public key.
Reply to this email directly or view it on GitHubhttps://github.com/FiloSottile/Heartbleed/issues/49#issuecomment-39955280 .
I used the command: sudo docker build -t lakstins/heartbleed https://github.com/kasimon/docker-heartbleed.git and it's doing a whole lot of stuff. Just passed step 5. I'll report back once I get the whole thing working or run into another error.
I ran the test: docker run lakstins/heartbleed github.com:443 and got: 2014/04/09 08:17:58 dial unix /var/run/docker.sock: permission denied so, I tried it with sudo: sudo docker run lakstins/heartbleed github.com:443 and got: 2014/04/09 12:18:22 github.com:443 - SAFE
YAY! Note: I tried creating the alias too, but was getting an errors from the alias command. I added some double quotes and this command worked: alias heartbleed="sudo docker run lakstins/heartbleed"
Looks like upgrading to GO 1.2 would have required following these instructions: http://tumi.fi/installing-go-1-2-on-ubuntu-12-04-lts/ and then these instructions: http://technosophos.com/2013/12/02/go-1-2-on-ubuntu-12-10.html
When I first tried to just upgrade, I only found the second instructions, so it was not working for me.
Nice catch, will fix URL and alias command asap.
2014-04-09 14:24 GMT+02:00 BrianLakstins notifications@github.com:
I ran the test: docker run lakstins/heartbleed github.com:443 and got: 2014/04/09 08:17:58 dial unix /var/run/docker.sock: permission denied so, I tried it with sudo: sudo docker run lakstins/heartbleed github.com:443 and got: 2014/04/09 12:18:22 github.com:443 - SAFE
YAY! Note: I tried creating the alias too, but was getting an errors from the alias command. I added some double quotes and this command worked: alias heartbleed="sudo docker run lakstins/heartbleed"
Reply to this email directly or view it on GitHubhttps://github.com/FiloSottile/Heartbleed/issues/49#issuecomment-39957352 .
I think I'm still missing something. Any idea what it is? I installed go: sudo apt-get install golang-go
then installed git: sudo apt-get install git-core
I try the command: sudo go get github.com/FiloSottile/Heartbleed and get the following:
github.com/davecgh/go-spew/spew
/usr/lib/go/src/pkg/github.com/davecgh/go-spew/spew/dump.go:211: vt.ConvertibleTo undefined (type reflect.Type has no field or method ConvertibleTo) /usr/lib/go/src/pkg/github.com/davecgh/go-spew/spew/dump.go:217: vv.Convert undefined (type reflect.Value has no field or method Convert)
github.com/FiloSottile/Heartbleed/tls
/usr/lib/go/src/pkg/github.com/FiloSottile/Heartbleed/tls/cipher_suites.go:66: undefined: cipher.AEAD /usr/lib/go/src/pkg/github.com/FiloSottile/Heartbleed/tls/cipher_suites.go:133: undefined: cipher.AEAD /usr/lib/go/src/pkg/github.com/FiloSottile/Heartbleed/tls/cipher_suites.go:149: undefined: cipher.AEAD /usr/lib/go/src/pkg/github.com/FiloSottile/Heartbleed/tls/handshake_server.go:556: undefined: crypto.PublicKey /usr/lib/go/src/pkg/github.com/FiloSottile/Heartbleed/tls/tls.go:93: undefined: net.Dialer