Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 24 Sep 2013 21:55:13 +0530
From: Dhiru Kholia <>
Subject: Reproducible Builds for Fedora


I have been working on having Reproducible Builds in Fedora for some

At this point, I think I have something demoable. Ensuring Reproducible
Builds is a big task and I want your feedback, ideas, code and support.

Please see for details.

I would like to thank Debian and Ubuntu folks for starting similar
projects (and inspiring this work).

Reproducible Builds

It should be possible to reproduce every build of every package in

We want to be able to show that our binary was the result of our source
code from our compiler and nobody added anything along the way.

Can we (upstream / vendor) show that one of our rpms was built from the
source we ship?

It should be possible for the users to verify that the binary matches
what the source intended to produce, in an independent fashion. We (the
distribution provider) shouldn't be forced to say "Trust Us" to our
users at all.

Steps Involved

* Recording the build environment (DONE)

  - Koji does this automatically :-)

* Re-producing the build environment (DONE)

  - Retrieve "brootid" (buildrootID) corresponding to the NVR we want to
    test from Koji (DONE)

  - Replicate this buildroot (DONE)

  - Create replica build environment using "Mock" (DONE)

* Do re-builds locally using mock (DONE)

* Verify new build against upstream (DONE, Steve's script works great)

Current State

* Packages like git, john and qpdf are 100% reproducible as far as code
  is concerned :-)

*  We also support "Recursive Verification". For example, if building
   "Z" requires installing "Y" RPM, then, once we have verified that Z
   is OK, we can ask our tool to verify "Y" too and so on.

Current Challenges


* python-epydoc will add timestamps to the HTML file it produces (
  needs FIXING).

* javadoc will add timestamps to the HTML file it produces (needs



Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.