f56e105e6789689efa6b93984c9bde18c82c1379
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) 
Roger Dingledine add some introduction parag...

Roger Dingledine authored 12 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 12 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 12 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 12 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 12 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 12 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 12 years ago

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

Sebastian Hahn authored 13 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 12 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 12 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) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

76)     <p>Erinn Clark signs the Tor Browser Bundles. Import her key
77)     (0x63FEE659) by starting <i>cmd.exe</i> and typing:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

78) 
Roger Dingledine try a different keyserver t...

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

80) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

83) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

84)     <pre>C:\Program Files\Gnu\GnuPg\gpg.exe --fingerprint 0x63FEE659</pre>
85) 
86)     <p>You should see:</p>
87)     <pre>
88)     pub   2048R/63FEE659 2003-10-16
89)           Key fingerprint = 8738 A680 B84B 3031 A630  F2DB 416F 0610 63FE E659
90)     uid                  Erinn Clark &lt;erinn@torproject.org&gt;
91)     uid                  Erinn Clark &lt;erinn@debian.org&gt;
92)     uid                  Erinn Clark &lt;erinn@double-helix.org&gt;
93)     sub   2048R/EB399FD7 2003-10-16
94) </pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

95) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

99) 
Robert Ransom Specify the bundle on the G...

Robert Ransom authored 12 years ago

100)     <pre>C:\Program Files\Gnu\GnuPg\gpg.exe --verify C:\Users\Alice\Desktop\<file-win32-bundle-stable>.asc C:\Users\Alice\Desktop\<file-win32-bundle-stable></pre>
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

121) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Sebastian Hahn authored 13 years ago

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

Roger Dingledine authored 13 years ago

124) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Andrew Lewman authored 12 years ago

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

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

129) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

130)     <p>Once it's installed, use GnuPG to import the key that signed
131)     your package. Erinn Clark signs the Tor Browser Bundles. Import her
132)     key (0x63FEE659) by starting the terminal (under "Applications")
133)     and typing:</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

134) 
Roger Dingledine try a different keyserver t...

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

136) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

137)     <p>After importing the key, you can verify that the fingerprint
138)     is correct:</p>
139) 
140)     <pre>gpg --fingerprint 0x63FEE659</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

141) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Andrew Lewman authored 13 years ago

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

Roger Dingledine authored 13 years ago

151) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

155) 
Robert Ransom Specify the bundle on the G...

Robert Ransom authored 12 years ago

156)     <pre>gpg --verify /Users/Alice/<file-osx-x86-bundle-stable>{.asc,}</pre>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

157) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

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

Andrew Lewman authored 13 years ago

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

Roger Dingledine authored 12 years ago

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

Andrew Lewman authored 13 years ago

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

Roger Dingledine authored 12 years ago

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

Andrew Lewman authored 13 years ago

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

Roger Dingledine authored 13 years ago

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

Andrew Lewman authored 13 years ago

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

Roger Dingledine authored 13 years ago

177) 
Roger Dingledine the verifying signatures pa...

Roger Dingledine authored 12 years ago

178)     <h3>Linux</h3>
179)     <hr>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

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

Roger Dingledine authored 12 years ago

181)     <p>Most Linux distributions come with gpg preinstalled, so users
182)     who want to verify the Tor Browser Bundle for Linux (or the source
183)     tarball) can just follow along with the instructions above for
184)     "Mac OS X".</p>
Roger Dingledine clear trailing whitespaces;...

Roger Dingledine authored 13 years ago

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

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 13 years ago

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

Roger Dingledine authored 12 years ago

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

Roger Dingledine authored 12 years ago

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

Andrew Lewman authored 13 years ago

197)   </div>
198)   <!-- END MAINCOL -->
199)   <div id = "sidecol">
200) #include "side.wmi"
201) #include "info.wmi"
202)   </div>
203)   <!-- END SIDECOL -->
204) </div>
205) <!-- END CONTENT -->