This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Receive encrypted email


Using Thunderbird and Enigmail to receive encrypted e-mails [15 mins]

RECEIVE ENCRYPTED MAIL

Using Thunderbird and Enigmail to receive encrypted e-mails [15 mins]

The decryption of e-mails is handled automatically by Enigmail, the only action that may be needed on your behalf is to enter the pass-phrase to your secret key. In order to receive encrypted correspondence with somebody, they will need your public key.

Entering your pass-phrase

For security reasons, the pass-phrase to your secret key is stored temporarily in memory. Every now and then the dialog window below will pop-up. Thunderbird asks you for the pass-phrase to your secret key. This should be different from your normal email password. It was the pass-phrase you have entered when creating your key-pair in the previous chapter. Enter the pass-phrase in the text-box and click on 'OK'

 

Verifying incoming e-mails

Decrypting email messages sent to you will be fully automatic and transparent. But it is obviously important to see whether or not a message to you has in fact been encrypted or signed. This information is available by looking at the special bar above the message body.

A valid signature will be recognized by a green bar above the mail message like the example image below.

The last example message was signed but not encrypted. If the message had been encrypted, it would show like this:

When a message which has been encrypted, but not signed, it could have been a forgery by someone. The status bar will become gray like in the image below and tells you that while the message was sent securely (encrypted), the sender could have been someone else than the person behind the email address you will see in the 'From' header. The signature is necessary to verify the real sender of the message. Of course it is perfectly possible that you have published your public key on the Internet and you allow people to send you emails anonymously. But is it also possible that someone is trying to impersonate one of your friends.

Similarly if you receive a signed email from somebody you know, and you have this persons public key, but still the status bar becomes yellow and displays a warning message, it is likely that someone is attempting to send you forged emails!

Sometimes secret keys get stolen or lost. The owner of the key will inform his friends and send them a so-called revocation certificate (more explanation of this in the next paragraph). Revocation means that we no longer trust the old key. The thief may afterwards still try his luck and send you a falsely signed mail message. The status bar will now look like this:

Strangely enough Thunderbird in this situation will still display a green status bar! It is important to look at the contents of the status bar in order to understand the encryption aspects of a message. PGP allows for strong security and privacy, but only if you are familiar with its use and concepts. Pay attention to warnings in the status bar.


Task

Test your learning by following the instructions above to;

  • Send your public key to someone you know who uses PGP email encryption. You can use encryptedenigma@aktivix.org to test this.
  • Ask them to send you an encrypted email.

Task Discussion


  • Mohit Kumar said:

    Signed and sent my public PGP key to the Enigmail person and waiting for his encrypted email reply.

    on March 18, 2013, 8:34 a.m.
  • mnoooo said:

    Ok , 

    I also finished every possible task :

    -Download Thinderbird, Enigmamail, PGP

    -Generated Key into Keyring,

    -Remembered my pass

    -Exchanged e-mails with that "enigmamail person",  I  his public key

    -Sent him a my public key. Well this was the last step I was little bit confused wit OpenPGP Menu in Thunderbird.

    And what is next? How do I apply for badge ?

    on Oct. 31, 2012, 8:43 a.m.

    Mick Fuzz said:

    Good Work! You can apply for your badge here. https://p2pu.org/en/badges/encrypt-and-sign-your-email-with-thunderbird/ nice one, Mick
    on Oct. 31, 2012, 8:48 a.m. in reply to mnoooo
  • Rodolfo Aguirre said:

    Hello Like my colleague


    firewire2879

    • I attached my public key
    • signed and encrypted my emails
    • waiting for an encrypted email
    • approved the sender's public key
    • memorized my password

    waiting for response from encryptedengima@aktivix.org

    on Sept. 3, 2012, 9:56 p.m.
  • firewire2879 said:

    ok I think I got it this time

    • I attached my public key
    • signed and encrypted my emails
    • waiting for an encrypted email
    • approved the sender's public key
    • memorized my password

    waiting for response from encryptedengima@aktivix.org

    on Aug. 21, 2012, 11:18 p.m.

    Mick Fuzz said:

    You have it. You have completed the course and can apply for your badge here. https://p2pu.org/en/badges/encrypt-and-sign-your-email-with-thunderbird/ nice one
    on Aug. 22, 2012, 4:42 a.m. in reply to firewire2879
  • ciderpunx said:

    I think I did the first excercise (sending my public key) a couple of excercises ago, don't get why its here again. Maybe just for reference?

    on June 20, 2012, 2:35 p.m.

    Mick Fuzz said:

    Fixed, I moved that around and forgot to delete the original. Thanks!

    on June 20, 2012, 5:30 p.m. in reply to ciderpunx
  • Gzikskud said:

    Pedant warning.... Consider using private key rather than secret.. It will make it a lot simpler when you progress to talking about SSL or using shared secret technologies.

    on June 19, 2012, 7:51 a.m.

    boneidol said:

    No I think this is wrong.  The correct phrase IS secret key

    The man page and all the options for gnupg it uses the term secret key

    examples from the man page

    "Use a *good* password for your user account and a *good* passphrase to protect your secret key"

     

    "--sign-key name
                  Signs a public key with your secret key. This is a shortcut version of the subcommand "sign" from --edit."

    " --lsign-key name
                  Signs  a  public key with your secret key but marks it as non-exportable. This is a shortcut version of the subcommand "lsign" from --edit-
                  key."

    etc ...
     

    on June 19, 2012, 7:59 a.m. in reply to Gzikskud

    ciderpunx said:

    It took me ages to get my head around the keys.

    It was when someone told me to think of them as the encrypting (for public) key and the decrypting (for private) key that I "got it".

    on June 20, 2012, 2:32 p.m. in reply to boneidol