#1 ΠΑΡΕ ΤΑ ΚΟΜΜΑΤΙΑ

Αυτός ο οδηγός βασίζεται σε λογισμικό με ελεύθερη άδεια χρήσης: είναι εντελώς διαφανές και ο καθένας/μία μπορεί να το αντιγράψει ή να φτιάξει μια δική του έκδοση. Αυτό το κάνει ασφαλέστερο έναντι στην παρακολούθηση από ιδιωτικό λογισμικό (όπως είναι τα Windows). Μάθε περισσότερα σχετικά με το ελεύθερο λογισμικό στο fsf.org.

Τα περισσότερα λειτουργικά συστήματα GNU/Linux διατίθενται με το GnuPG προεγκατεστημένο, οπότε δε χρειάζεται να το κατεβάσεις. Πριν να ρυθμίσεις το GnuPG όμως, θα χρειαστεί να εγκαταστήσεις ένα πρόγραμμα email στον υπολογιστή σου. Οι περισσότερες διανομές GNU/Linux έχουν μια ελεύθερη έκδοση του προγράμματος email Thunderbird διαθέσιμη προς εγκατάσταση. Αυτός ο οδηγός θα δουλέψει με αυτές, επιπρόσθετα με το ίδιο το Thunderbird. Τα προγράμματα email είναι ένας άλλος τρόπος πρόσβασης στους ίδιους λογαριασμούς όπου μπορείς να έχεις πρόσβαση μέσω browser, με ακόμη περισσότερες δυνατότητες.

Εάν ήδη έχεις ένα τέτοιο πρόγραμμα, μπορείς να προχωρήσεις στο Βήμα 1.Β.

ΒΗΜΑ 1.Α ΡΥΘΜΙΣΕ ΤΟ ΠΡΟΓΡΑΜΜΑ EMAIL ΣΟΥ ΜΕ ΤΑ ΣΤΟΙΧΕΙΑ ΤΟΥ ΛΟΓΑΡΙΑΣΜΟΥ EMAIL ΣΟΥ (ΑΝ ΔΕΝ ΕΙΝΑΙ ΗΔΗ ΡΥΘΜΙΣΜΕΝΟ)

Άνοιξε το πρόγραμμα email σου και ακολούθησε το μάγο που το ρυθμίζει με τα στοιχεία του λογαριασμού email σου.

ΑΝΤΙΜΕΤΩΠΙΣΗ ΠΡΟΒΛΗΜΑΤΩΝ

Τί είναι ο μάγος;
Ο μάγος είναι μια σειρά από παράθυρα τα οποία εμφανίζονται ώστε να γίνει εύκολη μια δουλειά στον υπολογιστή, όπως η εγκατάσταση ενός προγράμματος. Προχωράς σε αυτόν κάνοντας κλικ και πραγματοποιώντας επιλογές καθώς συνεχίζεις.
Το πρόγραμμα email μου δε μπορεί να βρει το λογαριασμό μου ή δεν κατεβάζει το email μου.
Πριν ψάξεις στον Ιστό, συνιστούμε να ξεκινήσεις ρωτώντας άλλους ανθρώπους που χρησιμοποιούν το email από τον ίδιο πάροχο με σένα (ίδιο domain), ώστε να διαπιστώσεις τις σωστές ρυθμίσεις.

ΒΗΜΑ 1.ΒΕΓΚΑΤΑΣΤΗΣΕ ΤΟ ΠΡΟΣΘΕΤΟ ENIGMAIL ΓΙΑ ΤΟ ΠΡΟΓΡΑΜΜΑ EMAIL ΣΟΥ

Στο μενού του προγράμματος email σου, επίλεξε Πρόσθετα (μπορεί να είναι στο τμήμα Εργαλεία).Βεβαιώσου ότι το Επεκτάσεις είναι επιλεγμένο στα αριστερά. Βλέπεις το Enigmail; Αν ναι, προσπέρασε αυτό το βήμα.

Αν όχι, ψάξε για "Enigmail" χρησιμοποιώντας τη μπάρα αναζήτησης πάνω δεξιά. Μπορείς να συνεχίσεις μόνος/η σου από εδώ και πέρα. Επανεκκίνησε το πρόγραμμα email σου όταν τελειώσεις.

ΑΝΤΙΜΕΤΩΠΙΣΗ ΠΡΟΒΛΗΜΑΤΩΝ

