Warning! You are not logged in. Log in or create an account to have your edits attributed to your username rather than your IP, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 23: Line 23:


===Signatures===
===Signatures===
Signing a message is done using a message and your '''private''' key.  The result is an extra block of data, which can be shown in combination with the message and the corresponding '''public''' key, to be created with that private key.  So this signature is cryptographic proof that can be checked by anyone, that the message was signed by the person with access to the private key.  This is what we want a signature to mean.
Signing a message is done using a message any your '''private''' key.  The result is an extra block of data, which can be shown in combination with the message and the corresponding '''public''' key, to be created with that private key.  So this signature is cryptographic proof that can be checked by anyone, that the message was signed by the person with access to the private key.  This is what we want a signature to mean.


<u>So summarizing:</u> a private key can be used to '''decrypt''' and '''sign''' messages, a public key can be used to '''encrypt''' a message and '''verify''' a signature.
So summarizing: a private key can be used to '''decrypt''' and '''sign''' messages, a public key can be used to '''encrypt''' a message and '''verify''' a signature.


==How do we use encryption?  A step by step guide to set it up==
==How do we use encryption?  A step by step guide to set it up==
There are many ways to set up encryption.  It's fine if you choose to use a different method.  This is a procedure which works as simple as possible on Michigan Tech's campus network.  If you have improvements which make things easier (without making them less secure), please let us know.  Below is a step by step guide for computers which you maintain (as opposed to the MTU admins).
There are many ways to set up encryption.  It's fine if you choose to use a different method.  This is a procedure which works as simple as possible on Michigan Tech's campus network.  If you have improvements which make things easier (without making them less secure), please let us know.  Below is a step by step guide for computers which you maintain (as opposed to the MTU admins).


===Setting it up running from a USB stick===
===Setting it up on your MTU account===
This method works on any machine that runs Windows and allows you to run programs.  It is currently the only method that works on MTU campus computers.
# Set up your e-mail account in Thunderbird.  This is as easy as clicking the "use existing account" button, then entering your name, e-mail and (ISO) password, and tell Thunderbird to sort it out.
# Get a USB stick with at least 100 MB free space on it.
# Create your key-pair with KleopatraChoose the ''New certificate'' option from the file menu, then the option to create a PGP key pairFill out the fields (comment may be empty) and let it create the keyChoose a good passphrase; you should expect that some people will get access to your USB stick at some point; the passphrase is the only thing that protects your communication at that point.  Note that making it a real phrase of several words is very secure and doesn't stop you from remembering it; adding some special characters is not secure and hard to rememberDo not use a password you use for anything else, in particular '''DO NOT USE YOUR ISO-PASSWORD!'''
# Install [http://downloads.sourceforge.net/project/portableapps/Mozilla%20Thunderbird%2C%20P.E./Mozilla%20Thunderbird%2C%20Portable%20Edition%2017.0.6/ThunderbirdPortable_17.0.6_English.paf.exe Mozilla Thunderbird Portable] on itNote that you have to change the installation path to point to your USB stick.
# Tell Kleopatra to upload your public key to a key server
# Start Thunderbird Portable (from the USB stick).
# In Thunderbird, change your account settings to not compose HTML messages (as that is known to cause problems)Then enable OpenPGP. Select the option to automatically sign encrypted messages.  If you want, you can also select auto-sign non-encrypted messages and auto-encrypt.
# Click the button for using an existing account, enter your name, MTU e-mail and ISO password and let Thunderbird figure everything out for youAfter this step, you have set up thunderbird portable without encryptionThe following steps will add encryption support.
# Test if it works.  Send a message to yourself and make sure you have the two icons in the bottom right corner of the compose window (the pencil and the key) are lit up.
# Close Thunderbird.
# When receiving the message, it should show a green bar on top, saying that it has found a good signature from yourself.
# Install [http://downloads.sourceforge.net/portableapps/GPG_for_Thunderbird_Portable_1.4.13.paf.exe?download GPG for Thunderbird Portable] on top of Thunderbird PortableMake sure you select the exact same folder that you selected for Thunderbird Portable for installing this to.
# To send encrypted e-mail to someone whose public key is not on your USB-stick yet, proceed as usual.  It will give you a window asking you what to do; tell it to download the missing keysIf the key is not found, you cannot send encrypted e-mail to this address. In that case, choose to not send the e-mail, or send it unencrypted.
# In Thunderbird Portable, click on the three lines on the right of the search box to make the menu appearSelect ''Add-ons'' from this menu.
# Using the search box, search for the Enigmail add-on and install it.
# Thunderbird will request to be restartedDo this.
# Open Thunderbird's menu again and select OpenPGP->Key management.
# From the top bar, select Generate->New key pair.
# Enter a passphrase, set the key to never expire and generate the key.
# If the window doesn't disappear after key generation (watch the progress bar), select cancel to close it.
# Select "Display all keys by default" in the key management window.  Your new key should show up.
# Select your key, then from the menubar, select Keyserver->upload public keys.  Accept the default key server.
# If you want to install your key on your own computer as well, right-click on it and select ''Export Keys to File'', then select ''Export Secret Keys'' and save it to the USB stick'''Do not send this file via e-mail!'''
# Close the Key management window.
# Open your account settings by selecting the account in the left bar, then clicking on ''View settings for this account''.
# Select ''Composition & Addressing'' and uncheck ''Compose messages in HTML format''.
# Select ''OpenPGP Security'' and check ''Enable OpenPGP security (Enigmail) for this identity'', and all four checkboxes under ''Message Composition Default Options''.


