Announcing Whonix's First Implementation of Verifiable Builds



you may or may not be interested, that Whonix [1] (a derivative of Debian) first implementation of verifiable builds has been finished. It should make it reasonable to believe, that the original Whonix.ova images have been build from the source code that has been published for that Whonix version with no malicious additions by the Whonix builder or build machine. Next Whonix version will be build that way.

It’s not as good as reproducible-builds [0], where you can simply compare the hash of the resulting image, but without any

deterministically build operating systems, that’s impossible for the Whonix project to archive.

How it works (very brief)… Whonix does not add binary packages. All binary packages are taken from Debian repositories. Whonix is only a collection of config files and scripts. Images is extracted, MBR, VBR gets dumped and compared, checksums of all files within the image are created. All information is written into a report file. When having two reports (one of official builds and a own build), those can be compared. The full documentation of that feature and links to the related scripts can be found in whonix.org wiki. [2]

I am happy to hear if I have overseen any holes, where backdoors could still be hidden.

And I also have a question. During Whonix’s build process, after installing all packages inside the image, commands like

/var/lib/dpkg/info/docbook-xml.prerm remove

/var/lib/dpkg/info/docbook-xml.postrm purge

are run. And during first boot, commands like

/var/lib/dpkg/info/docbook-xml.preinst install

/var/lib/dpkg/info/docbook-xml.postinst configure

are run. Is there perhaps a better way of temporarily getting rid of non-deterministic files than manually running these scripts, for example letting dpkg call those scripts?



[0] https://wiki.debian.org/ReproducibleBuilds

[1] https://www.whonix.org

[2] https://www.whonix.org/wiki/Verifiable_Builds

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]