e5e6e6ec99c63611637e86439e513988d8d3f055
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

1) ## translation metadata
Roger Dingledine looks like we never set the...

Roger Dingledine authored 13 years ago

2) # Revision: $Revision$
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

3) # Translation-Priority: 2-medium
4) 
5) #include "head.wmi" TITLE="Tor Project: Verifying Signatures" CHARSET="UTF-8"
6) <div id="content" class="clearfix">
7)   <div id="breadcrumbs">
Andrew Lewman change all of the breadcrum...

Andrew Lewman authored 13 years ago

8)     <a href="<page index>">Home &raquo; </a>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

9)     <a href="<page docs/verifying-signatures>">Verifying Signatures</a>
10)   </div>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

11)   <div id="maincol">
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

12)     <h1>How to verify signatures for packages</h1>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

13)     <hr>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

14) 
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

15)     <p>Digital signature is a process ensuring that a certain package was
16)     generated by its developers and has not been tampered with. Below we explain
17)     why it is important and how to verify that the Tor program you download is
18)     the one we have created and has not been modified by some attacker.</p>
19) 
20)     <p>Digital signature is a cryptographic mechanism. If you want to learn more
hiromipaw Small improvements to verif...

hiromipaw authored 6 years ago

21)     about how it works see <a href="https://en.wikipedia.org/wiki/Digital_signature">
22)     https://en.wikipedia.org/wiki/Digital_signature</a>.</p>
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

23) 
Roger Dingledine add some introduction parag...

Roger Dingledine authored 12 years ago

24)     <h3>What is a signature and why should I check it?</h3>
25)     <hr>
26) 
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

27)     <p>How do you know that the Tor program you have is really the one we made?
28)     Digital signatures ensure that the package you are downloading was created by
hiromipaw Small improvements to verif...

hiromipaw authored 6 years ago

29)     our developers. It uses a cryptographic mechanism to ensure that the software package
30)     that you have just downloaded is authentic. </p>
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

31) 
32)     <p>For many Tor users it is important to verify that the Tor software is authentic
33)     as they have very real adversaries who might try to give them a fake version
34)     of Tor.</p>
Roger Dingledine add some introduction parag...

Roger Dingledine authored 12 years ago

35) 
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

36)     <p>If the Tor package has been modified by some attacker it is not safe to use.
37)     It doesn't matter how secure and anonymous Tor is if you're not running the real Tor.</p>
38) 
hiromipaw Small improvements to verif...

hiromipaw authored 6 years ago

39)     <p>Before you go ahead and download something, there are a few extra steps you
40)     should take to make sure you have downloaded an authentic version of Tor.</p>
41) 
42)     <h4>Always download Tor from torproject.org</h4>
43) 
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

44)     <p>There are a variety of attacks that can be used to make you download a fake
45)     version of Tor. For example, an attacker could trick you into thinking some other
hiromipaw Small improvements to verif...

hiromipaw authored 6 years ago

46)     website is a great place to download Tor. You should
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

47)     always download Tor from <a href="https://www.torproject.org"><b>https</b>://www.torproject.org/</a>.</p>
48) 
hiromipaw Small improvements to verif...

hiromipaw authored 6 years ago

49)     <h4>Always make sure you are browsing over https</h4>
50) 
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

51)     <p><a href="https://www.torproject.org">https://www.torproject.org/</a> uses https.
52)     Https is the secure version of the http protocol which uses encryption and authentication between your
53)     browser and the website. This makes it much harder for the attacker
Roger Dingledine add some introduction parag...

Roger Dingledine authored 12 years ago

54)     to modify your download. But it's not perfect. Some places in the
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

55)     world block the Tor website, making users to download Tor <a href="<page
56)     docs/faq>#GetTor">somewhere else</a>.</p>
57) 
58)     <p>Large companies sometimes force employees to use a modified browser,
Roger Dingledine add some introduction parag...

Roger Dingledine authored 12 years ago

59)     so the company can listen in on all their browsing. We've even <a
60)     href="https://blog.torproject.org/blog/diginotar-debacle-and-what-you-should-do-about-it">seen</a>
61)     attackers who have the ability to trick your browser into thinking
62)     you're talking to the Tor website with https when you're not.</p>
63) 
hiromipaw Small improvements to verif...

