Upcoming Events

Cloud Connect
Santa Clara
Feb 13-16, 2012

Cloud Connect brings together the entire cloud eco-system to better understand the transformation we're experiencing and promises to be the defining event of the cloud computing industry. Learn about the latest cloud technologies and platforms from thought leaders in Cloud Connect’s comprehensive conference.

Register Now!

More Events »

Subscribe to Newsletter

  • Keep up with all of the latest news and analysis on the fast-moving IT industry with Network Computing newsletters.
Sign Up




The Messaging Choice Is Clear

By Dan Backman  In the world of S/MIME (Secure/Multipurpose Internet Mail Extensions) messaging, there are two distinct ways of encoding signed messages. Popularly referred to as ÒclearÓ and ÒopaqueÓ signatures, the Òmixed-multipartÓ versus Òsigned-dataÓ MIME message formats caused compatibility problems in our interoperability testing. While most products default to Òclear-signedÓ message formatsÑwhich are legible regardless of whether the message recipient understands S/MIMEÑclear-signing breaks when you use an external MIME processor, such as those in MAPI/SMTP gateways.

Clear signed messages are preferred when dealing with non-S/MIME clients, as the signature (signed message digest and digital ID) is carr ied as a standard MIME attachment outside the human-readable message body. In this way, the original message traverses the mail transport, which is followed by an unintelligible block of Base64-encoded S/MIME content. Standard mail clients simply see an attachment called Òsmime.p7sÓ full of illegible text, in addition to the standard message. The primary disadvantage is that the mail gateways are free to translate character sets of the message, or re-encode MIME attachments, thereby altering the messageÕs contents. This breaks the digital signature (since the signature guarantees the original contents of the message are unaltered) and often yields false warning of message tampering.

Opaque signing is designed to avoid problems caused by invasive mail gateways that can alter message formatting in transit, thus invalidating the signature. By wrapping the entire message in a MIME-encoded block of illegible text (usually Base64-encoded), the entire message is treated as an attachment, and is not altered by gat eways that wish to translate character sets or recode MIME headers. This guarantees the message, but it is illegible (not to be confused with encrypted) to the gateway. It is also illegible to non-S/MIME clients that canÕt unwrap the envelope.

MAPI/Internet mail gateways are a good example of situations that require opaque signed messages. As MAPI handles messages and attachments in a proprietary (i.e. non-MIME) format, the actual MIME headers are generated at the SMTP gatewayÑnot in the secure mail client. Therefore, the message signature cannot account for the MIME headersÕ content when generating the message signature. This automatically invalidates the digital signature as the message passes through the SMTP gateway.

Does this mean every Exchange or Outlook S/MIME client is incapable of supporting clear-signed messages? While both Exchange plug-ins we tested suffer from this limitation, OpenSoft claims to have solved the problem in its Windows Messaging client by replacing Microsoft Corp.Õs Intern et Mail Service with its own SMTP gateway.

What About Compatibility? While MAPI-based clients are theoretically limited to opaque-signed messages, IMAP, POP and SMTP clients process both message types (but only S/MIME clients can decode opaque-signed messages).

Unfortunately, in our tests, several S/MIME clients ran into trouble when trying to decode opaque messages. We uncovered bugs in both MicrosoftÕs Outlook Express and OpenSoftÕs ExpressMail when they attempted to decode opaque-signed S/MIME messages.


O ther Reviews

FRADs Make Sound Sacrifices to Get the Data Through
By Jeff Newman
Secure E-Mail Clients: Not Quite Ready for S/MIME Prime Time. Stay Tuned.
By Dan Backman


Research and Reports

Hypervisor Derby
August 2011

Network Computing: August 2011

TechWeb Careers