9906c22a0b9fe56e27b770dcefc64fdb7bafb809
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Andrew Lewman authored 14 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 14 years ago

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

Andrew Lewman authored 14 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 14 years ago

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

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 13 years ago

14) 
Roger Dingledine add some introduction parag...

Roger Dingledine authored 13 years ago

15)     <h3>What is a signature and why should I check it?</h3>
16)     <hr>
17) 
18)     <p>How do you know that the Tor program you have is really the
19)     one we made? Many Tor users have very real adversaries who might
20)     try to give them a fake version of Tor &mdash; and it doesn't matter
21)     how secure and anonymous Tor is if you're not running the real Tor.</p>
22) 
23)     <p>An attacker could try a variety of attacks to get you to download
24)     a fake Tor. For example, he could trick you into thinking some other
25)     website is a great place to download Tor. That's why you should
26)     always download Tor from <b>https</b>://www.torproject.org/. The
27)     https part means there's encryption and authentication between your
28)     browser and the website, making it much harder for the attacker
29)     to modify your download. But it's not perfect. Some places in the
Roger Dingledine give a suggestion for where...

Roger Dingledine authored 13 years ago

30)     world block the Tor website, making users try <a href="<page
31)     docs/faq>#GetTor">somewhere else</a>. Large
Roger Dingledine add some introduction parag...

Roger Dingledine authored 13 years ago

32)     companies sometimes force employees to use a modified browser,
33)     so the company can listen in on all their browsing. We've even <a
34)     href="https://blog.torproject.org/blog/diginotar-debacle-and-what-you-should-do-about-it">seen</a>
35)     attackers who have the ability to trick your browser into thinking
36)     you're talking to the Tor website with https when you're not.</p>
37) 
38)     <p>Some software sites list <a
39)     href="http://en.wikipedia.org/wiki/Cryptographic_hash_function">sha1
40)     hashes</a> alongside the software on their website, so users can
41)     verify that they downloaded the file without any errors. These
42)     "checksums" help you answer the question "Did I download this file
43)     correctly from whoever sent it to me?" They do a good job at making
44)     sure you didn't have any random errors in your download, but they
45)     don't help you figure out whether you were downloading it from the
46)     attacker. The better question to answer is: "Is this file that I
47)     just downloaded the file that Tor intended me to get?"</p>
48) 
Roger Dingledine add another heading on veri...

Roger Dingledine authored 13 years ago

49)     <h3>Where do I get the signatures and the keys that made them?</h3>
50)     <hr>
51) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

52)     <p>Each file on <a href="<page download/download>">our download
53)     page</a> is accompanied by a file with the same name as the
54)     package and the extension ".asc". These .asc files are GPG
55)     signatures. They allow you to verify the file you've downloaded
56)     is exactly the one that we intended you to get. For example,
57)     tor-browser-<version-torbrowserbundle>_en-US.exe is accompanied by
Roger Dingledine link to the signing keys page

Roger Dingledine authored 13 years ago

58)     tor-browser-<version-torbrowserbundle>_en-US.exe.asc. For a list
59)     of which developer signs which package, see our <a href="<page
60)     docs/signing-keys>">signing keys</a> page.</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

61) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

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

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 13 years ago

64) 
Roger Dingledine add some introduction parag...

Roger Dingledine authored 13 years ago

65)     <p>You need to have GnuPG installed before
66)     you can verify signatures. Download it from <a
67)     href="http://gpg4win.org/download.html">http://gpg4win.org/download.html</a>.</p>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

68) 
69)     <p>Once it's installed, use GnuPG to import the key that signed your
70)     package. Since GnuPG for Windows is a command-line tool, you will need
71)     to use <i>cmd.exe</i>. Unless you edit your PATH environment variable,
72)     you will need to tell Windows the full path to the GnuPG program. If
73)     you installed GnuPG with the default values, the path should be
74)     something like this: <i>C:\Program Files\Gnu\GnuPg\gpg.exe</i>.</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

75) 
Erinn Clark add a note for win8 users s...

Erinn Clark authored 11 years ago

