Commit | Line | Data |
---|---|---|
bdf319c4 | 1 | <!DOCTYPE html> |
19bce4d7 | 2 | <html lang="en"> |
116f80c3 | 3 | <head> |
19bce4d7 TG |
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
5 | <title>Email Self-Defense - a guide to fighting surveillance with GnuPG | |
6 | encryption</title> | |
7 | <meta name="keywords" content="GnuPG, GPG, openpgp, surveillance, privacy, | |
8 | email, Enigmail" /> | |
9 | <meta name="description" content="Email surveillance violates our fundamental | |
10 | rights and makes free speech risky. This guide will teach you email | |
11 | self-defense in 40 minutes with GnuPG." /> | |
12 | <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
13 | <link rel="stylesheet" href="//static.fsf.org/nosvn/enc-dev0/css/main.css" /> | |
14 | <link rel="shortcut icon" | |
15 | href="//static.fsf.org/nosvn/enc-dev0/img/favicon.ico" /> | |
116f80c3 | 16 | </head> |
19bce4d7 | 17 | |
61deaabd | 18 | <body> |
b3eff1c4 | 19 | |
19bce4d7 TG |
20 | <!-- ~~~~~~~~~ GnuPG Header and introduction text ~~~~~~~~~ --> |
21 | <header class="row" id="header"><div> | |
116f80c3 | 22 | |
19bce4d7 | 23 | <h1>Email Self-Defense</h1> |
116f80c3 | 24 | |
19bce4d7 TG |
25 | <!-- Language list for browsers that do not have JS enabled --> |
26 | <ul id="languages" class="os"> | |
7c4f505e | 27 | <li><a class="current" href="/en">English - v4.0</a></li> |
c1fa777e | 28 | <li><a href="/cs">čeština - v4.0</a></li> |
f7d7ddc2 | 29 | <li><a href="/de">Deutsch - v4.0</a></li> |
7c4f505e ZR |
30 | <li><a href="/el">ελληνικά - v3.0</a></li> |
31 | <li><a href="/es">español - v4.0</a></li> | |
32 | <li><a href="/fa">فارسی - v4.0</a></li> | |
33 | <li><a href="/fr">français - v4.0</a></li> | |
34 | <li><a href="/it">italiano - v3.0</a></li> | |
35 | <li><a href="/ja">日本語 - v4.0</a></li> | |
7c4f505e ZR |
36 | <li><a href="/pt-br">português do Brasil - v3.0</a></li> |
37 | <li><a href="/ro">română - v3.0</a></li> | |
38 | <li><a href="/ru">русский - v4.0</a></li> | |
9197724d | 39 | <li><a href="/sq">Shqip - v4.0</a></li> |
7c4f505e ZR |
40 | <li><a href="/sv">svenska - v4.0</a></li> |
41 | <li><a href="/tr">Türkçe - v4.0</a></li> | |
597f7b15 | 42 | <li><a href="/zh-hans">简体中文 - v4.0</a></li> |
ce9d37a4 TG |
43 | <li><a href="https://libreplanet.org/wiki/GPG_guide/Translation_Guide"> |
44 | <strong><span style="color: #2F5FAA;">Translate!</span></strong></a></li> | |
19bce4d7 TG |
45 | </ul> |
46 | ||
47 | <ul id="menu" class="os"> | |
48 | <li class="spacer"><a href="index.html" class="current">GNU/Linux</a></li> | |
49 | <li><a href="mac.html">Mac OS</a></li> | |
50 | <li><a href="windows.html">Windows</a></li> | |
f211d856 I |
51 | <li class="spacer"><a href="workshops.html">Teach your friends</a></li> |
52 | <li class="spacer"><a | |
53 | href="https://fsf.org/share?u=https://u.fsf.org/zb&t=Email encryption for everyone via %40fsf"> | |
54 | Share | |
55 | <img src="//static.fsf.org/nosvn/enc-dev0/img/gnu-social.png" class="share-logo" | |
19bce4d7 | 56 | alt="[GNU Social]" /> |
f211d856 | 57 | <img src="//static.fsf.org/nosvn/enc-dev0/img/pump.io.png" class="share-logo" |
19bce4d7 | 58 | alt="[Pump.io]" /> |
f211d856 | 59 | <img src="//static.fsf.org/nosvn/enc-dev0/img/reddit-alien.png" class="share-logo" |
19bce4d7 | 60 | alt="[Reddit]" /> |
f211d856 I |
61 | <img src="//static.fsf.org/nosvn/enc-dev0/img/hacker-news.png" class="share-logo" |
62 | alt="[Hacker News]" /></a></li> | |
19bce4d7 TG |
63 | </ul> |
64 | ||
65 | <!-- ~~~~~~~~~ FSF Introduction ~~~~~~~~~ --> | |
66 | <div id="fsf-intro"> | |
67 | ||
68 | <h3><a href="http://u.fsf.org/ys"><img | |
69 | alt="Free Software Foundation" | |
70 | src="//static.fsf.org/nosvn/enc-dev0/img/fsf-logo.png" /> | |
71 | </a></h3> | |
72 | ||
73 | <div class="fsf-emphasis"> | |
74 | ||
75 | <p>We fight for computer users' rights, and promote the development of free (as | |
76 | in freedom) software. Resisting bulk surveillance is very important to us.</p> | |
77 | ||
78 | <p><strong>Please donate to support Email Self-Defense. We need to keep | |
79 | improving it, and making more materials, for the benefit of people around | |
80 | the world taking the first step towards protecting their privacy.</strong></p> | |
81 | ||
82 | </div> | |
83 | ||
84 | <p><a | |
85 | href="https://crm.fsf.org/civicrm/contribute/transact?reset=1&id=14&pk_campaign=email_self_defense&pk_kwd=guide_donate"><img | |
86 | alt="Donate" | |
87 | src="//static.fsf.org/nosvn/enc-dev0/img/en/donate.png" /></a></p> | |
88 | ||
89 | </div><!-- End #fsf-intro --> | |
90 | ||
91 | <!-- ~~~~~~~~~ Guide Introduction ~~~~~~~~~ --> | |
92 | <div class="intro"> | |
93 | ||
94 | <p><a id="infographic" href="infographic.html"><img | |
95 | src="//static.fsf.org/nosvn/enc-dev0/img/en/infographic-button.png" | |
96 | alt="View & share our infographic →" /></a> | |
97 | Bulk surveillance violates our fundamental rights and makes free speech | |
5b97f4df TG |
98 | risky. This guide will teach you a basic surveillance self-defense skill: email |
99 | encryption. Once you've finished, you'll be able to send and receive emails | |
100 | that are scrambled to make sure a surveillance agent or thief intercepting | |
101 | your email can't read them. All you need is a computer with an Internet | |
102 | connection, an email account, and about forty minutes.</p> | |
19bce4d7 TG |
103 | |
104 | <p>Even if you have nothing to hide, using encryption helps protect the privacy | |
105 | of people you communicate with, and makes life difficult for bulk surveillance | |
106 | systems. If you do have something important to hide, you're in good company; | |
107 | these are the same tools that whistleblowers use to protect their identities | |
108 | while shining light on human rights abuses, corruption and other crimes.</p> | |
109 | ||
110 | <p>In addition to using encryption, standing up | |
111 | to surveillance requires fighting politically for a <a | |
112 | href="http://gnu.org/philosophy/surveillance-vs-democracy.html">reduction | |
113 | in the amount of data collected on us</a>, but the essential first step is | |
114 | to protect yourself and make surveillance of your communication as difficult | |
115 | as possible. This guide helps you do that. It is designed for beginners, but | |
116 | if you already know the basics of GnuPG or are an experienced free software | |
117 | user, you'll enjoy the advanced tips and the <a href="workshops.html">guide | |
118 | to teaching your friends</a>.</p> | |
119 | ||
120 | </div><!-- End .intro --> | |
121 | </div></header><!-- End #header --> | |
122 | ||
123 | <!-- ~~~~~~~~~ Section 1: Get the pieces ~~~~~~~~~ --> | |
124 | <section class="row" id="section1"><div> | |
125 | ||
126 | <!-- ~~~~~~~~~ section introduction: interspersed text ~~~~~~~~~ --> | |
127 | <div class="section-intro"> | |
128 | ||
129 | <h2><em>#1</em> Get the pieces</h2> | |
130 | ||
131 | <p class="notes">This guide relies on software which is <a | |
132 | href="https://www.gnu.org/philosophy/free-sw.html">freely licensed</a>; | |
133 | it's completely transparent and anyone can copy it or make their | |
134 | own version. This makes it safer from surveillance than proprietary | |
135 | software (like Windows). Learn more about free software at <a | |
136 | href="https://u.fsf.org/ys">fsf.org</a>.</p> | |
137 | ||
138 | <p>Most GNU/Linux operating systems come with GnuPG installed on them, | |
139 | so you don't have to download it. Before configuring GnuPG though, you'll | |
140 | need the IceDove desktop email program installed on your computer. Most | |
141 | GNU/Linux distributions have IceDove installed already, though it may be | |
142 | under the alternate name "Thunderbird." Email programs are another way to | |
143 | access the same email accounts you can access in a browser (like Gmail), | |
144 | but provide extra features.</p> | |
145 | ||
146 | <p>If you already have an email program, you can skip to <a | |
147 | href="#step-1b">Step 1.b</a>.</p> | |
148 | ||
149 | </div><!-- End .section-intro --> | |
150 | ||
151 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
152 | <div id="step-1a" class="step"> | |
153 | <div class="sidebar"> | |
154 | ||
155 | <p><img | |
156 | src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/step1a-install-wizard.png" | |
157 | alt="Step 1.A: Install Wizard" /></p> | |
158 | ||
159 | </div><!-- /.sidebar --> | |
160 | <div class="main"> | |
161 | ||
162 | <h3><em>Step 1.a</em> Set up your email program with your email account</h3> | |
163 | ||
164 | <p>Open your email program and follow the wizard (step-by-step walkthrough) | |
165 | that sets it up with your email account.</p> | |
166 | ||
167 | <p>Look for the letters SSL, TLS, or STARTTLS to the right of the servers | |
168 | when you're setting up your account. If you don't see them, you will still | |
169 | be able to use encryption, but this means that the people running your email | |
170 | system are running behind the industry standard in protecting your security | |
171 | and privacy. We recommend that you send them a friendly email asking them | |
172 | to enable SSL, TLS, or STARTTLS for your email server. They will know what | |
173 | you're talking about, so it's worth making the request even if you aren't | |
174 | an expert on these security systems.</p> | |
175 | ||
176 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
177 | <div class="troubleshooting"> | |
178 | ||
179 | <h4>Troubleshooting</h4> | |
180 | ||
181 | <dl> | |
182 | <dt>The wizard doesn't launch</dt> | |
183 | <dd>You can launch the wizard yourself, but the menu option for doing so is | |
184 | named differently in each email program. The button to launch it will be in | |
185 | the program's main menu, under "New" or something similar, titled something | |
186 | like "Add account" or "New/Existing email account."</dd> | |
187 | ||
188 | <dt>The wizard can't find my account or isn't downloading my mail</dt> | |
189 | <dd>Before searching the Web, we recommend you start by asking other people | |
190 | who use your email system, to figure out the correct settings.</dd> | |
191 | ||
192 | <dt class="feedback">Don't see a solution to your problem?</dt> | |
193 | <dd class="feedback">Please let us know on the <a | |
194 | href="https://libreplanet.org/wiki/GPG_guide/Public_Review">feedback | |
195 | page</a>.</dd> | |
196 | </dl> | |
197 | ||
198 | </div><!-- /.troubleshooting --> | |
199 | </div><!-- End .main --> | |
200 | </div><!-- End #step1-a .step --> | |
201 | ||
202 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
203 | <div id="step-1b" class="step"> | |
204 | <div class="sidebar"> | |
19bce4d7 | 205 | <ul class="images"> |
f211d856 | 206 | <li><img src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/step1b-01-tools-addons.png" |
19bce4d7 | 207 | alt="Step 1.B: Tools -> Add-ons" /></li> |
f211d856 | 208 | <li><img src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/step1b-02-search.png" |
19bce4d7 | 209 | alt="Step 1.B: Search Add-ons" /></li> |
f211d856 | 210 | <li><img src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/step1b-03-install.png" |
19bce4d7 TG |
211 | alt="Step 1.B: Install Add-ons" /></li> |
212 | </ul> | |
213 | ||
214 | </div><!-- /.sidebar --> | |
215 | <div class="main"> | |
216 | ||
217 | <h3><em>Step 1.b</em> Install the Enigmail plugin for your email program</h3> | |
218 | ||
219 | <p>In your email program's menu, select Add-ons (it may be in the Tools | |
f211d856 I |
220 | section). Make sure Extensions is selected on the left. Do you see Enigmail? |
221 | Make sure it's the latest version. If so, skip this step.</p> | |
19bce4d7 TG |
222 | |
223 | <p>If not, search "Enigmail" with the search bar in the upper right. You | |
224 | can take it from here. Restart your email program when you're done.</p> | |
225 | ||
64af8734 TG |
226 | <p>There are major security flaws in versions of GnuPG prior to 2.2.8, and |
227 | Enigmail prior to 2.0.7. Make sure you have GnuPG 2.2.8 and Enigmail 2.0.7, | |
228 | or later versions.</p> | |
229 | ||
19bce4d7 TG |
230 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> |
231 | <div class="troubleshooting"> | |
232 | ||
233 | <h4>Troubleshooting</h4> | |
234 | ||
235 | <dl> | |
236 | <dt>I can't find the menu.</dt> | |
237 | <dd>In many new email programs, the main menu is represented by an image of | |
238 | three stacked horizontal bars.</dd> | |
239 | ||
240 | <dt>My email looks weird</dt> | |
241 | <dd>Enigmail doesn't tend to play nice with HTML, which is used to format | |
242 | emails, so it may disable your HTML formatting automatically. To send an | |
243 | HTML-formatted email without encryption or a signature, hold down the Shift | |
244 | key when you select compose. You can then write an email as if Enigmail | |
245 | wasn't there.</dd> | |
246 | ||
247 | <dt class="feedback">Don't see a solution to your problem?</dt> | |
248 | <dd class="feedback">Please let us know on the <a | |
249 | href="https://libreplanet.org/wiki/GPG_guide/Public_Review">feedback | |
250 | page</a>.</dd> | |
251 | </dl> | |
252 | ||
253 | </div><!-- /.troubleshooting --> | |
254 | </div><!-- End .main --> | |
255 | </div><!-- End #step-1b .step --> | |
256 | </div></section><!-- End #section1 --> | |
257 | ||
258 | <!-- ~~~~~~~~~ Section 2: Make your keys ~~~~~~~~~ --> | |
259 | <section class="row" id="section2"><div> | |
260 | ||
261 | <!-- ~~~~~~~~~ section introduction: interspersed text ~~~~~~~~~ --> | |
262 | <div class="section-intro"> | |
263 | ||
264 | <h2><em>#2</em> Make your keys</h2> | |
265 | ||
266 | <p>To use the GnuPG system, you'll need a public key and a private key (known | |
267 | together as a keypair). Each is a long string of randomly generated numbers | |
268 | and letters that are unique to you. Your public and private keys are linked | |
269 | together by a special mathematical function.</p> | |
270 | ||
271 | <p>Your public key isn't like a physical key, because it's stored in the open | |
272 | in an online directory called a keyserver. People download it and use it, | |
273 | along with GnuPG, to encrypt emails they send to you. You can think of the | |
274 | keyserver as a phonebook; people who want to send you encrypted email can | |
275 | look up your public key.</p> | |
276 | ||
277 | <p>Your private key is more like a physical key, because you keep it to | |
278 | yourself (on your computer). You use GnuPG and your private key together to | |
279 | descramble encrypted emails other people send to you. <span style="font-weight: | |
c902d991 | 280 | bold;">You should never share your private key with anyone, under any |
19bce4d7 TG |
281 | circumstances.</span></p> |
282 | ||
283 | <p>In addition to encryption and decryption, you can also use these keys to | |
284 | sign messages and check the authenticity of other people's signatures. We'll | |
285 | discuss this more in the next section.</p> | |
286 | ||
287 | </div><!-- End .section-intro --> | |
288 | ||
289 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
290 | <div id="step-2a" class="step"> | |
291 | <div class="sidebar"> | |
292 | ||
293 | <p><img | |
294 | src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/step2a-01-make-keypair.png" | |
295 | alt="Step 2.A: Make a Keypair" /></p> | |
296 | ||
297 | </div><!-- /.sidebar --> | |
298 | <div class="main"> | |
299 | ||
300 | <h3><em>Step 2.a</em> Make a keypair</h3> | |
301 | ||
302 | <p>The Enigmail Setup wizard may start automatically. If it doesn't, select | |
303 | Enigmail → Setup Wizard from your email program's menu. You don't need | |
304 | to read the text in the window that pops up unless you'd like to, but it's | |
305 | good to read the text on the later screens of the wizard. Click Next with | |
306 | the default options selected, except in these instances, which are listed | |
307 | in the order they appear:</p> | |
308 | ||
309 | <ul> | |
310 | <li>On the screen titled "Encryption," select "Encrypt all of my messages | |
311 | by default, because privacy is critical to me."</li> | |
312 | ||
313 | <li>On the screen titled "Signing," select "Don't sign my messages by | |
314 | default."</li> | |
315 | ||
316 | <li>On the screen titled "Key Selection," select "I want to create a new | |
317 | key pair for signing and encrypting my email."</li> | |
318 | ||
319 | <li>On the screen titled "Create Key," pick a strong password! You can | |
320 | do it manually, or you can use the Diceware method. Doing it manually | |
321 | is faster but not as secure. Using Diceware takes longer and requires | |
4d10d72d | 322 | dice, but creates a password that is much harder for attackers to figure |
19bce4d7 | 323 | out. To use it, read the section "Make a secure passphrase with Diceware" in <a |
f211d856 I |
324 | href="https://theintercept.com/2015/03/26/passphrases-can-memorize-attackers-cant-guess/"> |
325 | this article</a> by Micah Lee.</li> | |
19bce4d7 TG |
326 | </ul> |
327 | ||
328 | <p>If you'd like to pick a password manually, come up with something | |
329 | you can remember which is at least twelve characters long, and includes | |
330 | at least one lower case and upper case letter and at least one number or | |
331 | punctuation symbol. Never pick a password you've used elsewhere. Don't use | |
332 | any recognizable patterns, such as birthdays, telephone numbers, pets' names, | |
333 | song lyrics, quotes from books, and so on.</p> | |
334 | ||
335 | <p class="notes">The program will take a little while to finish the next | |
336 | step, the "Key Creation" screen. While you wait, do something else with your | |
337 | computer, like watching a movie or browsing the Web. The more you use the | |
338 | computer at this point, the faster the key creation will go.</p> | |
339 | ||
340 | <p><span style="font-weight: bold;">When the "Key Generation Completed" screen | |
341 | pops up, select Generate Certificate and choose to save it in a safe place on | |
342 | your computer (we recommend making a folder called "Revocation Certificate" | |
343 | in your home folder and keeping it there). This step is essential for your | |
344 | email self-defense, as you'll learn more about in <a href="#section5">Section | |
345 | 5</a>.</span></p> | |
346 | ||
347 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
348 | <div class="troubleshooting"> | |
349 | ||
350 | <h4>Troubleshooting</h4> | |
351 | ||
352 | <dl> | |
353 | <dt>I can't find the Enigmail menu.</dt> | |
354 | <dd>In many new email programs, the main menu is represented by an image | |
355 | of three stacked horizontal bars. Enigmail may be inside a section called | |
356 | Tools.</dd> | |
357 | ||
358 | <dt>The wizard says that it cannot find GnuPG.</dt> | |
359 | <dd>Open whatever program you usually use for installing software, and search | |
360 | for GnuPG, then install it. Then restart the Enigmail setup wizard by going | |
361 | to Enigmail → Setup Wizard.</dd> | |
362 | ||
19bce4d7 TG |
363 | <dt>More resources</dt> |
364 | <dd>If you're having trouble with our | |
365 | instructions or just want to learn more, check out <a | |
aed149ff | 366 | href="https://www.enigmail.net/documentation/Key_Management#Generating_your_own_key_pair"> |
f211d856 | 367 | Enigmail's wiki instructions for key generation</a>.</dd> |
19bce4d7 TG |
368 | |
369 | <dt class="feedback">Don't see a solution to your problem?</dt> | |
370 | <dd class="feedback">Please let us know on the <a | |
371 | href="https://libreplanet.org/wiki/GPG_guide/Public_Review">feedback | |
372 | page</a>.</dd> | |
373 | </dl> | |
374 | ||
375 | </div><!-- /.troubleshooting --> | |
376 | ||
377 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
378 | <div class="troubleshooting"> | |
379 | ||
380 | <h4>Advanced</h4> | |
381 | ||
382 | <dl> | |
383 | <dt>Command line key generation</dt> | |
384 | <dd>If you prefer using the command line for a higher | |
385 | degree of control, you can follow the documentation from <a | |
386 | href="https://www.gnupg.org/gph/en/manual/c14.html#AEN25">The GNU Privacy | |
387 | Handbook</a>. Make sure you stick with "RSA and RSA" (the default), | |
388 | because it's newer and more secure than the algorithms the documentation | |
389 | recommends. Also make sure your key is at least 2048 bits, or 4096 if you | |
390 | want to be extra secure.</dd> | |
391 | ||
392 | <dt>Advanced key pairs</dt> | |
393 | <dd>When GnuPG creates a new keypair, it compartmentalizes | |
394 | the encryption function from the signing function through <a | |
395 | href="https://wiki.debian.org/Subkeys">subkeys</a>. If you use | |
396 | subkeys carefully, you can keep your GnuPG identity much more | |
397 | secure and recover from a compromised key much more quickly. <a | |
398 | href="https://alexcabal.com/creating-the-perfect-gpg-keypair/">Alex Cabal</a> | |
399 | and <a href="http://keyring.debian.org/creating-key.html">the Debian wiki</a> | |
400 | provide good guides for setting up a secure subkey configuration.</dd> | |
401 | </dl> | |
402 | ||
403 | </div><!-- /.troubleshooting --> | |
404 | </div><!-- End .main --> | |
405 | </div><!-- End #step-2a .step --> | |
406 | ||
407 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
408 | <div id="step-2b" class="step"> | |
409 | <div class="main"> | |
410 | ||
411 | <h3><em>Step 2.b</em> Upload your public key to a keyserver</h3> | |
412 | ||
413 | <p>In your email program's menu, select Enigmail → Key Management.</p> | |
414 | ||
9b90ef7b | 415 | <p>Right click on your key and select Upload Public Keys to Keyserver. You don't have to use the default keyserver. If, after research, you would like to change to a different default keyserver, you can change that setting manually in the Enigmail preferences.</p> |
19bce4d7 TG |
416 | |
417 | <p class="notes">Now someone who wants to send you an encrypted message can | |
418 | download your public key from the Internet. There are multiple keyservers | |
419 | that you can select from the menu when you upload, but they are all copies | |
420 | of each other, so it doesn't matter which one you use. However, it sometimes | |
421 | takes a few hours for them to match each other when a new key is uploaded.</p> | |
422 | ||
423 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
424 | <div class="troubleshooting"> | |
425 | ||
426 | <h4>Troubleshooting</h4> | |
427 | ||
428 | <dl> | |
429 | <dt>The progress bar never finishes</dt> | |
430 | <dd>Close the upload popup, make sure you are connected to the Internet, | |
431 | and try again. If that doesn't work, try again, selecting a different | |
432 | keyserver.</dd> | |
433 | ||
434 | <dt>My key doesn't appear in the list</dt> | |
435 | <dd>Try checking "Display All Keys by Default."</dd> | |
436 | ||
437 | <dt>More documentation</dt> | |
438 | <dd>If you're having trouble with our | |
439 | instructions or just want to learn more, check out <a | |
aed149ff | 440 | href="https://www.enigmail.net/documentation/Key_Management#Distributing_your_public_key"> |
f211d856 | 441 | Enigmail's documentation</a>.</dd> |
19bce4d7 TG |
442 | |
443 | <dt class="feedback">Don't see a solution to your problem?</dt> | |
444 | <dd class="feedback">Please let us know on the <a | |
445 | href="https://libreplanet.org/wiki/GPG_guide/Public_Review">feedback | |
446 | page</a>.</dd> | |
447 | </dl> | |
448 | ||
449 | </div><!-- /.troubleshooting --> | |
450 | ||
451 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
452 | <div class="troubleshooting"> | |
453 | ||
454 | <h4>Advanced</h4> | |
455 | ||
456 | <dl> | |
457 | <dt>Uploading a key from the command line</dt> | |
458 | <dd>You can also upload your keys to a keyserver through the <a | |
459 | href="https://www.gnupg.org/gph/en/manual/x457.html">command line</a>. <a | |
460 | href="https://sks-keyservers.net/overview-of-pools.php">The sks Web site</a> | |
461 | maintains a list of highly interconnected keyservers. You can also <a | |
462 | href="https://www.gnupg.org/gph/en/manual/x56.html#AEN64">directly export | |
463 | your key</a> as a file on your computer.</dd> | |
464 | </dl> | |
465 | ||
466 | </div><!-- /.troubleshooting --> | |
467 | </div><!-- End .main --> | |
468 | </div><!-- End #step-2b .step --> | |
469 | ||
470 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
471 | <div id="terminology" class="step"> | |
472 | <div class="main"> | |
473 | ||
474 | <h3>GnuPG, OpenPGP, what?</h3> | |
475 | ||
476 | <p>In general, the terms GnuPG, GPG, GNU Privacy Guard, OpenPGP and PGP | |
477 | are used interchangeably. Technically, OpenPGP (Pretty Good Privacy) is the | |
478 | encryption standard, and GNU Privacy Guard (often shortened to GPG or GnuPG) | |
479 | is the program that implements the standard. Enigmail is a plug-in program | |
480 | for your email program that provides an interface for GnuPG.</p> | |
481 | ||
482 | </div><!-- End .main --> | |
483 | </div><!-- End #terminology.step--> | |
484 | </div></section><!-- End #section2 --> | |
485 | ||
486 | <!-- ~~~~~~~~~ Section 3: Try it out ~~~~~~~~~ --> | |
487 | <section class="row" id="section3"><div> | |
488 | ||
489 | <!-- ~~~~~~~~~ section introduction: interspersed text ~~~~~~~~~ --> | |
490 | <div class="section-intro"> | |
491 | ||
492 | <h2><em>#3</em> Try it out!</h2> | |
493 | ||
494 | <p>Now you'll try a test correspondence with a computer program named Edward, | |
495 | who knows how to use encryption. Except where noted, these are the same | |
496 | steps you'd follow when corresponding with a real, live person.</p> | |
497 | ||
498 | <!-- <p>NOTE: Edward is currently having some technical difficulties, so he | |
499 | may take a long time to respond, or not respond at all. We're sorry about | |
500 | this and we're working hard to fix it. Your key will still work even without | |
501 | testing with Edward.</p> --> | |
502 | </div><!-- End .section-intro --> | |
503 | ||
504 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
505 | <div id="step-3a" class="step"> | |
506 | <div class="sidebar"> | |
507 | ||
508 | <p><img | |
509 | src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/section3-try-it-out.png" | |
510 | alt="Try it out." /></p> | |
511 | ||
512 | </div><!-- /.sidebar --> | |
513 | <div class="main"> | |
514 | ||
515 | <h3><em>Step 3.a</em> Send Edward your public key</h3> | |
516 | ||
517 | <p>This is a special step that you won't have to do when corresponding | |
518 | with real people. In your email program's menu, go to Enigmail → Key | |
519 | Management. You should see your key in the list that pops up. Right click | |
520 | on your key and select Send Public Keys by Email. This will create a new | |
521 | draft message, as if you had just hit the Write button.</p> | |
522 | ||
523 | <p>Address the message to <a | |
524 | href="mailto:edward-en@fsf.org">edward-en@fsf.org</a>. Put at least one word | |
525 | (whatever you want) in the subject and body of the email. Don't send yet.</p> | |
526 | ||
527 | <p>The lock icon in the top left should be yellow, meaning encryption is | |
528 | turned on. We want this first special message to be unencrypted, so | |
529 | click the icon once to turn it off. The lock should become grey, with a | |
530 | blue dot on it (to alert you that the setting has been changed from the | |
531 | default). Once encryption is off, hit Send.</p> | |
532 | ||
533 | <p class="notes">It may take two or three minutes for Edward to | |
534 | respond. In the meantime, you might want to skip ahead and check out the <a | |
535 | href="#section5">Use it Well</a> section of this guide. Once he's responded, | |
536 | head to the next step. From here on, you'll be doing just the same thing as | |
537 | when corresponding with a real person.</p> | |
538 | ||
539 | <p>When you open Edward's reply, GnuPG may prompt you for your password | |
540 | before using your private key to decrypt it.</p> | |
541 | ||
542 | </div><!-- End .main --> | |
543 | </div><!-- End #step-3a .step --> | |
544 | ||
545 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
546 | <div id="step-3b" class="step"> | |
547 | <div class="main"> | |
548 | ||
549 | <h3><em>Step 3.b</em> Send a test encrypted email</h3> | |
550 | ||
551 | <p>Write a new email in your email program, addressed to <a | |
552 | href="mailto:edward-en@fsf.org">edward-en@fsf.org</a>. Make the subject | |
553 | "Encryption test" or something similar and write something in the body.</p> | |
554 | ||
555 | <p>The lock icon in the top left of the window should be yellow, meaning | |
556 | encryption is on. This will be your default from now on.</p> | |
557 | ||
558 | <p class="notes">Next to the lock, you'll notice an icon of a pencil. We'll | |
559 | get to this in a moment.</p> | |
560 | ||
561 | <p>Click Send. Enigmail will pop up a window that says "Recipients not valid, | |
562 | not trusted or not found."</p> | |
563 | ||
564 | <p>To encrypt an email to Edward, you need his public key, so now you'll have | |
565 | Enigmail download it from a keyserver. Click Download Missing Keys and use | |
566 | the default in the pop-up that asks you to choose a keyserver. Once it finds | |
567 | keys, check the first one (Key ID starting with C), then select ok. Select | |
568 | ok in the next pop-up.</p> | |
569 | ||
570 | <p>Now you are back at the "Recipients not valid, not trusted or not found" | |
571 | screen. Check the box in front of Edward's key and click Send.</p> | |
572 | ||
573 | <p class="notes">Since you encrypted this email with Edward's public key, | |
574 | Edward's private key is required to decrypt it. Edward is the only one with | |
575 | his private key, so no one except him can decrypt it.</p> | |
576 | ||
577 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
578 | <div class="troubleshooting"> | |
579 | ||
580 | <h4>Troubleshooting</h4> | |
581 | ||
582 | <dl> | |
583 | <dt>Enigmail can't find Edward's key</dt> | |
584 | <dd>Close the pop-ups that have appeared since you clicked Send. Make sure | |
585 | you are connected to the Internet and try again. If that doesn't work, repeat | |
586 | the process, choosing a different keyserver when it asks you to pick one.</dd> | |
587 | ||
588 | <dt>Unscrambled messages in the Sent folder</dt> | |
589 | <dd>Even though you can't decrypt messages encrypted to someone else's key, | |
590 | your email program will automatically save a copy encrypted to your public key, | |
591 | which you'll be able to view from the Sent folder like a normal email. This | |
592 | is normal, and it doesn't mean that your email was not sent encrypted.</dd> | |
593 | ||
594 | <dt>More resources</dt> | |
595 | <dd>If you're still having trouble with our | |
596 | instructions or just want to learn more, check out <a | |
aed149ff | 597 | href="https://www.enigmail.net/documentation/Signature_and_Encryption#Encrypting_a_message"> |
f211d856 | 598 | Enigmail's wiki</a>.</dd> |
19bce4d7 TG |
599 | |
600 | <dt class="feedback">Don't see a solution to your problem?</dt> | |
601 | <dd class="feedback">Please let us know on the <a | |
602 | href="https://libreplanet.org/wiki/GPG_guide/Public_Review">feedback | |
603 | page</a>.</dd> | |
604 | </dl> | |
605 | ||
606 | </div><!-- /.troubleshooting --> | |
607 | ||
608 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
609 | <div class="troubleshooting"> | |
610 | ||
611 | <h4>Advanced</h4> | |
612 | ||
613 | <dl> | |
614 | <dt>Encrypt messages from the command line</dt> | |
615 | <dd>You can also encrypt and decrypt messages and files from the <a | |
616 | href="https://www.gnupg.org/gph/en/manual/x110.html">command line</a>, | |
617 | if that's your preference. The option --armor makes the encrypted output | |
618 | appear in the regular character set.</dd> | |
619 | </dl> | |
620 | ||
621 | </div><!-- /.troubleshooting --> | |
622 | </div><!-- End .main --> | |
623 | </div><!-- End #step-3b .step --> | |
624 | ||
625 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
626 | <div id="step-headers_unencrypted" class="step"> | |
627 | <div class="main"> | |
628 | ||
629 | <h3><em>Important:</em> Security tips</h3> | |
19e80165 | 630 | |
19bce4d7 TG |
631 | <p>Even if you encrypt your email, the subject line is not encrypted, so |
632 | don't put private information there. The sending and receiving addresses | |
633 | aren't encrypted either, so a surveillance system can still figure out who | |
634 | you're communicating with. Also, surveillance agents will know that you're | |
635 | using GnuPG, even if they can't figure out what you're saying. When you | |
636 | send attachments, Enigmail will give you the choice to encrypt them or not, | |
637 | independent of the actual email.</p> | |
bdf319c4 | 638 | |
e72398d7 MB |
639 | <p>For greater security against potential attacks, you can turn off |
640 | HTML. Instead, you can render the message body as plain text. In order | |
c0c01f86 | 641 | to do this in Thunderbird, go to View > Message Body As > Plain |
e72398d7 MB |
642 | Text.</p> |
643 | ||
19bce4d7 TG |
644 | </div><!-- End .main --> |
645 | </div><!-- End #step-headers_unencrypted .step--> | |
d85363e7 | 646 | |
19bce4d7 TG |
647 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> |
648 | <div id="step-3c" class="step"> | |
649 | <div class="main"> | |
650 | ||
651 | <h3><em>Step 3.c</em> Receive a response</h3> | |
652 | ||
653 | <p>When Edward receives your email, he will use his private key to decrypt | |
f54f2134 | 654 | it, then reply to you. </p> |
19bce4d7 TG |
655 | |
656 | <p class="notes">It may take two or three minutes for Edward to | |
657 | respond. In the meantime, you might want to skip ahead and check out the <a | |
658 | href="#section5">Use it Well</a> section of this guide.</p> | |
659 | ||
19bce4d7 TG |
660 | </div><!-- End .main --> |
661 | </div><!-- End #step-3c .step --> | |
662 | ||
663 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
664 | <div id="step-3d" class="step"> | |
665 | <div class="main"> | |
666 | ||
667 | <h3><em>Step 3.d</em> Send a test signed email</h3> | |
668 | ||
669 | <p>GnuPG includes a way for you to sign messages and files, verifying that | |
670 | they came from you and that they weren't tampered with along the way. These | |
671 | signatures are stronger than their pen-and-paper cousins -- they're impossible | |
672 | to forge, because they're impossible to create without your private key | |
673 | (another reason to keep your private key safe).</p> | |
674 | ||
675 | <p>You can sign messages to anyone, so it's a great way to make people | |
676 | aware that you use GnuPG and that they can communicate with you securely. If | |
677 | they don't have GnuPG, they will be able to read your message and see your | |
678 | signature. If they do have GnuPG, they'll also be able to verify that your | |
679 | signature is authentic.</p> | |
680 | ||
681 | <p>To sign an email to Edward, compose any message to him and click the | |
682 | pencil icon next to the lock icon so that it turns gold. If you sign a | |
683 | message, GnuPG may ask you for your password before it sends the message, | |
684 | because it needs to unlock your private key for signing.</p> | |
685 | ||
686 | <p>With the lock and pencil icons, you can choose whether each message will | |
687 | be encrypted, signed, both, or neither.</p> | |
688 | ||
689 | </div> | |
690 | </div> | |
691 | ||
692 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
693 | <div id="step-3e" class="step"> | |
694 | <div class="main"> | |
695 | ||
696 | <h3><em>Step 3.e</em> Receive a response</h3> | |
697 | ||
f54f2134 Z |
698 | <p>When Edward receives your email, he will use your public key (which |
699 | you sent him in <a href="#step-3a">Step 3.A</a>) to verify the message | |
700 | you sent has not been tampered with and to encrypt his reply to you.</p> | |
19bce4d7 TG |
701 | |
702 | <p class="notes">It may take two or three minutes for Edward to | |
703 | respond. In the meantime, you might want to skip ahead and check out the <a | |
704 | href="#section5">Use it Well</a> section of this guide.</p> | |
705 | ||
706 | <p>Edward's reply will arrive encrypted, because he prefers to use encryption | |
707 | whenever possible. If everything goes according to plan, it should say | |
708 | "Your signature was verified." If your test signed email was also encrypted, | |
709 | he will mention that first.</p> | |
710 | ||
f54f2134 Z |
711 | <p>When you receive Edward's email and open it, Enigmail will |
712 | automatically detect that it is encrypted with your public key, and | |
713 | then it will use your private key to decrypt it.</p> | |
714 | ||
715 | <p>Notice the bar that Enigmail shows you above the message, with | |
716 | information about the status of Edward's key.</p> | |
717 | ||
19bce4d7 TG |
718 | </div><!-- End .main --> |
719 | </div><!-- End #step-3e .step --> | |
720 | </div></section> | |
721 | ||
722 | <!-- ~~~~~~~~~ Section 4: Learn the Web of Trust ~~~~~~~~~ --> | |
723 | <section class="row" id="section4"><div> | |
724 | ||
725 | <!-- ~~~~~~~~~ section introduction: interspersed text ~~~~~~~~~ --> | |
726 | <div class="section-intro"> | |
727 | ||
728 | <h2><em>#4</em> Learn the Web of Trust</h2> | |
729 | ||
730 | <p>Email encryption is a powerful technology, but it has a weakness; | |
731 | it requires a way to verify that a person's public key is actually | |
732 | theirs. Otherwise, there would be no way to stop an attacker from making | |
733 | an email address with your friend's name, creating keys to go with it and | |
734 | impersonating your friend. That's why the free software programmers that | |
735 | developed email encryption created keysigning and the Web of Trust.</p> | |
736 | ||
737 | <p>When you sign someone's key, you are publicly saying that you've verified | |
738 | that it belongs to them and not someone else.</p> | |
739 | ||
740 | <p>Signing keys and signing messages use the same type of mathematical | |
741 | operation, but they carry very different implications. It's a good practice | |
742 | to generally sign your email, but if you casually sign people's keys, you | |
743 | may accidently end up vouching for the identity of an imposter.</p> | |
744 | ||
745 | <p>People who use your public key can see who has signed it. Once you've | |
746 | used GnuPG for a long time, your key may have hundreds of signatures. You | |
747 | can consider a key to be more trustworthy if it has many signatures from | |
748 | people that you trust. The Web of Trust is a constellation of GnuPG users, | |
749 | connected to each other by chains of trust expressed through signatures.</p> | |
750 | ||
751 | </div><!-- End .section-intro --> | |
752 | ||
753 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
754 | <div id="step-4a" class="step"> | |
755 | <div class="sidebar"> | |
756 | ||
757 | <p><img | |
758 | src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/section4-web-of-trust.png" | |
759 | alt="Section 4: Web of Trust" /></p> | |
760 | ||
761 | </div><!-- /.sidebar --> | |
762 | <div class="main"> | |
763 | ||
764 | <h3><em>Step 4.a</em> Sign a key</h3> | |
765 | ||
766 | <p>In your email program's menu, go to Enigmail → Key Management.</p> | |
767 | ||
768 | <p>Right click on Edward's public key and select Sign Key from the context | |
769 | menu.</p> | |
770 | ||
771 | <p>In the window that pops up, select "I will not answer" and click ok.</p> | |
772 | ||
773 | <p>Now you should be back at the Key Management menu. Select Keyserver → | |
774 | Upload Public Keys and hit ok.</p> | |
775 | ||
776 | <p class="notes">You've just effectively said "I trust that Edward's public | |
777 | key actually belongs to Edward." This doesn't mean much because Edward isn't | |
778 | a real person, but it's good practice.</p> | |
779 | ||
780 | <!--<div id="pgp-pathfinder"> | |
781 | ||
782 | <form enctype="application/x-www-form-urlencoded" action="/mk_path.cgi" | |
783 | method="get"> | |
784 | ||
f211d856 | 785 | <p><strong>From:</strong><input type="text" value="xD41A008" |
19bce4d7 TG |
786 | name="FROM"></p> |
787 | ||
f211d856 | 788 | <p><strong>To:</strong><input type="text" value="50BD01x4" name="TO"></p> |
19bce4d7 TG |
789 | |
790 | <p class="buttons"><input type="submit" value="trust paths" name="PATHS"><input | |
791 | type="reset" value="reset" name=".reset"></p> | |
792 | ||
793 | </form> | |
794 | ||
795 | </div>End #pgp-pathfinder --> | |
796 | </div><!-- End .main --> | |
797 | </div><!-- End #step-4a .step --> | |
798 | ||
799 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
800 | <div id="step-identify_keys" class="step"> | |
801 | <div class="main"> | |
802 | ||
803 | <h3>Identifying keys: Fingerprints and IDs</h3> | |
804 | ||
805 | <p>People's public keys are usually identified by their key fingerprint, | |
806 | which is a string of digits like F357AA1A5B1FA42CFD9FE52A9FF2194CC09A61E8 | |
807 | (for Edward's key). You can see the fingerprint for your public key, and | |
808 | other public keys saved on your computer, by going to Enigmail → Key | |
809 | Management in your email program's menu, then right clicking on the key | |
810 | and choosing Key Properties. It's good practice to share your fingerprint | |
811 | wherever you share your email address, so that people can double-check that | |
812 | they have the correct public key when they download yours from a keyserver.</p> | |
813 | ||
c0c01f86 MB |
814 | <p class="notes">You may also see public keys referred to by a shorter |
815 | key ID. This key ID is visible directly from the Key Management | |
816 | window. These eight character key IDs were previously used for | |
817 | identification, which used to be safe, but is no longer reliable. You | |
818 | need to check the full fingerprint as part of verifying you have the | |
819 | correct key for the person you are trying to contact. Spoofing, in | |
820 | which someone intentionally generates a key with a fingerprint whose | |
821 | final eight characters are the same as another, is unfortunately | |
822 | common.</p> | |
19bce4d7 TG |
823 | |
824 | </div><!-- End .main --> | |
825 | </div><!-- End #step-identify_keys .step--> | |
826 | ||
827 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
828 | <div id="check-ids-before-signing" class="step"> | |
829 | <div class="main"> | |
830 | ||
831 | <h3><em>Important:</em> What to consider when signing keys</h3> | |
832 | ||
833 | <p>Before signing a person's key, you need to be confident that it actually | |
834 | belongs to them, and that they are who they say they are. Ideally, this | |
835 | confidence comes from having interactions and conversations with them over | |
836 | time, and witnessing interactions between them and others. Whenever signing | |
837 | a key, ask to see the full public key fingerprint, and not just the shorter | |
838 | key ID. If you feel it's important to sign the key of someone you've just | |
839 | met, also ask them to show you their government identification, and make | |
840 | sure the name on the ID matches the name on the public key. In Enigmail, | |
841 | answer honestly in the window that pops up and asks "How carefully have you | |
842 | verified that the key you are about to sign actually belongs to the person(s) | |
843 | named above?"</p> | |
844 | ||
845 | <!-- ~~~~~~~~~ Troubleshooting ~~~~~~~~~ --> | |
846 | <div class="troubleshooting"> | |
847 | ||
848 | <h4>Advanced</h4> | |
849 | ||
850 | <dl> | |
851 | <dt>Master the Web of Trust</dt> | |
852 | <dd>Unfortunately, trust does not spread between users the way <a | |
853 | href="http://fennetic.net/irc/finney.org/~hal/web_of_trust.html">many people | |
854 | think</a>. One of best ways to strengthen the GnuPG community is to deeply <a | |
855 | href="https://www.gnupg.org/gph/en/manual/x334.html">understand</a> the Web of | |
856 | Trust and to carefully sign as many people's keys as circumstances permit.</dd> | |
857 | ||
858 | <dt>Set ownertrust</dt> | |
859 | <dd>If you trust someone enough to validate other people's keys, you can assign | |
860 | them an ownertrust level through Enigmails's key management window. Right | |
861 | click on the other person's key, go to the "Select Owner Trust" menu option, | |
862 | select the trustlevel and click OK. Only do this once you feel you have a | |
863 | deep understanding of the Web of Trust.</dd> | |
864 | </dl> | |
865 | ||
866 | </div><!-- /.troubleshooting --> | |
867 | </div><!-- End .main --> | |
868 | </div><!-- End #check-ids-before-signing .step--> | |
869 | </div></section><!-- End #section4 --> | |
d85363e7 | 870 | |
19bce4d7 TG |
871 | <!-- ~~~~~~~~~ Section 5: Use it well ~~~~~~~~~ --> |
872 | <section id="section5" class="row"><div> | |
873 | ||
874 | <!-- ~~~~~~~~~ section introduction: interspersed text ~~~~~~~~~ --> | |
875 | <div class="section-intro"> | |
876 | ||
877 | <h2><em>#5</em> Use it well</h2> | |
878 | ||
879 | <p>Everyone uses GnuPG a little differently, but it's important to follow | |
880 | some basic practices to keep your email secure. Not following them, you | |
881 | risk the privacy of the people you communicate with, as well as your own, | |
882 | and damage the Web of Trust.</p> | |
883 | ||
884 | </div><!-- End .section-intro --> | |
885 | ||
886 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
887 | <div id="step-5a" class="step"> | |
888 | <div class="sidebar"> | |
889 | ||
890 | <p><img | |
891 | src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/section5-01-use-it-well.png" | |
892 | alt="Section 5: Use it Well (1)" /></p> | |
893 | ||
894 | </div><!-- /.sidebar --> | |
895 | <div class="main"> | |
896 | ||
897 | <h3>When should I encrypt? When should I sign?</h3> | |
898 | ||
899 | <p>The more you can encrypt your messages, the better. If you only encrypt | |
900 | emails occasionally, each encrypted message could raise a red flag for | |
901 | surveillance systems. If all or most of your email is encrypted, people | |
902 | doing surveillance won't know where to start. That's not to say that only | |
903 | encrypting some of your email isn't helpful -- it's a great start and it | |
904 | makes bulk surveillance more difficult.</p> | |
905 | ||
906 | <p>Unless you don't want to reveal your own identity (which requires other | |
907 | protective measures), there's no reason not to sign every message, whether or | |
908 | not you are encrypting. In addition to allowing those with GnuPG to verify | |
909 | that the message came from you, signing is a non-intrusive way to remind | |
910 | everyone that you use GnuPG and show support for secure communication. If you | |
911 | often send signed messages to people that aren't familiar with GnuPG, it's | |
912 | nice to also include a link to this guide in your standard email signature | |
913 | (the text kind, not the cryptographic kind).</p> | |
914 | ||
915 | </div><!-- End .main --> | |
916 | </div><!-- End #step-5a .step --> | |
917 | ||
918 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
919 | <div id="step-5b" class="step"> | |
920 | <div class="sidebar"> | |
921 | ||
922 | <p><img | |
923 | src="//static.fsf.org/nosvn/enc-dev0/img/en/screenshots/section5-02-use-it-well.png" | |
924 | alt="Section 5: Use it Well (2)" /></p> | |
925 | ||
926 | </div><!-- /.sidebar --> | |
927 | <div class="main"> | |
928 | ||
929 | <h3>Be wary of invalid keys</h3> | |
930 | ||
931 | <p>GnuPG makes email safer, but it's still important to watch out for invalid | |
932 | keys, which might have fallen into the wrong hands. Email encrypted with | |
933 | invalid keys might be readable by surveillance programs.</p> | |
934 | ||
935 | <p>In your email program, go back to the first encrypted email that Edward | |
936 | sent you. Because Edward encrypted it with your public key, it will have a | |
937 | message from Enigmail at the top, which most likely says "Enigmail: Part of | |
938 | this message encrypted."</p> | |
939 | ||
940 | <p><b>When using GnuPG, make a habit of glancing at that bar. The program | |
4227f3fd | 941 | will warn you there if you get an email signed with a key that can't |
19bce4d7 TG |
942 | be trusted.</b></p> |
943 | ||
944 | </div><!-- End .main --> | |
945 | </div><!-- End #step-5b .step --> | |
946 | ||
947 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
948 | <div id="step-5c" class="step"> | |
949 | <div class="main"> | |
950 | ||
951 | <h3>Copy your revocation certificate to somewhere safe</h3> | |
952 | ||
953 | <p>Remember when you created your keys and saved the revocation certificate | |
954 | that GnuPG made? It's time to copy that certificate onto the safest digital | |
955 | storage that you have -- the ideal thing is a flash drive, disk, or hard | |
956 | drive stored in a safe place in your home, not on a device you carry with | |
957 | you regularly.</p> | |
958 | ||
959 | <p>If your private key ever gets lost or stolen, you'll need this certificate | |
960 | file to let people know that you are no longer using that keypair.</p> | |
961 | ||
962 | </div><!-- End .main --> | |
963 | </div><!-- End #step-5c .step --> | |
964 | ||
965 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
966 | <div id="step-lost_key" class="step"> | |
967 | <div class="main"> | |
968 | ||
969 | <h3><em>Important:</em> act swiftly if someone gets your private key</h3> | |
970 | ||
971 | <p>If you lose your private key or someone else gets ahold | |
972 | of it (say, by stealing or cracking your computer), it's | |
973 | important to revoke it immediately before someone else uses | |
974 | it to read your encrypted email or forge your signature. This | |
975 | guide doesn't cover how to revoke a key, but you can follow these <a | |
976 | href="https://www.hackdiary.com/2004/01/18/revoking-a-gpg-key/">instructions</a>. | |
977 | After you're done revoking, make a new key and send an email to everyone | |
978 | with whom you usually use your key to make sure they know, including a copy | |
979 | of your new key.</p> | |
980 | ||
981 | </div><!-- End .main --> | |
982 | </div><!-- End #step-lost_key .step--> | |
983 | ||
984 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
985 | <!---<div id="transfer-key" class="step"> | |
986 | <div class="main"> | |
987 | ||
988 | <h3>Transferring you key</h3> | |
989 | ||
990 | <p>You can use Enigmail's <a | |
bb7a9312 | 991 | href="https://www.enigmail.net/documentation/Key_Management">key management |
19bce4d7 TG |
992 | window</a> to import and export keys. If you want to be able to read |
993 | your encrypted email on a different computer, you will need to export | |
994 | your secret key from here. Be warned, if you transfer the key without <a | |
995 | href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">encrypting</a> | |
996 | the drive it's on the transfer will be dramatically less secure.</p> | |
997 | ||
998 | </div>--><!-- End .main | |
999 | </div> End #transfer-key .step--> | |
1000 | ||
1001 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ --> | |
1002 | <div id="webmail-and-GnuPG" class="step"> | |
1003 | <div class="main"> | |
1004 | ||
1005 | <h3>Webmail and GnuPG</h3> | |
1006 | ||
1007 | <p>When you use a web browser to access your email, you're using webmail, | |
1008 | an email program stored on a distant website. Unlike webmail, your desktop | |
1009 | email program runs on your own computer. Although webmail can't decrypt | |
1010 | encrypted email, it will still display it in its encrypted form. If you | |
1011 | primarily use webmail, you'll know to open your email client when you receive | |
1012 | a scrambled email.</p> | |
1013 | ||
1014 | </div><!-- End .main --> | |
1015 | </div><!-- End #webmail-and-GnuPG .step--> | |
1016 | ||
1017 | <!-- ~~~~~~~~~ a div for each step ~~~~~~~~~ | |
1018 | <div id="step-5d" class="step"> | |
1019 | <div class="main"> | |
1020 | ||
1021 | <h3>Make your public key part of your online identity</h3> | |
1022 | ||
1023 | <p> First add your public key fingerprint to your email signature, then | |
1024 | compose an email to at least five of your friends, telling them you just | |
1025 | set up GnuPG and mentioning your public key fingerprint. Link to this guide | |
1026 | and ask them to join you. Don't forget that there's also an awesome <a | |
1027 | href="infographic.html">infographic to share.</a></p> | |
1028 | ||
1029 | <p class="notes">Start writing your public key fingerprint anywhere someone | |
1030 | would see your email address: your social media profiles, blog, Website, | |
1031 | or business card. (At the Free Software Foundation, we put ours on our | |
1032 | <a href="https://fsf.org/about/staff">staff page</a>.) We need to get our | |
1033 | culture to the point that we feel like something is missing when we see an | |
1034 | email address without a public key fingerprint.</p> | |
1035 | ||
1036 | </div>--><!-- End .main | |
1037 | </div> End #step-5d .step--> | |
1038 | </div></section><!-- End #section5 --> | |
1039 | ||
1040 | <!-- ~~~~~~~~~ Section 6: Next steps ~~~~~~~~~ --> | |
116f80c3 | 1041 | <section class="row" id="section6"> |
19bce4d7 TG |
1042 | <div id="step-click_here" class="step"> |
1043 | <div class="main"> | |
0a225228 | 1044 | |
19bce4d7 | 1045 | <h2><a href="next_steps.html">Great job! Check out the next steps.</a></h2> |
bb28ee32 | 1046 | |
19bce4d7 TG |
1047 | </div><!-- End .main --> |
1048 | </div><!-- End #step-click_here .step--> | |
116f80c3 | 1049 | </section><!-- End #section6 --> |
bdf319c4 | 1050 | |
19bce4d7 | 1051 | <!-- ~~~~~~~~~ FAQ ~~~~~~~~~ --> |
f44dd62f | 1052 | <!-- When un-commenting this section go to main.css and search |
116f80c3 | 1053 | for /* Guide Sections Background */ then add #faq to the desired color |
19bce4d7 | 1054 | <section class="row" id="faq"><div> |
116f80c3 | 1055 | <div class="sidebar"> |
19bce4d7 | 1056 | |
116f80c3 | 1057 | <h2>FAQ</h2> |
6c495e2d | 1058 | |
19bce4d7 | 1059 | </div> |
116f80c3 | 1060 | <div class="main"> |
19bce4d7 | 1061 | |
116f80c3 ZR |
1062 | <dl> |
1063 | <dt>My key expired</dt> | |
1064 | <dd>Answer coming soon.</dd> | |
6c495e2d | 1065 | |
116f80c3 ZR |
1066 | <dt>Who can read encrypted messages? Who can read signed ones?</dt> |
1067 | <dd>Answer coming soon.</dd> | |
6c495e2d | 1068 | |
19bce4d7 TG |
1069 | <dt>My email program is opening at times I don't want it to open/is now my |
1070 | default program and I don't want it to be.</dt> | |
116f80c3 ZR |
1071 | <dd>Answer coming soon.</dd> |
1072 | </dl> | |
19bce4d7 | 1073 | |
116f80c3 ZR |
1074 | </div> |
1075 | </div> | |
1076 | </section> --><!-- End #faq --> | |
bdf319c4 | 1077 | |
19bce4d7 TG |
1078 | <!-- ~~~~~~~~~ Footer ~~~~~~~~~ --> |
1079 | <footer class="row" id="footer"><div> | |
1080 | <div id="copyright"> | |
1081 | ||
1082 | <h4><a href="https://u.fsf.org/ys"><img | |
1083 | alt="Free Software Foundation" | |
1084 | src="//static.fsf.org/nosvn/enc-dev0/img/fsf-logo.png" /></a></h4> | |
1085 | ||
1086 | <p>Copyright © 2014-2016 <a | |
1087 | href="https://u.fsf.org/ys">Free Software Foundation</a>, Inc. <a | |
1088 | href="https://my.fsf.org/donate/privacypolicy.html">Privacy Policy</a>. Please | |
1089 | support our work by <a href="https://u.fsf.org/yr">joining us as an associate | |
1090 | member.</a></p> | |
1091 | ||
1092 | <p>The images on this page are under a <a | |
1093 | href="https://creativecommons.org/licenses/by/4.0/">Creative Commons | |
1094 | Attribution 4.0 license (or later version)</a>, and the rest of it is under | |
1095 | a <a href="https://creativecommons.org/licenses/by-sa/4.0">Creative Commons | |
1096 | Attribution-ShareAlike 4.0 license (or later version)</a>. Download the <a | |
f211d856 I |
1097 | href="http://agpl.fsf.org/emailselfdefense.fsf.org/edward/CURRENT/edward.tar.gz"> |
1098 | source code of Edward reply bot</a> by Andrew Engelbrecht | |
19bce4d7 TG |
1099 | <sudoman@ninthfloor.org> and Josh Drake <zamnedix@gnu.org>, |
1100 | available under the GNU Affero General Public License. <a | |
1101 | href="http://www.gnu.org/licenses/license-list.html#OtherLicenses">Why these | |
1102 | licenses?</a></p> | |
1103 | ||
1104 | <p>Fonts used in the guide & infographic: <a | |
1105 | href="https://www.google.com/fonts/specimen/Dosis">Dosis</a> by Pablo | |
1106 | Impallari, <a href="http://www.google.com/fonts/specimen/Signika">Signika</a> | |
1107 | by Anna Giedryś, <a | |
1108 | href="http://www.google.com/fonts/specimen/Archivo+Narrow">Archivo | |
1109 | Narrow</a> by Omnibus-Type, <a | |
1110 | href="https://libreplanet.org/wiki/GPG_guide/Graphics_Howto#Pitfalls">PXL-2000</a> | |
1111 | by Florian Cramer.</p> | |
1112 | ||
1113 | <p>Download the <a href="emailselfdefense_source.zip">source package</a> | |
1114 | for this guide, including fonts, image source files and the text of Edward's | |
1115 | messages.</p> | |
1116 | ||
1117 | <p>This site uses the Weblabels standard for labeling <a | |
1118 | href="https://www.fsf.org/campaigns/freejs">free JavaScript</a>. View | |
1119 | the JavaScript <a href="//weblabels.fsf.org/emailselfdefense.fsf.org/" | |
1120 | rel="jslicense">source code and license information</a>.</p> | |
1121 | ||
1122 | </div><!-- /#copyright --> | |
1123 | ||
1124 | <p class="credits">Infographic and guide design by <a rel="external" | |
1125 | href="http://jplusplus.org"><strong>Journalism++</strong><img | |
1126 | src="//static.fsf.org/nosvn/enc-dev0/img/jplusplus.png" | |
1127 | alt="Journalism++" /></a></p><!-- /.credits --> | |
1128 | </div></footer><!-- End #footer --> | |
116f80c3 | 1129 | |
116f80c3 | 1130 | |
f211d856 I |
1131 | <script type="text/javascript" |
1132 | src="//static.fsf.org/nosvn/enc-dev0/js/jquery-1.11.0.min.js"></script> | |
1133 | <script type="text/javascript" | |
1134 | src="//static.fsf.org/nosvn/enc-dev0/js/scripts.js"></script> | |
116f80c3 | 1135 | <!-- Piwik --> |
f211d856 I |
1136 | <script type="text/javascript" ><!-- |
1137 | // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later | |
116f80c3 ZR |
1138 | var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.fsf.org/" : "http://piwik.fsf.org/"); |
1139 | document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); | |
1140 | try { | |
1141 | var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 13); | |
1142 | piwikTracker.trackPageView(); | |
1143 | piwikTracker.enableLinkTracking(); | |
1144 | } catch( err ) {} | |
1145 | // @license-end | |
f211d856 I |
1146 | --></script> |
1147 | <noscript><p><img | |
1148 | src="//piwik.fsf.org/piwik.php?idsite=13" style="border:0" | |
1149 | alt="" /></p></noscript> | |
116f80c3 | 1150 | <!-- End Piwik Tracking Code --> |
116f80c3 | 1151 | </body> |
bdf319c4 | 1152 | </html> |