News for hackers. Stuff that matters.
Re:SSH client in Google Chrome by EricBurnett on Thursday January 17, 2013 @08:08AM (#5072376)
The same could be said for any binary releases, from open source code or not (e.g. Firefox). If you don't trust Google's binary releases then build your own Chromium from audited sources.
Re:SSH client in Google Chrome by mcpherrinm on Thursday January 17, 2013 @08:48AM (#5072582)
Yes, trusting binaries is a little scary. But for open source projects like Firefox, you should be able to compile a bit-identical release to what Mozilla provides.

With Chrome, that isn't possible. It is based on Chromium, but includes non-open source code, and so you cannot immediately build it.

However, in the end, they're just executables. Looking at assembly isn't quite the same as looking at source code, but we could examine the additional components and try to identify any malicious parts. At least in theory -- the work involved would be quite big.

Re:SSH client in Google Chrome by DannyBee on Thursday January 17, 2013 @10:38AM (#5073179)
All non-open source code in chrome should be in plugins (or otherwise separate DLL's), not chrome's main binary. If you know of a case where this isn't true, please let me know.

You wouldn't be able to compile bit-identical releases due to FDO, but otherwise ...

Re:SSH client in Google Chrome by tonfa on Thursday January 17, 2013 @09:51AM (#5072903)
> But for open source projects like Firefox, you should be able to compile a bit-identical release to what Mozilla provides.

Pretty sure it's actually very hard, I'd assume they use FDO in their builds.

Re:SSH client in Google Chrome by mcpherrinm on Thursday January 17, 2013 @10:13AM (#5073018)
That's true. I know profile-guided-optimization is used for Windows builds; unsure on other platforms.

Actually, this sounds like a fairly interesting project to me: Given a tool chain and a source code base, can we prove this was a possible compilation? In the case of deterministic compilers this is trivial, but as you highlight, not all optimizers are.

Re:SSH client in Google Chrome by LukeShu on Thursday January 17, 2013 @10:46AM (#5073231)
I'm fairly certain that PGO is used for all of the official binaries. I do know that Arch Linux's package (which is from source, not official binaries) is compiled with PGO, so the support is definitely there.
Re:SSH client in Google Chrome by Hello71 on Thursday January 17, 2013 @11:05AM (#5073344)
The scripts used to automate PGO are in the official repository.
Re:SSH client in Google Chrome by groby_b on Thursday January 17, 2013 @05:20PM (#5075611)
Theoretically, you should be able to compile a bit-identical release. Practically, you won't. (Or at least, I'd be very surprised)

Re-creating bit-identical copies is hard when you _try_ to make it happen for your project, and I can't see any active efforts for that in most OSS projects.

Timestamps in .o/.lib files, use of system libraries, optimization heuristics, exact versions of the entire toolchain, and many more "fun" issues prevent that from happening, usually.