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

There is no way to verify the binary #101

Closed
darthdeus opened this issue Feb 16, 2015 · 8 comments
Closed

There is no way to verify the binary #101

darthdeus opened this issue Feb 16, 2015 · 8 comments
Milestone

Comments

@darthdeus
Copy link

I know this might seem paranoid, but if the only way to get websocketd is to download a binary over HTTP ...

@asergeyev
Copy link
Collaborator

Good point, next release should have CHECKSUMS file.

@asergeyev asergeyev added this to the 0.2.10 milestone Feb 16, 2015
@joewalnes
Copy link
Owner

Can anyone recommend good practices for this?

@asergeyev
Copy link
Collaborator

For now I think we can have at least some checksums released with binaries. We can add signature by one of our PGP keys but it would solve complete paranoia when any of our machines (as builders of binaries) are infected by something.

Only recepie here is to inspect sources and build yourself.

@joewalnes
Copy link
Owner

Sounds good. Can you incorporate all the necessary signing tasks into the release/Makefile. We'll share the keys ourselves privately of course.

@darthdeus
Copy link
Author

Checksums are definitely good enough. +1

@asergeyev How can I build websocketd? I'm not really that familiar with Go development tools, so not sure what to install or how to properly compile it.

@asergeyev
Copy link
Collaborator

I guess you'll end up with stuff that you don't need this way but we have release makefile that could be helpful:

git clone https://github.com/joewalnes/websocketd
cd websocketd/release
# you may also do 
git pull --tags 
make binaries

Then you should get out/0.2.10 dir with bunch of cross-compiled things. You might reduce number of things that it would built by changing PLATFORMS variable in Makefile or in command line... e.g:

make binaries PLATFORMS=linux_amd64
make binaries PLATFORMS=darwin_amd64
make binaries PLATFORMS=windows_amd64

@asergeyev
Copy link
Collaborator

See also CHECKSUMS in pre-release https://github.com/joewalnes/websocketd/releases/tag/v0.2.10 (not yet signed, subject to change)

@asergeyev
Copy link
Collaborator

Ok, signed checksums will be available. No promises about signing with same key made but it's verifiable now.

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