QtBitcoinTrader icon indicating copy to clipboard operation
QtBitcoinTrader copied to clipboard

sha256 sums for downloads

Open lookfirst opened this issue 6 years ago • 4 comments

I really don't trust downloading a binary from sourceforge and not having sha256 sums for it as well.

Can you please figure out a more secure method of distributing the binaries?

One way would be to use a CI server to build the binary and have it upload the artifact to the github releases page. As part of the build, it could also upload the sha256 hash as a file to the releases page as well.

This would also automate the releases much more so that you could have it do this every time you tagged a new version in git.

This is super easy (and free and transparent) to automate with travis. https://docs.travis-ci.com/user/deployment/releases

lookfirst avatar Jan 02 '19 04:01 lookfirst

I'm working on new auto build server and when finished I'll add GPG signature there. Another secure way to update binaries is to use builtin auto update feature. It uses hash sum encrypted by RSA2048, it's not possible to update original app using corrupt/unsigned/fake binary this way. Also update files used by secure auto update is hosted on our own server, not on sourceforge.

JulyIghor avatar Jan 03 '19 23:01 JulyIghor

The auto update does not show me the build process. It may be a signed binary, but who knows how that binary was built or if your server was hacked? I'd like to see the build logs off the CI server, which is a bit harder to fake.

lookfirst avatar Jan 07 '19 05:01 lookfirst

Yes, all binaries are signed. Signing process is manual and build server have no access to internet.

JulyIghor avatar Jan 07 '19 11:01 JulyIghor

Ok! That is one way to do it. =)

lookfirst avatar Jan 07 '19 14:01 lookfirst