hiromipaw authored 6 years ago

64)     <h4>Always verify signatures of packages you have downloaded</h4>
65) 
Roger Dingledine add some introduction parag...

Roger Dingledine authored 12 years ago

66)     <p>Some software sites list <a
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

67)     href="https://en.wikipedia.org/wiki/Cryptographic_hash_function">sha1
Roger Dingledine add some introduction parag...

Roger Dingledine authored 12 years ago

68)     hashes</a> alongside the software on their website, so users can
69)     verify that they downloaded the file without any errors. These
70)     "checksums" help you answer the question "Did I download this file
71)     correctly from whoever sent it to me?" They do a good job at making
72)     sure you didn't have any random errors in your download, but they
73)     don't help you figure out whether you were downloading it from the
74)     attacker. The better question to answer is: "Is this file that I
75)     just downloaded the file that Tor intended me to get?"</p>
76) 
Roger Dingledine add another heading on veri...

Roger Dingledine authored 12 years ago

77)     <h3>Where do I get the signatures and the keys that made them?</h3>
78)     <hr>
Andrew Lewman revert mttp's changes.

Andrew Lewman authored 10 years ago

79)     <p>Each file on <a href="<page download/download>">our download
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

80)     page</a> is accompanied by a file with the same name as the
81)     package and the extension ".asc". These .asc files are GPG
82)     signatures. They allow you to verify the file you've downloaded
83)     is exactly the one that we intended you to get. For example,
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

84)     torbrowser-install-<version-torbrowserbundle>_en-US.exe is accompanied by
85)     torbrowser-install-<version-torbrowserbundle>_en-US.exe.asc. For a list
Andrew Lewman add the correct >.

Andrew Lewman authored 10 years ago

86)     of which developer signs which package, see our <a href="<page docs/signing-keys>">signing keys</a> page.</p>
hiromipaw Add short paragraph on digi...

hiromipaw authored 7 years ago

87) 
hiromipaw Fix typos in paragraph abou...

hiromipaw authored 7 years ago

88)     <p>We now show how you can verify the downloaded file's digital signature on
89)     different operating systems. Please notice that a signature is dated the moment
hiromipaw Add short paragraph on digi...

hiromipaw authored 7 years ago

90)     the package has been signed. Therefore every time a new file is uploaded a new
91)     signature is generated with a different date. As long as you have verified the
92)     signature you should not worry that the reported date may vary.
93)     </p>
94) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

95)     <h3>Windows</h3>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

96)     <hr>
hiromipaw Edits instruction on how to...

hiromipaw authored 6 years ago

97)     <p>First of all you need to have GnuPG installed before you can verify signatures.
98)     Download it from <a href="https://gpg4win.org/download.html">https://gpg4win.org/download.html</a>.</p>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

99)     <p>Once it's installed, use GnuPG to import the key that signed your
hiromipaw Edits instruction on how to...

hiromipaw authored 6 years ago

100)     package. In order to verify the signature you will need to type a few commands
101)     in windows command-line, <i>cmd.exe</i>.
102)     <p>Unless you edit your PATH environment variable, you will need to tell Windows
103)     the full path to the GnuPG program. If you installed GnuPG with the default values, the path should be
Matt Pagan

Matt Pagan authored 10 years ago

104)     something like this: <i>C:\Program Files\Gnu\GnuPg\gpg.exe</i>.</p>
Arthur Edelstein Bug 20465: Call it 'Tor Bro...

Arthur Edelstein authored 7 years ago

105)     <p>The Tor Browser team signs Tor Browser releases. Import its key
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

106)     (0x4E2C6E8793298290) by starting <i>cmd.exe</i> and typing:</p>
Roger Dingledine weasel says specifying x-hk...

Roger Dingledine authored 7 years ago

107)     <pre>"C:\Program Files\Gnu\GnuPg\gpg.exe" --keyserver pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290</pre>
Matt Pagan

Matt Pagan authored 10 years ago

108)     <p>After importing the key, you can verify that the fingerprint
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

109)     is correct:</p>
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

110)     <pre>"C:\Program Files\Gnu\GnuPg\gpg.exe" --fingerprint 0x4E2C6E8793298290</pre>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

111)     <p>You should see:</p>
112)     <pre>
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

