{"id":139,"date":"2007-02-22T23:58:56","date_gmt":"2007-02-22T22:58:56","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=139"},"modified":"2007-02-22T23:58:56","modified_gmt":"2007-02-22T22:58:56","slug":"how-secure-is-openid","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/139-how-secure-is-openid.html","title":{"rendered":"How secure is OpenID?"},"content":{"rendered":"<p>Everybody is talking about OpenID. Big players are adopting it. But should you trust it for things that matter &#8211; financial transactions, for example?<\/p>\n<p>Here&#8217;s an <a href=\"http:\/\/www.identityblog.com\/?p=685\" target=\"_blank\">important post<\/a> from Microsoft&#8217;s identity architect Kim Cameron:<\/p>\n<blockquote>\n<p>So let\u2019s think about this.&nbsp; Where is the root of trust?&nbsp; In conventional systems like PKI or SAML or Kerberos, the root of trust is the identity provider.&nbsp; I trust the identity provider to say something about the subject.&nbsp; How do I know I\u2019m hearing from the legitimate identity provider?&nbsp; I have some kind of cryptographic key.&nbsp; The relevant&nbsp;key distribution has a cost &#8211; such as that involved in obtaining or issuing public key certificates, or registering with a Key Distribution Center.<\/p>\n<p>But in OpenID, the root of trust is the OpenID URL itself.&nbsp; What you see is what you get.&nbsp; In&nbsp;the example above, I trust&nbsp;Francis\u2019 web page since it represents his thinking and is under his control.&nbsp; His web page delegates to his OpenID identity provider (OP) through the link mechanism in (5).&nbsp; Because of that, I trust his identity provider to speak on behalf of his web page.&nbsp; How do I know I am looking at his web page or talking to his identity provider?&nbsp; By calling them up on DNS. <\/p>\n<p>I\u2019m delving into the details here because I think this is what gives OpenID its legs.&nbsp; It is as strong, and as weak, as DNS.&nbsp; In other words, it is&nbsp;great for transactions that won\u2019t attract criminal attack, and terrible for those that will.<\/p>\n<\/blockquote>\n<p>And here&#8217;s Cameron&#8217;s conclusion: <\/p>\n<blockquote>\n<p>OpenID cannot replace crypto-based approaches in which there are trusted authorities rather than trusted web pages.&nbsp; But it can add a whole new dimension, and bring the \u201clong tail\u201d of web sites into the identity fabric.<\/p>\n<\/blockquote>\n<p>Note that Cameron is not opposed to OpenID. Apart from anything else, he recognizes that this may well be the beginning of an identity revolution &#8211; part of a process, at the end of which we get a safer, less spam laden, less criminal-infested internet. <\/p>\n<p>At the same time, he&#8217;s right. The whole OpenID structure hinges on the URL routing to the correct machine on the Internet. In other words, DNS. Now do some research on <a href=\"http:\/\/en.wikipedia.org\/wiki\/DNS_cache_poisoning\" target=\"_blank\">DNS poisoning<\/a>. Scary. <\/p>\n<p>Now, it strikes me that you can largely fix this by requiring SSL connections. In other words, have the OpenID URL be an https:\/\/ URL, and have the relying party (the website where you want to log in) check for a valid SSL certificate. Note thought that SSL must be used at every stage. OpenID lets you use your own URL as the identifier, but redirect to another OpenID identity provider. Both URLs must use SSL to maintain integrity. <\/p>\n<p>Another idea is to use an OpenID for non-critical logins, however you define those. <\/p>\n<p>Note that this issue is different from the phishing risk, for which CardSpace strikes me as a good solution. <\/p>\n<p>&nbsp;<\/p>\n<div class=\"wlWriterSmartContent\" id=\"0767317B-992E-4b12-91E0-4F059A8CECA8:e0ed2911-dbd5-46c7-8749-0805bf6b3e5c\" contenteditable=\"false\" style=\"padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/openid\" rel=\"tag\">openid<\/a>, <a href=\"http:\/\/technorati.com\/tags\/cardspace\" rel=\"tag\">cardspace<\/a>, <a href=\"http:\/\/technorati.com\/tags\/kim%20cameron\" rel=\"tag\">kim cameron<\/a>, <a href=\"http:\/\/technorati.com\/tags\/ssl\" rel=\"tag\">ssl<\/a>, <a href=\"http:\/\/technorati.com\/tags\/security\" rel=\"tag\">security<\/a>, <a href=\"http:\/\/technorati.com\/tags\/identity\" rel=\"tag\">identity<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Everybody is talking about OpenID. Big players are adopting it. But should you trust it for things that matter &#8211; financial transactions, for example? Here&#8217;s an important post from Microsoft&#8217;s identity architect Kim Cameron: So let\u2019s think about this.&nbsp; Where is the root of trust?&nbsp; In conventional systems like PKI or SAML or Kerberos, the &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/139-how-secure-is-openid.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How secure is OpenID?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,75],"tags":[],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-internet","category-security"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}