===Setting it up on your own computer===
===Setting it up on your own computer===
# Install [http://www.mozilla.org/en-US/thunderbird/ Mozilla Thunderbird] and gnupg ([http://gpg4win.org/ Windows]/[https://gpgtools.org/installer Mac]) on your machine.  On GNU/Linux, install with your package manager instead of using the previous links.  On Debian, note that Thunderbird is called Icedove.
# Install [http://www.mozilla.org/en-US/thunderbird/ Mozilla Thunderbird], the [http://enigmail.net/download/ Enigmail] plugin and gnupg ([http://gpg4win.org/ Windows]/[https://gpgtools.org/installer Mac]) on your machine.  On GNU/Linux, install with your package manager instead of using the previous links.  On Debian, note that Thunderbird is called Icedove.
# Follow all steps from the USB stick method, except for the ones installing software.  You do need to get Enigmail.
# Run seahorse or Kleopatra, and close it again.  This way your gnupg folder will be created so you can find it for the next step.
# To import your key, select ''OpenPGP->Key Management'' from the Thunderbird menu, then select ''File->Import Keys from File''.
# Insert the USB stick with your key.  Copy the ''gnupg'' folder on it to your local keystore. Where this is depends on your operating system:
 
#* On GNU/Linux, it is located in your home directory and named .gnupg" (note the period at the start).  If a directory with that name already exists, you should remove itBut take care; it may contain keys you don't want to lose.  If you're not sure, rename it instead of removing.
==Sending signed and encrypted e-mail==
#* On Windows, it is located under your user's ''Application Data'' folder and named ''gnupg''.
If the icons in the bottom right of the compose window are on, your mail will be encrypted and signedIf you don't have the key of the recipient, it will ask you what to do.  You should always select ''Download missing keys'' and accept the default key server. It will pop up a window with too much information.  Ignore all of it and click Ok.  You then need to select the newly downloaded key and click OkIf there is no key on the server, you cannot send this person encrypted e-mail.  In that case, you must choose to either send it unencrypted or not send it.
#* On a Mac, it's probably the same as for GNU/Linux, but I have not checkedPlease edit this if you have.
 
# Set up your e-mailaccount in Thunderbird.  This works the same as on MTU's computersAlso follow the other steps for setting up and testing Thunderbird from the above list.
When reading encrypted e-mail, Thunderbird will ask for your passphraseAfter you enter it, you can read the e-mail.  It will show a colored bar at the top of the message saying that this is a decrypted message.  It will normally also say that it has an ''UNTRUSTED good signature''.  Don't worry about the untrusted part.  If you're interested, you can get rid of it by building up a ''web of trust''.


{{Page data}}
{{Page data}}


[[Category:MOST methods]]
[[Category:MOST methods]]
Warning! All contributions to Appropedia are released under the CC-BY-SA-4.0 license unless otherwise noted (see Appropedia:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here! You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted material without permission!
Cancel Editing help (opens in new window)

This page is a member of 2 hidden categories:

Cookies help us deliver our services. By using our services, you agree to our use of cookies.