113)     pub   4096R/93298290 2014-12-15
114)           Key fingerprint = EF6E 286D DA85 EA2A 4BA7  DE68 4E2C 6E87 9329 8290
115)     uid                  Tor Browser Developers (signing key) <torbrowser@torproject.org>
116)     sub   4096R/F65C2036 2014-12-15
117)     sub   4096R/D40814E0 2014-12-15
Georg Koppen Add new subkeys for Tor Bro...

Georg Koppen authored 7 years ago

118)     sub   4096R/C3C07136 2016-08-24
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

119) </pre>
120)     <p>To verify the signature of the package you downloaded, you will need
121)     to download the ".asc" file as well. Assuming you downloaded the
122)     package and its signature to your Desktop, run:</p>
hiromipaw Started updating verify sig...

hiromipaw authored 6 years ago

123)     <pre>"C:\Program Files\Gnu\GnuPg\gpg.exe" --verify \
124)     C:\Users\Alice\Desktop\torbrowser-install-<version-torbrowserbundle>_en-US.exe.asc \
hiromipaw Fix layout for verify signa...

hiromipaw authored 7 years ago

125)     C:\Users\Alice\Desktop\torbrowser-install-<version-torbrowserbundle>_en-US.exe</pre>
hiromipaw Small improvements to verif...

hiromipaw authored 6 years ago

126)     <p>Please substitute "Alice" with your own username.</p>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

127)     <p>The output should say "Good signature": </p>
128)     <pre>
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

129)     gpg: Signature made Tue 24 Jan 2015 09:29:09 AM CET using RSA key ID D40814E0
130)     gpg: Good signature from "Tor Browser Developers (signing key) <torbrowser@torproject.org>"
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

131)     gpg: WARNING: This key is not certified with a trusted signature!
132)     gpg:          There is no indication that the signature belongs to the owner.
Georg Koppen Bug 15253: Add Tor Browser...

Georg Koppen authored 9 years ago

133)     Primary key fingerprint: EF6E 286D DA85 EA2A 4BA7  DE68 4E2C 6E87 9329 8290</pre>
134)     <p>Currently valid subkey fingerprints are:
135)     <pre>
136)     5242 013F 02AF C851 B1C7  36B8 7017 ADCE F65C 2036
Georg Koppen Add new subkeys for Tor Bro...

Georg Koppen authored 7 years ago

137)     BA1E E421 BBB4 5263 180E  1FC7 2E1A C68E D408 14E0
138)     A430 0A6B C93C 0877 A445  1486 D148 3FA6 C3C0 7136</pre></p>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

139)     <p>
140)     Notice that there is a warning because you haven't assigned a trust
141)     index to this person. This means that GnuPG verified that the key made
142)     that signature, but it's up to you to decide if that key really belongs
143)     to the developer. The best method is to meet the developer in person and
144)     exchange key fingerprints.
145)     </p>
hiromipaw Add short paragraph on digi...

hiromipaw authored 7 years ago

146) 
ilv Combined osx and linux inst...

ilv authored 9 years ago

147)     <h3>Mac OS X and Linux</h3>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

148)     <hr>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

149) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

150)     <p>You need to have GnuPG installed before you can verify
ilv Combined osx and linux inst...

ilv authored 9 years ago

151)     signatures. If you are using Mac OS X, you can install it from <a
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

152)     href="https://www.gpgtools.org/">https://www.gpgtools.org/</a>. If you
ilv Combined osx and linux inst...

ilv authored 9 years ago

153)     are using Linux, then it's probably you already have GnuPG in your
154)     system, as most Linux distributions come with it preinstalled.
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

155)     </p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

156) 
ilv Combined osx and linux inst...

ilv authored 9 years ago

157)     <p>The next step is to use GnuPG to import the key that signed
Arthur Edelstein Bug 20465: Call it 'Tor Bro...

Arthur Edelstein authored 7 years ago

158)     your package. The Tor Browser team signs Tor Browser releases. Import its
Nicolas Vigier Bug 13407: Finish updating...

Nicolas Vigier authored 9 years ago

159)     key (0x4E2C6E8793298290) by starting the terminal (under "Applications"
ilv Combined osx and linux inst...

ilv authored 9 years ago

160)     in Mac OS X) and typing:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

161) 
Roger Dingledine weasel says specifying x-hk...

