<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3944976411672994427.post8187656743858025486..comments</id><updated>2009-01-10T15:51:29.635+07:00</updated><title type='text'>Comments on James Clark's Random Thoughts: Why not S/MIME?</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.jclark.com/feeds/8187656743858025486/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3944976411672994427/8187656743858025486/comments/default'/><link rel='alternate' type='text/html' href='http://blog.jclark.com/2007/10/why-not-smime.html'/><author><name>James Clark</name><uri>http://www.blogger.com/profile/10624718204308567662</uri><email>jjc@public.jclark.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3944976411672994427.post-1160917468832777257</id><published>2007-10-10T23:38:00.000+07:00</published><updated>2007-10-10T23:38:00.000+07:00</updated><title type='text'>Excellent points.  Regarding the Accept-Signature ...</title><content type='html'>Excellent points.  Regarding the Accept-Signature idea, by way of example, take a look at http://svn.apache.org/repos/asf/incubator/abdera/java/trunk/security/src/main/java/org/apache/abdera/security/util/servlet/, specifically the DHEncryptedResponseFilter.java class where we use an Accept-Encryption header to negotiate whether or not the response should be encrypted.  A similar model for signatures would work well.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3944976411672994427/8187656743858025486/comments/default/1160917468832777257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3944976411672994427/8187656743858025486/comments/default/1160917468832777257'/><link rel='alternate' type='text/html' href='http://blog.jclark.com/2007/10/why-not-smime.html?showComment=1192034280000#c1160917468832777257' title=''/><author><name>James Snell</name><uri>http://www.snellspace.com</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jclark.com/2007/10/why-not-smime.html' ref='tag:blogger.com,1999:blog-3944976411672994427.post-8187656743858025486' source='http://www.blogger.com/feeds/3944976411672994427/posts/default/8187656743858025486' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3944976411672994427.post-6232550697822372351</id><published>2007-10-10T20:10:00.000+07:00</published><updated>2007-10-10T20:10:00.000+07:00</updated><title type='text'>Just as a counter example I've actually used S/MIM...</title><content type='html'>Just as a counter example I've actually used S/MIME over HTTP in real-live production systems with success.  Actually it was a multipart/encrypted which contained a message/http payload.  Granted, we wrote the software which lives on both sides of the network (web server module, and browser plugin).  Both the HTTP request and HTTP response were wrapped this way, so that messages in both directions were protected and could be authenticated.&lt;BR/&gt;&lt;BR/&gt;By using the message/http payload we solved the problem of how to sign headers.  In fact the outermost headers were very minimal; just enough to get the inner body routed to the decryption routines and control any proxies, caching, etc.  The method, URL, Etag, etc. that were actually used came from inside the message/http.&lt;BR/&gt;&lt;BR/&gt;You don't have to use PKCS methods either.  We took advantage of already having a way to distribute secure secret keys so that we could use much lighter-weight algorithms like AES and HMAC/SHA without having to mess with the X.509 ugliness.&lt;BR/&gt;&lt;BR/&gt;The main disadvantage we found were that some vendors of proxies or load balancing equipment don't correctly follow the HTTP specs and can stumble on multipart/encrypted payloads.  Usually the bigger-named and more expensive "enterprise-level" devices were the worst offenders at misinterpreting the specs correctly.&lt;BR/&gt;&lt;BR/&gt;And of course since nobody supports it now, you have to have you own software on each side.  So I'm not sure S/MIME is the solution either, but it is certainly possible.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3944976411672994427/8187656743858025486/comments/default/6232550697822372351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3944976411672994427/8187656743858025486/comments/default/6232550697822372351'/><link rel='alternate' type='text/html' href='http://blog.jclark.com/2007/10/why-not-smime.html?showComment=1192021800000#c6232550697822372351' title=''/><author><name>Deron Meranda</name><uri>http://deron.meranda.us/</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jclark.com/2007/10/why-not-smime.html' ref='tag:blogger.com,1999:blog-3944976411672994427.post-8187656743858025486' source='http://www.blogger.com/feeds/3944976411672994427/posts/default/8187656743858025486' type='text/html'/></entry></feed>