As the electronic mail became more and more popular, the concerns of
email authentication and confidentiality were growing.
Authentication is sensible when you want to be exactly
sure that
a message received indeed has been sent from the sender's
mailbox
a message received has not been changed during a delivery
process
a message sender will not be able to repudiate it later
Confidentiality concerns the ability to
send messages which no one can read without your permission
receive messages which no one except you can read
In order to implement the mentioned above possibilities a new email
Internet standard called S/MIME (Secure Multipurpose Internet Mail
Extensions) has been developed on the base of already-existing MIME
standard.
Authentication - digitally signed emails
An issue concerning authentication has been successfully solved by the
implementation of so called digital signature. Imagine, you and only you
can sign your email message and there is no way to forge this signature
(unless someone steals your "stamp"). In fact, a digital signature mechanism is
much easier to imagine than to explain how it is implemented in practice.
So, to digitally sign email messages you need four things:
You (actually, we need your email address from which you are
going to send signed emails).
"Stamp" with which you will sign your emails.
A recipient of messages - generally, a person who whish to
be sure in authentication of a message origin.
When you have these necessary things you should take the following
course of action:
Go to the authority and ask them to identify you (note that the
authority proves the identity of your email address rather than your
identity). This is done by issuing a digital certificate which is an
electronic analog of an identity card. In our terms this digital
certificate is your special "stamp" to sign the emails. (How
to get a digital certificate?)
In fact, a certificate ("stamp") obtained from the authority
consists of two parts: private and public (called public and private keys
in cryptographic theory)
private part is directly used to sign the emails and
therefore should be secret from others
the recipients certify the sender's authenticity using
public part which is not secret and can be safely given to
anyone.
Extract a public key from the certificate and share (just send with
a letter or deliver it in any other way) it with the desired
recipients. (How to extract a public key?)
Confidentiality and data security can be achieved by encrypting the email
messages. The same scheme with a certificate containing public and private
keys is used again (see above for a discussion of digital signatures). Normally,
the same certificate (pair of
keys) can be used for both signing and encryption, but some prefer
to have two separate certificates to sign and to encrypt emails with.
What is necessary to receive and read encrypted emails:
You should have your own certificate (pairs of keys)
obtained from an authority installed on your mail client
After you have composed a message, encrypt it using an "Encrypt"
feature of your email program. Note: after completing the
encryption, you will no longer be able to read the encrypted message
because it can be decrypted only by a recipient's private key.