Roger Dingledine authored 7 years ago

162)     <pre>gpg --keyserver pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

163) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

164)     <p>After importing the key, you can verify that the fingerprint
165)     is correct:</p>
166) 
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

167)     <pre>gpg --fingerprint 0x4E2C6E8793298290</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

168) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

169)     <p>You should see:</p>
170)     <pre>
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

171)     pub   4096R/93298290 2014-12-15
172)           Key fingerprint = EF6E 286D DA85 EA2A 4BA7  DE68 4E2C 6E87 9329 8290
173)     uid                  Tor Browser Developers (signing key) <torbrowser@torproject.org>
174)     sub   4096R/F65C2036 2014-12-15
Georg Koppen Add new subkeys for Tor Bro...

Georg Koppen authored 7 years ago

175)     sub   4096R/D40814E0 2014-12-15
176)     sub   4096R/C3C07136 2016-08-24</pre>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

177)     <p>To verify the signature of the package you downloaded, you will need
178)     to download the ".asc" file as well. Assuming you downloaded the
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

179)     package and its signature to your Downloads folder, run:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

180) 
ilv Fixed version tags and wind...

ilv authored 9 years ago

181)     <strong>For Mac OS X users</strong>:<br />
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

182)     <pre>gpg --verify ~/Downloads/TorBrowser-<version-torbrowserbundleosx64>-osx64_en-US.dmg{.asc*,}</pre>
183) 
hiromipaw Make 64bit instructions def...

hiromipaw authored 7 years ago

184)     <strong>For Linux users</strong> (change 64 to 32 if you have the 32-bit package):<br />
hiromipaw Add a line break for gpg ve...

hiromipaw authored 7 years ago

185)     <pre>gpg --verify tor-browser-linux64-<version-torbrowserbundlelinux64>_en-US.tar.xz.asc \
hiromipaw Make 64bit instructions def...

hiromipaw authored 7 years ago

186)     tor-browser-linux64-<version-torbrowserbundlelinux64>_en-US.tar.xz</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

187) 
Georg Koppen Bug 15253: Add Tor Browser...

Georg Koppen authored 9 years ago

188)     <p>The output should say "Good signature":</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

189) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

190)     <pre>
Georg Koppen Bug 13407: Update signature...

Georg Koppen authored 9 years ago

191)     gpg: Signature made Tue 24 Jan 2015 09:29:09 AM CET using RSA key ID D40814E0
192)     gpg: Good signature from "Tor Browser Developers (signing key) <torbrowser@torproject.org>"
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

193)     gpg: WARNING: This key is not certified with a trusted signature!
194)     gpg:          There is no indication that the signature belongs to the owner.
Georg Koppen Bug 15253: Add Tor Browser...

Georg Koppen authored 9 years ago

195)     Primary key fingerprint: EF6E 286D DA85 EA2A 4BA7  DE68 4E2C 6E87 9329 8290</pre> <p> Currently valid subkey fingerprints are:
196)     <pre>
197)     5242 013F 02AF C851 B1C7  36B8 7017 ADCE F65C 2036
Georg Koppen Add new subkeys for Tor Bro...

Georg Koppen authored 7 years ago

198)     BA1E E421 BBB4 5263 180E  1FC7 2E1A C68E D408 14E0
199)     A430 0A6B C93C 0877 A445  1486 D148 3FA6 C3C0 7136</pre></p>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

200)     <p>
201)     Notice that there is a warning because you haven't assigned a trust
202)     index to this person. This means that GnuPG verified that the key made
203)     that signature, but it's up to you to decide if that key really belongs
204)     to the developer. The best method is to meet the developer in person and
205)     exchange key fingerprints.
206)     </p>
Georg Koppen Bug 15253: Add Tor Browser...

Georg Koppen authored 9 years ago

207) 
ilv Combined osx and linux inst...

ilv authored 9 years ago

208)     <p>
209)     If you're a Linux user and you're using the <b>Debian</b> Tor (not Tor
210)     Browser) packages, you should read the instructions on <a
211)     href="<page docs/debian>#packages">importing these keys to apt</a>.
212)     If you're using the <b>RPMs</b> (for Tor, not Tor Browser), you can
213)     manually verify the signatures on the RPM packages by
214)     <pre>rpm -K filename.rpm</pre>
215)     </p>
Roger Dingledine explain that linux users ar...

