[tor-bugs] #25483 [Obfuscation/Snowflake]: Windows reproducible build of snowflake

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 30 15:00:49 UTC 2018


#25483: Windows reproducible build of snowflake
-----------------------------------+------------------------------
 Reporter:  arlolra                |          Owner:  (none)
     Type:  project                |         Status:  needs_review
 Priority:  Medium                 |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Normal                 |     Resolution:
 Keywords:                         |  Actual Points:
Parent ID:  #19001                 |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------

Comment (by boklm):

 Replying to [comment:14 dcf]:

 >    This branch lets the webrtc build work for windows-i686. To test it,
 first `get fetch` an updated go-webrtc as described above. If have done a
 build in this directory previously, run
 >    {{{
 >    rm gclient/webrtc/.gclient
 >    }}}
 >    The .gclient will be regenerated with the addition of `target_os =
 ['win']`, which will cause `gclient sync` to pull the prebuilt clang
 cross-compiler.

 I think we could add something like this, to automatically remove
 `gclient/webrtc/src/testing/{gmock,gtest}`:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_25483_v0&id=d5514f7f3b566cf37bfc59ec8105a96130577ff2

 And this to remove the `.gclient` file if it does not contain the
 target_os line:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_25483_v0&id=60a0b31b389fa2ca47dfbe305f9f9211b58f509e

 > The output of the build is a file, out/webrtc/webrtc-
 88f5d9180eae78a6162cccd78850ff416eb82483-windows-x86_64-ba8356.tar.gz. You
 can compare it against mine:
 >   https://people.torproject.org/~dcf/pt-bundle/snowflake/webrtc-
 88f5d9180eae78a6162cccd78850ff416eb82483-windows-x86_64-ba8356.tar.gz

 I have been able to do a build, and I get a tarball containing the same
 files, except that my version also includes some files in the directory
 `webrtc/include/chromium/`:
 https://people.torproject.org/~boklm/tmp/webrtc-
 88f5d9180eae78a6162cccd78850ff416eb82483-windows-x86_64-ba8356.tar.gz

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25483#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list