76)     <p><strong>Note for Windows 8 Users:</strong> Your GnuPG binary is probably
77)     located at <i>C:\Program Files (x86)\Gnu\GnuPg\gpg2.exe</i>. You should replace
78)     all of the commands below with this path instead.</p>
79) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

80)     <p>Erinn Clark signs the Tor Browser Bundles. Import her key
Moritz Bartl switching to longer key ids

Moritz Bartl authored 11 years ago

81)     (0x416F061063FEE659) by starting <i>cmd.exe</i> and typing:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

82) 
Moritz Bartl switching to longer key ids

Moritz Bartl authored 11 years ago

83)     <pre>"C:\Program Files\Gnu\GnuPg\gpg.exe" --keyserver x-hkp://pool.sks-keyservers.net --recv-keys 0x416F061063FEE659</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

84) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

85)     <p>After importing the key, you can verify that the fingerprint
86)     is correct:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

87) 
Moritz Bartl switching to longer key ids

Moritz Bartl authored 11 years ago

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

Roger Dingledine authored 13 years ago

89) 
90)     <p>You should see:</p>
91)     <pre>
92)     pub   2048R/63FEE659 2003-10-16
93)           Key fingerprint = 8738 A680 B84B 3031 A630  F2DB 416F 0610 63FE E659
94)     uid                  Erinn Clark &lt;erinn@torproject.org&gt;
95)     uid                  Erinn Clark &lt;erinn@debian.org&gt;
96)     uid                  Erinn Clark &lt;erinn@double-helix.org&gt;
97)     sub   2048R/EB399FD7 2003-10-16
98) </pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

99) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

100)     <p>To verify the signature of the package you downloaded, you will need
101)     to download the ".asc" file as well. Assuming you downloaded the
102)     package and its signature to your Desktop, run:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

103) 
Moritz Bartl examples use torbrowser bun...

Moritz Bartl authored 11 years ago

104)     <pre>"C:\Program Files\Gnu\GnuPg\gpg.exe" --verify C:\Users\Alice\Desktop\tor-browser-<version-torbrowserbundle>_en-US.exe.asc C:\Users\Alice\Desktop\tor-browser-<version-torbrowserbundle>_en-US.exe</pre>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

105) 
106)     <p>The output should say "Good signature": </p>
107) 
108)     <pre>
109)     gpg: Signature made Wed 31 Aug 2011 06:37:01 PM EDT using RSA key ID 63FEE659
110)     gpg: Good signature from "Erinn Clark &lt;erinn@torproject.org&gt;"
111)     gpg:                 aka "Erinn Clark &lt;erinn@debian.org&gt;"
112)     gpg:                 aka "Erinn Clark &lt;erinn@double-helix.org&gt;"
113)     gpg: WARNING: This key is not certified with a trusted signature!
114)     gpg:          There is no indication that the signature belongs to the owner.
115)     Primary key fingerprint: 8738 A680 B84B 3031 A630  F2DB 416F 0610 63FE E659
116)     </pre>
117) 
118)     <p>
119)     Notice that there is a warning because you haven't assigned a trust
120)     index to this person. This means that GnuPG verified that the key made
121)     that signature, but it's up to you to decide if that key really belongs
122)     to the developer. The best method is to meet the developer in person and
123)     exchange key fingerprints.
124)     </p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

125) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

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

Sebastian Hahn authored 14 years ago

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

Roger Dingledine authored 13 years ago

128) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

129)     <p>You need to have GnuPG installed before you can verify
130)     signatures. You can install it from <a
Andrew Lewman implement ticket 4377.

Andrew Lewman authored 13 years ago

131)     href="http://www.gpgtools.org/">http://www.gpgtools.org/</a>.
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

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

Roger Dingledine authored 13 years ago

133) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

134)     <p>Once it's installed, use GnuPG to import the key that signed
135)     your package. Erinn Clark signs the Tor Browser Bundles. Import her
Moritz Bartl switching to longer key ids

Moritz Bartl authored 11 years ago

136)     key (0x416F061063FEE659) by starting the terminal (under "Applications")
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

137)     and typing:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

138) 
Moritz Bartl switching to longer key ids

Moritz Bartl authored 11 years ago