Δε μπορώ να βρω το μενού.
Σε πολλά νέα προγράμματα email, το κυρίως μενού αναπαρίσταται από μια εικόνα τριών στοιχισμένων οριζόντιων γραμμών.

#2 ΦΤΙΑΞΕ ΤΑ ΚΛΕΙΔΙΑ ΣΟΥ

Για να χρησιμοποιήσεις το σύστημα GnuPG, θα χρειαστείς ένα δημόσιο κλειδί και ένα ιδιωτικό κλειδί (τα οποία είναι μαζί γνωστά ως ζεύγος κλειδιών).Το καθένα είναι μια μακρά ακολουθία από τυχαία παραχθέντες αριθμούς και σύμβολα τα οποία ανήκουν μοναδικά σε εσένα. Το δημόσιο και το ιδιωτικό κλειδί σου συνδέονται μεταξύ τους μέσω μιας ειδικής μαθηματικής συνάρτησης.

Το δημόσιο κλειδί σου δεν είναι σαν ένα φυσικό κλειδί, γιατί αποθηκεύεται εκτεθειμένο σε έναν online κατάλογο ο οποίος ονομάζεται εξυπηρετητής κλειδιών (keyserver). Οι άνθρωποι το κατεβάζουν και το χρησιμοποιούν, μαζί με το GnuPG, ώστε να κρυπτογραφήσουν τα email που σου στέλνουν. Μπορείς να φανταστείς τον εξυπηρετητή κλειδιών σαν ένα τηλεφωνικό οδηγό, όπου τα άτομα που θέλουν να σου στείλουν ένα κρυπτογραφημένο email αναζητούν το δημόσιο κλειδί σου.

Το ιδιωτικό κλειδί μοιάζει περισσότερο με φυσικό κλειδί, επειδή το κρατάς για τον εαυτό σου (στον υπολογιστή σου). Χρησιμοποιείς το GnuPG και το ιδιωτικό κλειδί για να αποκωδικοποιήσεις τα κρυπτογραφημένα email που σου στέλνουν οι άλλοι άνθρωποι.

ΒΗΜΑ 2.Α ΦΤΙΑΞΕ ΕΝΑ ΖΕΥΓΟΣ ΚΛΕΙΔΙΩΝ

Στο μενού του προγράμματος email σου, επίλεξε OpenPGP → Μάγος ρύθμισης. Δε χρειάζεται να διαβάσεις το κείμενο στο παράθυρο που εμφανίζεται, εκτός και αν το θέλεις, αλλά είναι καλό το να διαβάσεις το κείμενο στις επόμενες οθόνες του μάγου.

Στη δεύτερη οθόνη, που τιτλοφορείται "Υπογραφή", επίλεξε "Όχι, θέλω να δημιουργήσω κανόνες ανά χρήστη για τα email που θα πρέπει να υπογραφούν".

Χρησιμοποίησε τις προεπιλογές μέχρι να φτάσεις στην οθόνη που λέγεται "Δημιουργία κλειδιού".

Στην οθόνη που λέγεται "Δημιουργία κλειδιού", επίλεξε έναν ισχυρό κωδικό πρόσβασης! Ο κωδικός πρόσβασης σου θα πρέπει να είναι τουλάχιστον 12 χαρακτήρες σε μέγεθος και να περιλαμβάνει τουλάχιστον ένα μικρό και ένα κεφαλαίο γράμμα, και τουλάχιστον έναν αριθμό ή σύμβολο. Μην ξεχάσεις τον κωδικό πρόσβασης, ειδάλλως όλη αυτή η δουλειά θα πάει χαμένη!

Το πρόγραμμα θα κάνει λίγη ώρα να τελειώσει το επόμενο βήμα, την οθόνη "Δημιουργία κλειδιού". Όσο περιμένεις, κάνε κάτι άλλο με τον υπολογιστή σου, όπως το να παρακολουθήσεις μια ταινία ή να σερφάρεις στον Ιστό. Όσο περισσότερο χρησιμοποιείς τον υπολογιστή σου σε αυτό το σημείο, τόσο γρηγορότερα θα προχωρήσει η δημιουργία των κλειδιών.

