[tor-bugs] #31688 [Applications/Tor Browser]: go build/install should pass -trimpath flag

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 10 16:54:56 UTC 2019


#31688: go build/install should pass -trimpath flag
------------------------+------------------------------------------
 Reporter:  JeremyRand  |          Owner:  tbb-team
     Type:  defect      |         Status:  new
 Priority:  Medium      |      Component:  Applications/Tor Browser
  Version:              |       Severity:  Normal
 Keywords:              |  Actual Points:
Parent ID:              |         Points:
 Reviewer:              |        Sponsor:
------------------------+------------------------------------------
 Go 1.13 added a `-trimpath` flag to `go build` and `go install`, which
 removes all filesystem paths from the compiled executable.  This fixes
 some reproducible build issues.  To ensure optimal build reproducibility,
 `tor-browser-build` should pass `-trimpath` when building Go projects.

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


More information about the tor-bugs mailing list