Opened 2 years ago

Last modified 2 years ago

#23849 needs_information enhancement

Publish tor.real artifact as part of the TBB build process

Reported by: hellais Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-rbm
Cc: mcs, gk, boklm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

It would be very useful for people that need a pre-compiled (verifiable) binary on multiple architectures/platforms, if instead of having to download the whole TBB packages, I could instead just download the tor.real signed.

It should be possible to add this as part of the TBB build process so that this artifact is published and signed separately.

Child Tickets

Change History (4)

comment:1 Changed 2 years ago by gk

Cc: boklm added; bolkm removed
Component: Applications/Quality Assurance and TestingApplications/Tor Browser
Keywords: tbb-rbm added
Owner: changed from cypherpunks to tbb-team

comment:2 Changed 2 years ago by mcs

On Windows, we already produce a zip archive that contains tor.exe, the geoip files, and necessary DLLs. I guess we could do something similar for OSX and Linux?

comment:3 Changed 2 years ago by boklm

I started a patch for this:
https://gitweb.torproject.org/user/boklm/tor-browser-build.git/commit/?h=bug_23849&id=6dc14ab295ff3f48ee98c5c2ea2080aa852fe7db

It is building a tor expert-bundle for Linux and Mac. However, it is using the same directory names as when included in Tor Browser, and maybe we want to change that:

$ tar tvf out/tor/tor-0.3.2.1-alpha-osx-x86_64-9e533e/tor-osx64-0.3.2.1-alpha-debug.tar.xz 
drwx------ root/root         0 2017-09-18 18:44 Contents/
drwx------ root/root         0 2017-09-18 18:44 Contents/MacOS/
drwx------ root/root         0 2017-09-18 18:44 Contents/MacOS/Tor/
-rwx------ root/root    339612 2017-09-18 18:44 Contents/MacOS/Tor/libevent-2.0.5.dylib
-rwx------ root/root   5185088 2017-09-18 18:44 Contents/MacOS/Tor/tor
-rwx------ root/root   2013740 2017-09-18 18:44 Contents/MacOS/Tor/tor-gencert
drwx------ root/root         0 2017-09-18 18:44 Contents/Resources/
drwx------ root/root         0 2017-09-18 18:44 Contents/Resources/TorBrowser/
drwx------ root/root         0 2017-09-18 18:44 Contents/Resources/TorBrowser/Tor/
-rw------- root/root   3835959 2017-09-18 18:44 Contents/Resources/TorBrowser/Tor/geoip
-rw------- root/root   2130101 2017-09-18 18:44 Contents/Resources/TorBrowser/Tor/geoip6
$ tar tvf out/tor/tor-0.3.2.1-alpha-linux-x86_64-7b1b44/tor-linux64-0.3.2.1-alpha.tar.xz 
drwx------ root/root         0 2017-09-18 18:44 Data/
drwx------ root/root         0 2017-09-18 18:44 Data/Tor/
-rw------- root/root   3835959 2017-09-18 18:44 Data/Tor/geoip
-rw------- root/root   2130101 2017-09-18 18:44 Data/Tor/geoip6
drwx------ root/root         0 2017-09-18 18:44 Tor/
-rwx------ root/root   2274384 2017-09-18 18:44 Tor/libcrypto.so.1.0.0
-rwx------ root/root    317816 2017-09-18 18:44 Tor/libevent-2.0.so.5
-rwx------ root/root    486600 2017-09-18 18:44 Tor/libssl.so.1.0.0
-rwx------ root/root   1620912 2017-09-18 18:44 Tor/libstdc++.so.6
-rwx------ root/root   3075760 2017-09-18 18:44 Tor/tor
-rwx------ root/root    591032 2017-09-18 18:44 Tor/tor-gencert

comment:4 Changed 2 years ago by gk

Status: newneeds_information

Hm, I am wondering whether we need that much. hellais: You only need tor.real or the whole bundle (including things like the libevent-dylib and the geoip files)?

Note: See TracTickets for help on using tickets.