Roger Dingledine authored 12 years ago

216) 
217)     <p>See <a
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

218)     href="https://www.gnupg.org/documentation/">https://www.gnupg.org/documentation/</a>
ilv Added missing hr and s/GPG/...

ilv authored 9 years ago

219)     to learn more about GnuPG.</p>
220) 
221)     <hr>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

222) 
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

223)     <a id="BuildVerification"></a>
224)     <h3><a class="anchor" href="#BuildVerification">
225)     Verifying sha256sums (advanced)</a></h3>
226)     <hr>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

227)     <p>Build reproducibility is a <a
228)        href="https://blog.torproject.org/blog/deterministic-builds-part-one-cyberwar-and-global-compromise">security
Sebastian Hahn Remove some whitespace at eol

Sebastian Hahn authored 9 years ago

229)        property</a> of Tor Browser 3.0 and later. Anyone can build
230)        Tor Browser on their own machine and produce a binary that is
231)        bit-for-bit identical to the binary we offer on the download page.
Arthur Edelstein Bug 20465: Call it 'Tor Bro...

Arthur Edelstein authored 7 years ago

232)        Fortunately, it is not necessary for everyone to build Tor Browser
Sebastian Hahn Remove some whitespace at eol

Sebastian Hahn authored 9 years ago

233)        locally to get this security. Verifying and comparing the signed list
234)        of <a href="https://en.wikipedia.org/wiki/Cryptographic_hash">hashes</a>
235)        will confirm that multiple people have built Tor Browsers
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

236)        identical to the download.</p>
237) 
238)       <p>The steps below walk through this process:</p>
239) 
240)     <ul>
Georg Koppen Update advanced verificatio...

Georg Koppen authored 8 years ago

241)       <li>Download the Tor Browser package, the <tt>sha256sums-unsigned-build.txt</tt>
242)       file, and the <tt>sha256sums-unsigned-build.txt.asc</tt> signature file.
243)       They can all be found in the same directory under
244)       <a href="https://www.torproject.org/dist/torbrowser/">
hiromipaw Make 64bit instructions def...

hiromipaw authored 7 years ago

245)       https://www.torproject.org/dist/torbrowser/</a>, for example in '<version-torbrowserbundlelinux64>'
246)       for Tor Browser <version-torbrowserbundlelinux64>.</li>
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

247)       <li>In case your operating system is adding the .txt extension
248)       automatically to the SHA256 sums signature file strip it again by running
249)       <pre>mv sha256sums-unsigned-build.txt.asc.txt sha256sums-unsigned-build.txt.asc</pre>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

250)       <li>Retrieve the signers' GPG keys. This can be done from the command
251)       line by entering something like
Georg Koppen Bug 15598: Update documenta...

Georg Koppen authored 9 years ago

252)       <pre>gpg --keyserver keys.mozilla.org --recv-keys 0x4E2C6E8793298290</pre>
253)       (This will bring you the public part of the Tor Browser developers'
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

254)        signing key. Other developers' key IDs can be found on
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

255)       <a href="<page docs/signing-keys>">this
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

256)       page</a>.)</li>
Georg Koppen Update advanced verificatio...

Georg Koppen authored 8 years ago

257)       <li>Verify the sha256sums-unsigned-build.txt file by executing this
258)       command:
259)       <pre>gpg --verify sha256sums-unsigned-build.txt.asc sha256sums-unsigned-build.txt</pre></li>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

260)       <li>You should see a message like "Good signature from &lt;DEVELOPER
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

261)       NAME&gt;". If you don't, there is a problem. Try these steps again.</li>
Georg Koppen Bug 15598: Update documenta...

Georg Koppen authored 9 years ago

262)       <li>If you want to verify a Windows Tor Browser package you need to first
Georg Koppen Add delcert.exe as signatur...

Georg Koppen authored 8 years ago

263)       strip off the authenticode signature of it. Tools that can be used for
264)       this purpose are <a href="http://osslsigncode.sourceforge.net">osslsigncode</a> and
265)       <a href="http://forum.xda-developers.com/showthread.php?t=416175">delcert.exe</a>.
266)       Assuming you have built e.g. <tt>osslsigncode</tt> on a Linux computer you can enter
Georg Koppen Bug 15598: Update documenta...