139)     <pre>gpg --keyserver x-hkp://pool.sks-keyservers.net --recv-keys 0x416F061063FEE659</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

140) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

141)     <p>After importing the key, you can verify that the fingerprint
142)     is correct:</p>
143) 
Moritz Bartl switching to longer key ids

Moritz Bartl authored 11 years ago

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

Roger Dingledine authored 13 years ago

145) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

146)     <p>You should see:</p>
147)     <pre>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

148)     pub   2048R/63FEE659 2003-10-16
149)           Key fingerprint = 8738 A680 B84B 3031 A630  F2DB 416F 0610 63FE E659
150)     uid                  Erinn Clark &lt;erinn@torproject.org&gt;
151)     uid                  Erinn Clark &lt;erinn@debian.org&gt;
152)     uid                  Erinn Clark &lt;erinn@double-helix.org&gt;
153)     sub   2048R/EB399FD7 2003-10-16
154)     </pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

155) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

156)     <p>To verify the signature of the package you downloaded, you will need
157)     to download the ".asc" file as well. Assuming you downloaded the
158)     package and its signature to your Desktop, run:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

159) 
Moritz Bartl examples use torbrowser bun...

Moritz Bartl authored 11 years ago

160)     <pre>gpg --verify /Users/Alice/TorBrowser-<version-torbrowserbundleosx32>-osx-i386-en-US.zip{.asc,}</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

161) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

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

Roger Dingledine authored 13 years ago

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

Andrew Lewman authored 14 years ago

164)     <pre>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

165)     gpg: Signature made Wed 31 Aug 2011 06:37:01 PM EDT using RSA key ID 63FEE659
166)     gpg: Good signature from "Erinn Clark &lt;erinn@torproject.org&gt;"
167)     gpg:                 aka "Erinn Clark &lt;erinn@debian.org&gt;"
168)     gpg:                 aka "Erinn Clark &lt;erinn@double-helix.org&gt;"
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

169)     gpg: WARNING: This key is not certified with a trusted signature!
170)     gpg:          There is no indication that the signature belongs to the owner.
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

171)     Primary key fingerprint: 8738 A680 B84B 3031 A630  F2DB 416F 0610 63FE E659
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

172)     </pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

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

Andrew Lewman authored 14 years ago

174)     <p>
175)     Notice that there is a warning because you haven't assigned a trust
176)     index to this person. This means that GnuPG verified that the key made
177)     that signature, but it's up to you to decide if that key really belongs
178)     to the developer. The best method is to meet the developer in person and
179)     exchange key fingerprints.
180)     </p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

181) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

182)     <h3>Linux</h3>
183)     <hr>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

184) 
Roger Dingledine explain that linux users ar...

Roger Dingledine authored 13 years ago

185)     <p>Most Linux distributions come with gpg preinstalled, so users
186)     who want to verify the Tor Browser Bundle for Linux (or the source
187)     tarball) can just follow along with the instructions above for
Roger Dingledine mention sebastian's role in...

Roger Dingledine authored 12 years ago

188)     "Mac OS X". Note that sometimes Sebastian Hahn (key 0x140C961B)
189)     signs the Linux TBB packages.</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

190) 
Roger Dingledine explain that linux users ar...

Roger Dingledine authored 13 years ago

191)     <p>If you're using the <b>Debian</b> packages, you should read the
192)     instructions on <a href="<page docs/debian>#packages">importing
193)     these keys to apt</a>.</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

194) 
Roger Dingledine explain that linux users ar...

Roger Dingledine authored 13 years ago

195)     <p>If you're using the <b>RPMs</b>, you can manually verify the
196)     signatures on the RPM packages by <pre>rpm -K filename.rpm</pre></p>
197) 
198)     <p>See <a
199)     href="http://www.gnupg.org/documentation/">http://www.gnupg.org/documentation/</a>
200)     to learn more about GPG.</p>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 13 years ago

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

Andrew Lewman authored 14 years ago

202)   </div>
203)   <!-- END MAINCOL -->
204)   <div id = "sidecol">
205) #include "side.wmi"
206) #include "info.wmi"
207)   </div>
208)   <!-- END SIDECOL -->
209) </div>
210) <!-- END CONTENT -->