Όταν εμφανιστεί η οθόνη Επιβεβαίωση του OpenPGP, επίλεξε Δημιουργία πιστοποιητικού και αποθήκευσε το σε ένα ασφαλές μέρος στον υπολογιστή σου (συνιστούμε να φτιάξεις ένα φάκελο με το όνομα "Πιστοποιητικό ανάκλησης" στο προσωπικό φάκελο σου και να το φυλάξεις εκεί). Θα μάθεις περισσότερα για το πιστοποιητικό ανάκλησης στο Τμήμα 5. Ο Μάγος ρύθμισης θα σου ζητήσει να το μετακινήσεις σε μια εξωτερική συσκευή, αλλά αυτό δεν είναι απαραίτητο αυτή τη στιγμή.

ΑΝΤΙΜΕΤΩΠΙΣΗ ΠΡΟΒΛΗΜΑΤΩΝ

Δε μπορώ να βρω το μενού του OpenPGP.
Σε πολλά νέα προγράμματα email, το κυρίως μενού αναπαρίσταται από μια εικόνα τριών στοιχισμένων οριζόντιων γραμμών. Το OpenPGP ίσως βρίσκεται σε ένα τμήμα που ονομάζεται Εργαλεία.
Ο μάγος λέει ότι δε μπορεί να βρει το GnuPG.
Άνοιξε οποιοδήποτε πρόγραμμα χρησιμοποιείς συνήθως για να εγκαθιστάς λογισμικό, ψάξε για το GnuPG και μετά εγκατάστησε το. Αμέσως μετά επανεκκίνησε το μάγο ρύθμισης του Enigmail πηγαίνοντας στο OpenPGP → Mάγος ρύθμισης.

ΒΗΜΑ 2.Β ΑΝΕΒΑΣΕ ΤΟ ΔΗΜΟΣΙΟ ΚΛΕΙΔΙ ΣΟΥ ΣΕ ΕΝΑΝ ΕΞΥΠΗΡΕΤΗΤΗ ΚΛΕΙΔΙΩΝ

Στο μενού του προγράμματος email σου, επίλεξε OpenPGP → Διαχείριση κλειδιών.

Κάνε δεξί κλικ στο κλειδί σου και επίλεξε Αποστολή δημόσιων κλειδιών σε εξυπηρετητή κλειδιών. Χρησιμοποίησε τον εξορισμού εξυπηρετητή κλειδιών στο παράθυρο που εμφανίζεται.

Τώρα οποίος/α θέλει να σου στείλει ένα κρυπτογραφημένο μήνυμα μπορεί να κατεβάσει το δημόσιο κλειδί σου από το Internet. Υπάρχουν πολλοί εξυπηρετητές που μπορείς να επιλέξεις από το μενού, αλλά είναι όλοι αντίγραφα ο ένας του άλλου, οπότε δεν έχει σημασία το ποιόν χρησιμοποιείς. Παρόλα αυτά, κάποιες φορές χρειάζεται να περάσουν λίγες ώρες ώστε να ταιριάξουν μεταξύ τους όταν ανεβαίνει ένα νέο κλειδί.

ΑΝΤΙΜΕΤΩΠΙΣΗ ΠΡΟΒΛΗΜΑΤΩΝ

Η μπάρα προόδου δεν ολοκληρώνεται ποτέ
Κλείσε το παράθυρό μεταφόρτωσης και σιγουρέψου ότι έχεις σύνδεση με το Internet.Αν αυτό δε δουλέψει, προσπάθησε ξανά, επιλέγοντας διαφορετικό εξυπηρετητή κλειδιών.
Το κλειδί μου δεν εμφανίζεται στη λίστα
Δοκίμασε την επιλογή “Εμφάνισε τα προεπιλεγμένα κλειδιά”.

GNUPG, OPENPGP, ΤΙ ΕΓΙΝΕ ΡΕ ΠΑΙΔΙΑ;

Χρησιμοποιείς ένα πρόγραμμα το οποίο λέγεται GnuPG, αλλά το μενού στο πρόγραμμα email σου λέγεται OpenPGP. Μπέρδεμα, ε; Γενικά, οι όροι GnuPG, Gnu Privacy Guard, OpenPGP και PGP χρησιμοποιούνται σαν συνώνυμα, παρότι έχουν ελαφρώς διαφορετικό νόημα.

#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, forming 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. 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 to let people know that you are no longer using that keypair.

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.