From ae15536f4255a421bdef41511ec2c566a2173d72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Sat, 21 Jun 2014 12:16:59 +0200 Subject: [PATCH] de: Further improvements to the maintainability --- de/#index.html.pre# | 81 +++++++ de/#rest.html# | 324 +++++++++++++++++++++++++++ de/.#index.html.pre | 1 + de/.#macos.html.pre | 1 + de/.#rest.html | 1 + de/build.sh | 4 +- de/gnu-step.html | 29 +++ de/head.html | 2 +- de/index.html | 394 ++++++++++++++++++++++++++++++++- de/infographic.html | 2 +- de/mac-step.html | 39 ++++ de/mac.html | 512 +++++++++++++++++++++++++++++++++++++++---- de/macos.html.pre | 424 +++++++++++++++++++++++++++++++++++ de/rest.html | 353 +++++++++++++++++++++++++++++ de/top-bar-gnu.html | 10 + de/top-bar-mac.html | 10 + de/top-bar-mac.html~ | 10 + 17 files changed, 2149 insertions(+), 48 deletions(-) create mode 100644 de/#index.html.pre# create mode 100644 de/#rest.html# create mode 120000 de/.#index.html.pre create mode 120000 de/.#macos.html.pre create mode 120000 de/.#rest.html create mode 100644 de/gnu-step.html create mode 100644 de/mac-step.html create mode 100644 de/macos.html.pre create mode 100644 de/rest.html create mode 100644 de/top-bar-gnu.html create mode 100644 de/top-bar-mac.html create mode 100644 de/top-bar-mac.html~ diff --git a/de/#index.html.pre# b/de/#index.html.pre# new file mode 100644 index 00000000..9118af13 --- /dev/null +++ b/de/#index.html.pre# @@ -0,0 +1,81 @@ +
  • + + #EmailSelfDefense + +
  • + + + +
    +

    + + Free Software Foundation + +

    +
    +

    + We fight for computer user's rights, and promote the development of free (as in freedom) software. Resisting bulk surveillance is very important to us. +

    +

    + + We want to heavily promote tools like this in-person and online, to help as many people as possible take the first step towards using free software to protect their privacy. Can you make a donation or become a member to help us achieve this goal? + +

    +
    + +

    Donate Join now

    + +
    + + +
    +

    + View & share our infographic → + Bulk surveillance violates our fundamental rights and makes free speech risky. This guide will teach you a basic surveillance self-defense skill: email encryption. Once you've finished, you'll be able to send and receive emails that are coded to make sure that a surveillance agent or thief that intercepts your email can't read it. All you need is a computer with an Internet connection, an email account and about half an hour.

    + +

    Even if you have nothing to hide, using encryption helps protect the privacy of people you communicate with, and makes life difficult for bulk surveillance systems. If you do have something important to hide, you're in good company; these are the same tools that Edward Snowden used to share his famous secrets about the NSA.

    + +

    In addition to using encryption, standing up to surveillance requires fighting politically for a reduction in the amount of data collected on us, but the essential first step is to protect yourself and make surveillance of your communication as difficult as possible. Let's get started!

    + +
    + + + + + +
    +
    + +
    +

    #1 Get the pieces

    +

    This guide relies on software which is freely licensed; it's completely transparent and anyone can copy it or make their own version. This makes it safer from surveillance than proprietary software (like Windows). Learn more about free software at fsf.org.

    + +

    Most GNU/Linux operating systems come with GnuPG installed on them, so you don't have to download it. Before configuring GnuPG though, you'll need a desktop email program installed on your computer. Most GNU/Linux distributions have a free software version of the Thunderbird email program available to install. This guide will work with them, in addition to Thunderbird itself. Email programs are another way to access the same email accounts you can access in a browser (like GMail), but provide extra features.

    +

    If you are already have one of these, you can skip to Step 1.b.

    +
    + + +
    + +
    +

    Step 1.a Set your email program up with your email account (if it isn't already)

    +

    Open your email program and follow the wizard that sets it up with your email account.

    + + +
    +

    Troubleshooting

    +
    +
    What's a wizard?
    +
    A wizard is a series of windows that pop up to make it easy to get something done on a computer, like installing a program. You click through it, selecting options as you go.
    +
    My email program can't find my account or isn't downloading my mail
    +
    Before searching the Web, we recommend you start by asking other people who use your email system, to figure out the correct settings.
    + + +
    +
    + +
    +
    diff --git a/de/#rest.html# b/de/#rest.html# new file mode 100644 index 00000000..6764f2af --- /dev/null +++ b/de/#rest.html# @@ -0,0 +1,324 @@ + + +
    +
    + +
    +

    #2 Make your keys

    +

    To use the GnuPG system, you'll need a public key and a private key (known together as a keypair). Each is a long string of randomly generated numbers and letters that are unique to you. Your public and private keys are linked together by a special mathematical function.

    + +

    Your public key isn't like a physical key, because it's stored in the open in an online directory called a keyserver. People download it and use it, along with GnuPG, to encrypt emails they send to you. You can think of the keyserver as phonebook, where people who want to send you an encrypted email look up your public key.

    + +

    Your private key is more like a physical key, because you keep it to yourself (on your computer). You use GnuPG and your private key to decode encrypted emails other people send to you.

    +
    + + +
    + +
    +

    Step 2.a Make a keypair

    +

    In your email program's menu, select OpenPGP → Setup Wizard. You don't need to read the text in the window that pops up unless you'd like to, but it's good to read the text on the later screens of the wizard.

    +

    On the second screen, titled "Signing," select "No, I want to create per-recipient rules for emails that need to be signed."

    +

    Use the default options until you reach the screen titled "Create Key".

    +

    On the screen titled "Create Key," pick a strong password! Your password should be at least 12 characters and include at least one lower case and upper case letter and at least one number or punctuation symbol. Don't forget the password, or all this work will be wasted!

    +

    The program will take a little while to finish the next step, the "Key Creation" screen. While you wait, do something else with your computer, like watching a movie or browsing the Web. The more you use the computer at this point, the faster the key creation will go.

    +

    When the OpenPGP Confirm screen pops up, select Generate Certificate and choose to save it in a safe place on your computer (we recommend making a folder called "Revocation Certificate" in your home folder and keeping it there. You'll learn more about the revocation certificate in Section 5. The setup wizard will ask you to move it onto an external device, but that isn't necessary at this moment.

    + + +
    +

    Troubleshooting

    +
    +
    I can't find the OpenPGP menu.
    +
    In many new email programs, the main menu is represented by an image of three stacked horizontal bars. OpenPGP may be inside a section called Tools.
    +
    The wizard says that it cannot find GnuPG.
    + +
    Open whatever program you usually use for installing software, and search for GnuPG, then install it. Then restart the Engimail setup wizard by going to OpenPGP → Setup Wizard.
    + + + +
    +
    +
    +
    + + +
    +
    +

    Step 2.b Upload your public key to a keyserver

    +

    In your email program's menu, select OpenPGP → Key Management.

    +

    Right click on your key and select Upload Public Keys to Keyserver. Use the default keyserver in the popup.

    +

    Now someone who wants to send you an encrypted message can download your public key from the Internet. There are multiple keyservers that you can select from the menu when you upload, but they are all copies of each other, so it doesn't matter which one you use. However, it sometimes takes a few hours for them to match each other when a new key is uploaded.

    + +
    +

    Troubleshooting

    +
    +
    The progress bar never finishes
    +
    Close the upload popup, make sure you are on the Internet and try again. If that doesn't work, try again, selecting a different keyserver.
    +
    My key doesnt appear in the list
    +
    Try checking Show Default Keys.
    + + + + +
    +
    +
    +
    + +
    +
    +

    GnuPG, OpenPGP, what?

    +

    You're using a program called GnuPG, but the menu in your email program is called OpenPGP. Confusing, right? In general, the terms GnuPG, GPG, GNU Privacy Guard, OpenPGP and PGP are used interchangeably, though they all have slightly different meanings.

    +
    +
    + + +
    +
    + + +
    +
    + +
    +

    #3 Try it out!

    +

    Now you'll try a test correspondence with a computer program named Adele, which knows how to use encryption. Except where noted, these are the same steps you'd follow when corresponding with a real, live person.

    +
    + + +
    + +
    +

    Step 3.a Send Adele your public key

    +

    This is a special step that you won't have to do when corresponding with real people. In your email program's menu, go to OpenPGP → Key Management. You should see your key in the list that pops up. Right click on your key and select Send Public Keys by Email. This will create a new draft message, as if you had just hit the Write button.

    + +

    Address the message to adele-en@gnupp.de. Put at least one word (whatever you want) in the subject and body of the email, then hit send.

    + +

    It may take two or three minutes for Adele to respond. In the meantime, you might want to skip ahead and check out the Use it Well section of this guide. Once she's responded, head to the next step. From here on, you'll be doing just the same thing as when corresponding with a real person.

    +
    +
    + + +
    +
    +

    Step 3.b Send a test encrypted email

    +

    Write a new email in your email program, addressed to adele-en@gnupp.de. Make the subject "Encryption test" or something similar and write something in the body. Don't send it yet.

    +

    Click the icon of the key in the bottom right of the composition window (it should turn yellow). This tells Enigmail to encrypt the email with the key you downloaded in the last step.

    +

    Next to the key, you'll notice an icon of a pencil. Clicking this tells Enigmail to add a special, uniqe signature to your message, generated using your private key. This is a separate feature from encryption, and you don't have to use it for this guide.

    +

    Click Send. Enigmail will pop up a window that says "Recipients not valid, not trusted or not found."

    + +

    To encrypt and email to Adele, you need her public key, and so now you'll have Enigmail download it from a keyserver. Click Download Missing Keys and use the default in the pop-up that asks you to choose a keyserver. Once it finds keys, check the first one (Key ID starting with 9), then select ok. Select ok in the next pop-up.

    + +

    Now you are back at the "Recipients not valid, not trusted or not found" screen. Select Adele's key from the list and click Ok. If the message doesn't send automatically, you can hit send now.

    + +
    +

    Troubleshooting

    +
    +
    Enigmail can't find Adele's key
    +
    Close the pop-ups that have appeared since you clicked. Make sure you are connected to the Internet and try again. If that doesn't work, repeat the process, choosing a different keyserver when it asks you to pick one.
    + + +
    +
    +
    +
    + + +
    +
    +

    Important: Security tips

    +

    Even if you encrypted your email, the subject line is not encrypted, so don't put private information there. The sending and receiving addresses aren't encrypted either, so they could be read by a surveillance system. When you send attachments, Enigmail will give you an option of whether you want to encrypt them.

    +

    It's also good practice to click the key icon in your email composition window before you start to write. Otherwise, your email client could save an unencrypted draft on the mail server, potentially exposing it to snooping.

    +
    +
    + + + +
    +
    +

    Step 3.c Receive a response

    +

    When Adele receives your email, she will use her private key to decrypt it, then fetch your public key from a keyserver and use it to encrypt a response to you.

    +

    Since you encrypted this email with Adele's public key, Adele's private key is required to decrypt it. Adele is the only one with her private key, so no one except her — not even you — can decrypt it.

    +

    It may take two or three minutes for Adele to respond. In the meantime, you might want to skip ahead and check out the Use it Well section of this guide.

    +

    When you receive Adele's email and open it, Enigmail will automatically detect that it is encrypted with your public key, and then it will use your private key to decrypt it.

    +

    Notice the bar that Enigmail shows you above the message, with information about the status of Adele's key.

    +
    +
    + + +
    +
    + + + +
    +
    + +
    +

    #4 Learn the Web of Trust

    +

    Email encryption is a powerful technology, but it has a weakness; it requires a way to verify that a person's public key is actually theirs. Otherwise, there would be no way to stop an attacker from making an email address with your friend's name, creating keys to go with it and impersonating your friend. That's why the free software programmers that developed email encryption created keysigning and the Web of Trust.

    + +

    When you sign someone's key, you are publicly saying that you trust that it does belong to them and not an impostor. People who use your public key can see the number of signatures it has. Once you've used GnuPG for a long time, you may have hundreds of signatures. The Web of Trust is the constellation of all GnuPG users, connected to each other by chains of trust expressed through signatures, into a giant network. The more signatures a key has, and the more signatures its signers' keys have, the more trustworthy that key is.

    + +

    People's public keys are usually identified by their key fingerprint, which is a string of digits like DD878C06E8C2BEDDD4A440D3E573346992AB3FF7 (for Adele's key). You can see the fingerprint for your public key, and other public keys saved on your computer, by going to OpenPGP → Key Management in your email program's menu, then right clicking on the key and choosing Key Properties. It's good practice to share your fingerprint wherever you share your email address, so that so that people can double-check that they have the correct public key when they download yours from a keyserver.

    + +

    You may also see public keys referred to by their key ID, which is simply the last 8 digits of the fingerprint, like 92AB3FF7 for Adele. The key ID is visible directly from the Key Management Window. This key ID is like a person's first name (it is a useful shorthand but may not be unique to a given key), whereas the fingerprint actually identifies the key uniquely without the possibility of confusion. If you only have the key ID, you can still look up the key (as well as its fingerprint), like you did in Step 3, but if multiple options appear, you'll need the fingerprint of the person to are trying to communicate to verify which one to use.

    + + +
    + + +
    + +
    +

    Step 4.a Sign a key

    +

    In your email program's menu, go to OpenPGP → Key Management.

    +

    Right click on Adele's public key and select Sign Key from the context menu.

    +

    In the window that pops up, select "I will not answer" and click OK.

    +

    In your email program's menu, go to OpenPGP → Key Management → Keyserver → Upload Public Keys and hit OK.

    +

    You've just effectively said "I trust that Adele's public key actually belongs to Adele." This doesn't mean much because Adele isn't a real person, but it's good practice.

    + + + + +
    +
    + +
    +
    +

    Important: check people's identification before signing their keys

    +

    Before signing a real person's key, always make sure it actually belongs to them, and that they are who they say they are. Ask them to show you their ID (unless you trust them very highly) and their public key fingerprint -- not just the shorter public key ID, which could refer to another key as well. In Enigmail, answer honestly in the window that pops up and asks "How carefully have you verified that the key you are about to sign actually belongs to the person(s) named above?".

    +
    +
    + + + +
    +
    + + +
    +
    + +
    +

    #5 Use it well

    +

    Everyone uses GnuPG a little differently, but it's important to follow some basic practices to keep your email secure. Not following them, you risk the privacy of the people you communicate with, as well as your own, and damage the Web of Trust.

    +
    + + +
    + +
    +

    When should I encrypt?

    + +

    The more you can encrypt your messages, the better. This is because, if you only encrypt emails occasionally, each encrypted message could raise a red flag for surveillance systems. If all or most of your email is encrypted, people doing surveillance won't know where to start.

    + +

    That's not to say that only encrypting some of your email isn't helpful -- it's a great start and it makes bulk surveillance more difficult.

    + +
    +
    + + +
    + +
    +

    Important: Be wary of invalid keys

    +

    GnuPG makes email safer, but it's still important to watch out for invalid keys, which might have fallen into the wrong hands. Email encrypted with invalid keys might be readable by surveillance programs.

    +

    In your email program, go back to the second email that Adele sent you. Because Adele encrypted it with your public key, it will have a message from OpenPGP at the top, which most likely says "OpenPGP: Part of this message encrypted."

    +

    When using GnuPG, make a habit of glancing at that bar. The program will warn you there if you get an email encrypted with a key that can't be trusted.

    +
    +
    + + +
    +
    +

    Copy your revocation certificate to somewhere safe

    +

    Remember when you created your keys and saved the revocation certificate that GnuPG made? It's time to copy that certificate onto the safest digital storage that you have -- the ideal thing is a flash drive, disk or hard drive stored in a safe place in your home.

    +

    If your private key ever gets lost or stolen, you'll need this certificate file.

    +
    +
    + + +
    +
    +

    Important: act swiftly if someone gets your private key

    +

    If you lose your private key or someone else gets ahold of it (say, by stealing or cracking your computer), it's important to revoke it immediately before someone else uses it to read your encrypted email. This guide doesn't cover how to revoke a key, but you can follow the instructions on the GnuPG site. After you're done revoking, send an email to everyone with whom you usually use your key to make sure they know.

    +
    +
    + + + + +
    +
    + + + + +
    + + +
    + + + + diff --git a/de/.#index.html.pre b/de/.#index.html.pre new file mode 120000 index 00000000..20357852 --- /dev/null +++ b/de/.#index.html.pre @@ -0,0 +1 @@ +gpcf@gilbert.gpcf.eu.3016:1403344288 \ No newline at end of file diff --git a/de/.#macos.html.pre b/de/.#macos.html.pre new file mode 120000 index 00000000..20357852 --- /dev/null +++ b/de/.#macos.html.pre @@ -0,0 +1 @@ +gpcf@gilbert.gpcf.eu.3016:1403344288 \ No newline at end of file diff --git a/de/.#rest.html b/de/.#rest.html new file mode 120000 index 00000000..20357852 --- /dev/null +++ b/de/.#rest.html @@ -0,0 +1 @@ +gpcf@gilbert.gpcf.eu.3016:1403344288 \ No newline at end of file diff --git a/de/build.sh b/de/build.sh index d15a9f3e..2a634862 100755 --- a/de/build.sh +++ b/de/build.sh @@ -2,5 +2,7 @@ #This script glues the pages together. -cat head.html guide.head.html index.html.pre footer.html > index.html +cat head.html guide.head.html top-bar-gnu.html index.html.pre gnu-step.html rest.html footer.html > index.html +cat head.html guide.head.html top-bar-mac.html index.html.pre mac-step.html rest.html footer.html > mac.html +#cat head.html guide.head.html top-bar-win.html index.html.pre win-step.html rest.html footer.html > windows.html cat head.html infographic.html.pre footer.html > infographic.html diff --git a/de/gnu-step.html b/de/gnu-step.html new file mode 100644 index 00000000..4372a15b --- /dev/null +++ b/de/gnu-step.html @@ -0,0 +1,29 @@ + + +
    + +
    +

    Step 1.b Install the Enigmail plugin for your email program

    +

    In your email program's menu, select Add-ons (it may be in the Tools section). Make sure Extensions is selected on the left. Do you see Enigmail? if so, skip this step.

    +

    If not, search "Enigmail" with the search bar in the upper right. You can take it from here. Restart your email program when you're done.

    + +
    +

    Troubleshooting

    +
    +
    I can't find the menu.
    +
    In many new email programs, the main menu is represented by an image of three stacked horizontal bars.
    + + + +
    +
    +
    +
    +
    +
    diff --git a/de/head.html b/de/head.html index c9d5fe73..aeff2c21 100644 --- a/de/head.html +++ b/de/head.html @@ -11,6 +11,6 @@ diff --git a/de/index.html b/de/index.html index 170f1b8a..b485d0c6 100644 --- a/de/index.html +++ b/de/index.html @@ -11,7 +11,7 @@ @@ -35,6 +35,16 @@
  • 한국어
  • 日本語
  • +