digplanet beta 1: Athena
Share digplanet:


Applied sciences






















S/MIME (Secure/Multipurpose Internet Mail Extensions) is a standard for public key encryption and signing of MIME data. S/MIME is on an IETF standards track and defined in a number of documents, most importantly RFCs 3369, 3370, 3850 and 3851. S/MIME was originally developed by RSA Data Security Inc. The original specification used the IETF MIME specification[1] with the de facto industry standard PKCS#7 secure message format. Change control to S/MIME has since been vested in the IETF and the specification is now layered on Cryptographic Message Syntax, an IETF specification that is identical in most respects with PKCS #7. S/MIME functionality is built into the majority of modern email software and interoperates between them.


S/MIME provides the following cryptographic security services for electronic messaging applications: authentication, message integrity, non-repudiation of origin (using digital signatures), privacy and data security (using encryption). S/MIME specifies the MIME type application/pkcs7-mime (smime-type "enveloped-data") for data enveloping (encrypting) where the whole (prepared) MIME entity to be enveloped is encrypted and packed into an object which subsequently is inserted into an application/pkcs7-mime MIME entity.

S/MIME certificates[edit]

Before S/MIME can be used in any of the above applications, one must obtain and install an individual key/certificate either from one's in-house certificate authority (CA) or from a public CA. The accepted best practice is to use separate private keys (and associated certificates) for signature and for encryption, as this permits escrow of the encryption key without compromise to the non-repudiation property of the signature key. Encryption requires having the destination party's certificate on store (which is typically automatic upon receiving a message from the party with a valid signing certificate). While it is technically possible to send a message encrypted (using the destination party certificate) without having one's own certificate to digitally sign, in practice, the S/MIME clients will require you to install your own certificate before they allow encrypting to others.

A typical basic ("class 1") personal certificate verifies the owner's "identity" only insofar as it declares that the sender is the owner of the "From:" email address in the sense that the sender can receive email sent to that address, and so merely proves that an email received really did come from the "From:" address given. It does not verify the person's name or business name. If a sender wishes to enable email recipients to verify the sender's identity in the sense that a received certificate name carries the sender's name or an organization's name, the sender needs to obtain a certificate ("class 2") from a CA who carries out a more in-depth identity verification process, and this involves making inquiries about the would-be certificate holder. For more detail on authentication, see digital signature.

Depending on the policy of the CA, the certificate and all its contents may be posted publicly for reference and verification. This makes the name and email address available for all to see and possibly search for. Other CAs only post serial numbers and revocation status, which does not include any of the personal information. The latter, at a minimum, is mandatory to uphold the integrity of the public key infrastructure.

Obstacles to deploying S/MIME in practice[edit]

  • Not all email software handles S/MIME signatures, resulting in an attachment called smime.p7s that may confuse some people.
  • S/MIME is sometimes considered not properly suited for use via webmail clients. Though support can be hacked into a browser, some security practices require the private key to be kept accessible to the user but inaccessible from the webmail server, complicating the key advantage of webmail: providing ubiquitous accessibility. This issue is not fully specific to S/MIME: other secure methods of signing webmail may also require a browser to execute code to produce the signature; exceptions are PGP Desktop and versions of GnuPG, which will grab the data out of the webmail, sign it by means of a clipboard, and put the signed data back into the webmail page. Seen from the view of security this is the more secure solution.
    • Some organizations[who?] consider it acceptable for webmail servers to be "in on the secrets"; others[who?] do not. Some of the considerations are mentioned below regarding malware. Another argument is that servers often contain data that is confidential to the organization anyway, so what difference does it make if additional data, such as private keys used for decryption, are also stored and used on such servers?
    • Many make a distinction between private keys used for decryption and those used for digital signatures. They are far more likely to accept sharing of the former than the latter. This is especially true if the non-repudiation aspect of digital signatures is a concern (it may not be). There is fairly universal consensus that non-repudiation requires that a private key be under sole control of its owner during its entire lifecycle.[citation needed] Therefore, decryption done with webmail servers is more likely to be acceptable than digital signatures.
  • S/MIME is tailored for end-to-end security. Logically it is not possible to have a third party inspecting email for malware and also have secure end-to-end communications. Encryption will not only encrypt the messages, but also the malware. Thus if mail is scanned for malware anywhere but at the end points, such as a company's gateway, encryption will defeat the detector and successfully deliver the malware. The only solution to this is to perform malware scanning on end user stations after decryption. Other solutions do not provide end-to-end trust as they require keys to be shared by a third party for the purpose of detecting malware. Examples of this type of compromise are:
    • Solutions which store private keys on the gateway server so decryption can occur prior to the gateway malware scan. These unencrypted messages are then delivered to end users.
    • Solutions which store private keys on malware scanners so that it can inspect messages content, the encrypted message is then relayed to its destination.
  • Due to the requirement of a certificate for implementation, not all users can take advantage of S/MIME, as some may wish to encrypt a message, with a public/private key pair for example, without the involvement or administrative overhead of certificates.