Georg Koppen authored 9 years ago

267)       <pre>/path/to/your/osslsigncode remove-signature &#92;
268)         /path/to/your/&lt;TOR BROWSER FILE NAME&gt;.exe &lt;TOR BROWSER FILE NAME&gt;.exe</pre></li>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

269)       <li>Now you can take the sha256sum of the Tor Browser package. On
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

270)       Windows you can use the <a href="http://md5deep.sourceforge.net/">
271)       hashdeep utility</a> and run
272)       <pre>C:\location\where\you\saved\hashdeep -c sha256sum &lt;TOR BROWSER FILE NAME&gt;.exe</pre>
Georg Koppen Bug 20954: Checking OS X bu...

Georg Koppen authored 7 years ago

273)       <p>On Linux you can run</p>
274)       <pre>sha256sum &lt;TOR BROWSER FILE NAME&gt;.tar.gz</pre>
275)       without having to download a utility. Note: this does not work for OS X
276)       yet due to Apple's codesigning requirement.</li>
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

277)       <li>You will see a string of letters and numbers.</li>
Georg Koppen Update advanced verificatio...

Georg Koppen authored 8 years ago

278)       <li>Open <tt>sha256sums-unsigned-build.txt</tt> in a text editor.</li>
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

279)       <li>Locate the name of the Tor Browser file you downloaded.</li>
280)       <li>Compare the string of letters and numbers to the left of your
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

281)       filename with the string of letters and numbers that appeared
282)       on your command line. If they match, you've successfully verified the
283)       build.</li>
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

284)     </ul>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

285) 
286)     <p><a href="https://github.com/isislovecruft/scripts/blob/master/verify-gitian-builder-signatures">Scripts</a>
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

287)     to <a href="https://tor.stackexchange.com/questions/648/how-to-verify-tor-browser-bundle-tbb-3-x">automate</a>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

288)     these steps have been written, but to use them you will need to modify
Matt Pagan Replaced "the Tor Browser B...

Matt Pagan authored 9 years ago

289)     them yourself with the latest Tor Browser filename.</p>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

290) 
291)     <hr>
292) 
293)     <a id="MARVerification"></a>
294)     <h3><a class="anchor" href="#MARVerification">
295)     Verifying MAR files we ship (advanced)</a></h3>
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

296)     <hr>
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

297)     <p>Starting with Tor Browser 4.5a4 we sign our MAR files which helps
298)     securing our update process. The downside of this is the need for additional
299)     instructions to verify that the MAR files we ship are indeed the ones we
300)     produced with our Gitian setup.</p>
301) 
302)     <p>Assuming the verification happens on a Linux computer one first needs the
303)     <tt>mar-tools-linux*.zip</tt> out of the <tt>gitian-builder/inputs</tt>
304)     directory to remove the embedded signature(s). The steps to get the unsigned
305)     MAR file on a 64 bit Linux are</p>
306)     <pre>
307)     cd /path/to/MAR/file
308)     unzip /path/to/gitian-builder/inputs/mar-tools-linux64.zip
Georg Koppen Update signature verificati...

Georg Koppen authored 8 years ago

309)     export LD_LIBRARY_PATH=/path/to/MAR/file/mar-tools
Georg Koppen Bug 14304: Document strippi...

Georg Koppen authored 9 years ago

310)     mar-tools/signmar -r your-signed-mar-file.mar your-unsigned-mar-file.mar</pre>
311)     <p>Now you can compare the SHA256 sum of <tt>your-unsigned-mar-file.mar</tt>
Georg Koppen Update advanced verificatio...

Georg Koppen authored 8 years ago

312)     with the one provided in the <tt>sha265sums-unsigned-build.txt</tt> or
313)     <tt>sha256sums-unsigned-build.incremental.txt</tt> as outlined in
314)     <a href="#BuildVerification">Verifying sha256sums (advancded)</a> above.</p>
Matt Pagan Moved verification instruct...

Matt Pagan authored 9 years ago

315) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

316)   </div>
317)   <!-- END MAINCOL -->
318)   <div id = "sidecol">
319) #include "side.wmi"
320) #include "info.wmi"
321)   </div>
322)   <!-- END SIDECOL -->
323) </div>
324) <!-- END CONTENT -->