{"id":690,"date":"2017-09-06T12:22:12","date_gmt":"2017-09-06T12:22:12","guid":{"rendered":"https:\/\/davidgerard.co.uk\/blockchain\/?p=690"},"modified":"2017-12-27T22:41:26","modified_gmt":"2017-12-27T22:41:26","slug":"estonias-smartcard-security-problem-is-probably-not-blockchain-related-but-what-is-estonias-blockchain","status":"publish","type":"post","link":"https:\/\/davidgerard.co.uk\/blockchain\/2017\/09\/06\/estonias-smartcard-security-problem-is-probably-not-blockchain-related-but-what-is-estonias-blockchain\/","title":{"rendered":"Estonia&#8217;s smartcard security problem is probably not blockchain-related \u2014 but what is Estonia&#8217;s &#8220;KSI Blockchain&#8221;?"},"content":{"rendered":"<p>Estonia&#8217;s ID card system apparently has a security flaw, though it hasn&#8217;t been exploited yet. Technical details are not available, but <a href=\"http:\/\/estonianworld.com\/technology\/possible-security-risk-affects-750000-estonian-id-cards\/\"><i>Estonian World<\/i><\/a> says &#8220;The ID-cards issued before 16 October 2014 use a different chip and are not affected,&#8221; which suggests this is more likely in the smartcard chip than in the underlying system.<\/p>\n<p>Someone emailed this morning asking if this had anything to do with Estonia&#8217;s <a href=\"https:\/\/www.google.co.uk\/search?client=ubuntu&amp;channel=fs&amp;q=estonia+blockchain\">widely publicised<\/a> blockchain infrastructure initiatives. I would say probably not &#8230; but the reason I can&#8217;t say &#8220;definitely not&#8221; is that Estonia&#8217;s Blockchain\u2122 promotion mostly supplies excellent examples of the media game of &#8220;telephone&#8221; I talk about in <a href=\"https:\/\/davidgerard.co.uk\/blockchain\/table-of-contents\/\">chapter 11<\/a> of <a href=\"https:\/\/davidgerard.co.uk\/blockchain\/book\/\">the book<\/a>:<\/p>\n<blockquote><p>\u201cTalking about\u201d becomes \u201cconsidering doing,\u201d becomes \u201cwill do,\u201d becomes \u201cis doing.\u201d Even if a given blockchain trial does in fact happen, later failure is not documented. The mainstream press assume this is specialist press rather than boosterism, and run stories taking all this at face value. As the buzzword \u201cBlockchain\u201d has gained currency, they have tended to run blockchain marketers\u2019 press releases barely edited, assuming there must be something to all of this.<\/p><\/blockquote>\n<p>I tried tracing back through to the original press releases (since zero of the journalists running these stories ask them even slightly pointed questions). Everything from <a href=\"https:\/\/e-estonia.com\/\">e-Estonia<\/a> itself is long on hype, short on detail and furiously mixes present and future tense.<\/p>\n<p>e-Estonia&#8217;s preferred Blockchain\u2122 software is <a href=\"https:\/\/e-estonia.com\/solutions\/security-and-safety\/ksi-blockchain\/\">KSI Blockchain<\/a>. Amongst the generic blockchain claims, the only <em>specific<\/em> claim on that page is that &#8220;KSI Blockchain scales to 10<sup>12<\/sup> items of data every second.&#8221; This would be a <i>remarkable<\/i> number for an actual database \u2014 for comparison, the extreme limit of <a href=\"https:\/\/en.wikipedia.org\/wiki\/IOPS\">IOPS<\/a> (I\/O operations per second) for an Oracle database on fast solid-state disks is in the <a href=\"https:\/\/cloud.oracle.com\/infrastructure\/compute\/bare-metal\/features\">millions<\/a>.<\/p>\n<p>That e-Estonia page links to the company site for suppliers <a href=\"https:\/\/guardtime.com\/\">Guardtime<\/a>. KSI stands for &#8220;Keyless Signatures Infrastructure\u00ae&#8221; and was started in 2007. Their &#8220;blockchain&#8221; achieves fast throughput by <a href=\"https:\/\/guardtime.com\/technology\/ksi-technology\">limiting the number of participants<\/a>, which also means they don&#8217;t need a computationally expensive consensus mechanism. Now, you might think this was functionally indistinguishable from a database &#8230;<\/p>\n<p>I did find <a href=\"https:\/\/oncprojectracking.healthit.gov\/wiki\/download\/attachments\/14582699\/12-DHHS%20Challenge%20Whitepaper%20Final%20-%2020160729%20%281%29.pdf\">a PDF<\/a> which Guardtime provided to the US Government&#8217;s <a href=\"https:\/\/www.healthit.gov\/\">HealthIT.gov<\/a>. I am not a cryptographer and don&#8217;t fully understand this; if anyone who is could tell me if this makes any sense, I&#8217;d be most grateful. The promise is:<\/p>\n<blockquote><p>Through the properties of verifiable authenticity, identity of the client, and non-global positioning system-based non-spoofable time; KSI provides provenance, integrity and identity associated with digital assets. This implementation consumes far less storage and bandwidth than widely proliferated blockchain technology and can provide the above defined attributes for thousands of files a second scalable to billions.<\/p><\/blockquote>\n<p>The &#8220;blockchain&#8221; bit of KSI appears to be that it&#8217;s got a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Merkle_tree\">Merkle tree<\/a>. Indeed, the paper says:<\/p>\n<blockquote><p>Unlike traditional approaches that depend on asymmetric key cryptography, KSI uses only hash-function cryptography, allowing verification to rely only on the security of hash-functions and the availability of the history of cryptologically linked root hashes (the blockchain).<\/p><\/blockquote>\n<p>\u2014 that is, they redefine the word &#8220;blockchain&#8221; to mean &#8220;Merkle tree.&#8221; Specifically, <a href=\"https:\/\/e-estonia.com\/wp-content\/uploads\/faq-a4-v02-blockchain.pdf\">&#8220;hash-linked time-stamping.&#8221;<\/a> (What the e-Estonia claim presumably means, then, is that KSI Blockchain can scale up to calculating 10<sup>12<\/sup> hashes a second.) So anywhere I see the words &#8220;Estonia&#8221; and &#8220;Blockchain&#8221; together in the near future, my first thought will be &#8220;ledger in a Merkle tree.&#8221; This makes sense of press releases such as <a href=\"https:\/\/guardtime.com\/blog\/ksi-blockchain-to-secure-driverless-buses-in-tallinn\">&#8220;KSI Blockchain to Secure Driverless Buses in Tallinn&#8221;<\/a> \u2014 what they mean is they&#8217;re storing at least some data from the buses in a ledger authenticated by hashes.<\/p>\n<p>What I say in <a href=\"https:\/\/davidgerard.co.uk\/blockchain\/table-of-contents\/\">chapter 11<\/a> of <a href=\"https:\/\/davidgerard.co.uk\/blockchain\/book\/\">the book<\/a> still seems to hold:<\/p>\n<blockquote><p>Transaction ledgers in tamper-evident chains and trees of hashes are a good idea, and businesses are about to discover how to use them for tamper-evident ledgers. These will likely be branded \u201cBlockchain,\u201d whether or not the product has anything else to do with blockchains.<\/p><\/blockquote>\n<p>Per <a href=\"https:\/\/guardtime.com\/technology\">Guardtime&#8217;s site<\/a>, &#8220;Cryptocurrency protocols are great\u00a0 for cryptocurrencies\u00a0\u2014 not for building solutions for enterprise data management.&#8221; Pretty good for years of coverage in the bitcoin press, though.<\/p>\n<p>So this is not in fact <em>good news<\/em> for blockchains. Though it might be for Blockchain\u2122. Thanks to Paul Marsch for the good question.<\/p>\n<br><br><div align=\"center\"><p><a href=\"https:\/\/www.patreon.com\/bePatron?u=8420236\"><img src=\"https:\/\/davidgerard.co.uk\/blockchain\/wp-content\/uploads\/2021\/10\/become_a_patron_button.svg\" alt=\"Become a Patron!\" title=\"Become a Patron!\" width=217 height=51><\/a><br><p style=\"align:center;\" class=\"patreon-badge\"><i>Your subscriptions keep this site going. <a href=\"https:\/\/www.patreon.com\/bePatron?u=8420236\">Sign up today!<\/a><\/i><\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>What is KSI Blockchain, the technology at the heart of Estonia&#8217;s heavily-publicised Blockchain\u2122 initiatives? Answer: less than it appears. Firstly, it&#8217;s not actually a blockchain.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[56,55,57,58],"class_list":["post-690","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-e-estonia","tag-estonia","tag-guardtime","tag-ksi-blockchain"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/posts\/690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/comments?post=690"}],"version-history":[{"count":51,"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/posts\/690\/revisions"}],"predecessor-version":[{"id":3447,"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/posts\/690\/revisions\/3447"}],"wp:attachment":[{"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/media?parent=690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/categories?post=690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidgerard.co.uk\/blockchain\/wp-json\/wp\/v2\/tags?post=690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}