Even more generally, any message that an S/MIME email client stores encrypted cannot be decrypted if the applicable key pair's private key is unavailable or otherwise unusable (e.g., the certificate has been deleted or lost or the private key's password has been forgotten). Note, however, that an expired, revoked, or untrusted certificate will remain usable for cryptographic purposes. In addition, indexing of encrypted messages' clear text may not be possible with all email clients. Regardless, neither of these potential dilemmas is specific to S/MIME but rather cipher text in general and do not apply to S/MIME messages that are only signed and not encrypted.

S/MIME signatures are usually "detached signatures": the signature information is separate from the text being signed. The MIME type for this is multipart/signed with the second part having a MIME subtype of application/(x-)pkcs7-signature. Mailing list software is notorious for changing the textual part of a message and thereby invalidating the signature; however, this problem is not specific to S/MIME, and a digital signature only reveals that the signed content has been changed.

See also[edit]


  1. ^ RFC 2045: Multipurpose Internet Mail Extensions (MIME). Part One was published in November 1996.

External links[edit]

Free Secure Email Certificate providers

  • Comodo (one year certificate).
  • StartCom (one year certificate)
  • Actalis (one year certificate)
  • CAcert (six month or two year certificate - untrusted by most software)

Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/S/MIME — Please support Wikipedia.
This page uses Creative Commons Licensed content from Wikipedia. A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.

2258 news items


Fri, 20 Nov 2015 01:23:06 -0800

Künftig soll jeder Kunde der Deutschen Telekom seine E-Mails verschlüsseln können, ohne sich von ihrer E-Mailsoftware trennen zu müssen. Das Zauberwort heißt S/Mime und diese Technik ist in praktisch jedem E-Mailprogramm enthalten, auch bei ...
Fri, 20 Nov 2015 12:37:30 -0800

The upcoming OPENPGPKEY and SMIMEA records will allow use of the DNS to store and retrieve PGP (Pretty Good Privacy) public keys and S/MIME certificates for end users. PGP and S/MIME are commonly used for secure end-to-end messaging (i.e. ...
Mon, 09 Nov 2015 23:07:30 -0800

Sichere Kommunikation ist die Basis für erfolgreiches Arbeiten im Netz. Über E-Mails werden Supportanfragen beantwortet, Kontaktdaten übermittelt und sogar Zahlungsinformationen ausgetauscht. Daten, die besonders schützenswert und auf Webseiten ...


Wed, 25 Nov 2015 23:13:03 -0800

Gpg4win unterstützt nun PGP/MIME- und S/MIME-Mails, den Standard für verschlüsselte E-Mails sowie Outlook 2016.Die Verschlüsselung über die AES-256-Bit soll nun einfacher und schneller funktionieren und der Import von großen Dateien soll ebenfalls ...


Fri, 06 Nov 2015 11:23:09 -0800

FIPS 140-2 compliant full disk encryption is on by default, and you get the S/MIME encryption protocol for digitally signing and/or encrypting messages, and of course doubly encrypted messages via BBM (though you can install BBM yourself on any Android ...

Windows IT Pro

Windows IT Pro
Thu, 12 Mar 2015 06:18:45 -0700

S/MIME is “client to client” encryption. S/MIME is the only client-side option available in Exchange Online to allow Outlook or OWA clients to encrypt messages from creation to delivery. That's not to say that email normally leaves your PC in plain text.

Windows IT Pro (blog)

Windows IT Pro (blog)
Thu, 27 Nov 2014 06:48:45 -0800

New features are all very exciting, which is nice, until they don't work, which isn't so nice. My experience of sending an S/MIME-signed message from Outlook Web App proved problematic and deserved some investigation. The root cause turned out to be a ...


Mon, 23 Nov 2015 20:47:12 -0800

Die ist sowohl mit S/MIME, als auch mit PGP und den zugehörigen Werkzeugen für jeden beherrschbar und einigermaßen gut verständlich, auch wenn sich gerade in Deutschland die Provider wie Mailbox.org oder Posteo.de redlich darum bemühen, das ...

Oops, we seem to be having trouble contacting Twitter

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!

Searchlight Group

Digplanet also receives support from Searchlight Group. Visit Searchlight