{"id":100210,"date":"2024-12-17T08:30:00","date_gmt":"2024-12-17T07:30:00","guid":{"rendered":"https:\/\/eiposgrados.com\/?p=100210"},"modified":"2024-12-04T10:17:21","modified_gmt":"2024-12-04T09:17:21","slug":"blockchain-and-the-right-to-erasure","status":"publish","type":"post","link":"https:\/\/eiposgrados.com\/eng\/blog-dpo\/blockchain-y-el-derecho-de-supresion\/","title":{"rendered":"Blockchain and the Right to Erasure: Challenges and Technical Solutions for GDPR Compliance"},"content":{"rendered":"<p>Blockchain technology, known for its immutability and transparency, poses a significant challenge in the context of the&nbsp;<strong>personal data protection<\/strong>, especially when it comes to guaranteeing the exercise of fundamental rights such as&nbsp;<strong>right to erasure<\/strong>&nbsp;established in the&nbsp;<strong>General Data Protection Regulation (GDPR)<\/strong>Since data stored on a blockchain, by its very nature, is difficult to modify or delete, an apparent contradiction arises between the characteristics of this technology and the legal obligations imposed by data protection regulations.<\/p>\n\n\n\n<p>In this context, the&nbsp;<strong>Spanish Data Protection Agency (AEPD)<\/strong>&nbsp;has developed a&nbsp;<strong>Proof of Concept (PoC)<\/strong>&nbsp;to explore how the right to erasure could be applied in a blockchain-based infrastructure. This article analyzes, from a technical and regulatory perspective, the implications of this initiative, detailing the proposed solutions and reflecting on the challenges posed by implementing these measures.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-d4d9a917 gb-headline-text\"><strong>Blockchain and the Right to Erasure: An Apparent Conflict<\/strong><\/h2>\n\n\n\n<p>Blockchain is a distributed ledger technology that ensures data integrity and traceability by generating chained and consensus-validated blocks. Its main features include:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Immutability<\/strong>: Once data is recorded on the blockchain, it cannot be altered without invalidating all subsequent blocks.<\/li>\n\n\n\n<li><strong>Transparency<\/strong>: The stored data is accessible and verifiable by network participants.<\/li>\n\n\n\n<li><strong>Decentralization<\/strong>: Blockchain does not depend on a single entity or server, making it difficult to manipulate.<\/li>\n<\/ol>\n\n\n\n<p>However, the&nbsp;<strong>right to erasure<\/strong>&nbsp;Article 17 of the GDPR establishes that individuals have the right to request the deletion of their personal data if it is no longer necessary for the purposes for which it was collected, if consent is withdrawn, or if they object to the processing, among other circumstances. This conflicts with the immutable nature of blockchain, as the technology&#039;s design makes it difficult to effectively delete data.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-1a2f5cea gb-headline-text\"><strong>The AEPD Proof of Concept: An Innovative Approach<\/strong><\/h2>\n\n\n\n<p>The&nbsp;<strong>AEPD<\/strong>Recognizing this challenge, the company has developed a PoC focused on facilitating the right to erasure on an Ethereum-based blockchain infrastructure. The main objective is to explore how a combination of technical and governance measures can enable GDPR compliance without compromising the essential properties of the blockchain.<\/p>\n\n\n\n<h2 class=\"gb-headline gb-headline-1b9a4782 gb-headline-text\"><strong>Key Aspects of the PoC<\/strong><\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Blockchain Infrastructure<\/strong><br>The PoC uses a private, permissioned blockchain, configured with two validator nodes in archive mode. This allows for tighter control over participants and facilitates the management of stored personal data.<\/li>\n\n\n\n<li><strong>Governance and Policies<\/strong><br>Organizational measures and policies are established to regulate access to data and the procedures for exercising the right to erasure.<\/li>\n\n\n\n<li><strong>Suppression Techniques<\/strong><br>The PoC proposes a solution based on overwriting data in the nodes&#039; underlying database (leveldb) through a hard fork. This procedure eliminates all traces of personal data without compromising the overall functionality of the blockchain.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-1024x683.jpg\" alt=\"blockchain\" class=\"wp-image-100211\" title=\"\" srcset=\"https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-1024x683.jpg 1024w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-300x200.jpg 300w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-768x512.jpg 768w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-247x165.jpg 247w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-123x82.jpg 123w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-1536x1024.jpg 1536w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-2048x1366.jpg 2048w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-18x12.jpg 18w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-500x333.jpg 500w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-800x533.jpg 800w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-1280x854.jpg 1280w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-1920x1280.jpg 1920w, https:\/\/eiposgrados.com\/wp-content\/uploads\/2024\/12\/blockchain-200x133.jpg 200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Blockchain technology <\/figcaption><\/figure>\n\n\n\n<p><strong>1. Data Overwriting on Nodes<\/strong><\/p>\n\n\n\n<p>In the PoC, the personal data to be deleted is identified in the nodes&#039; databases. These databases use data structures such as trees.&nbsp;<strong>Merkle-Patricia Trie<\/strong>&nbsp;to store transaction information and account statements. The deletion procedure involves:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Detection of affected data<\/strong>Transactions and account statements are analyzed to identify the blocks, transactions, and storage structures where personal data appears.<\/li>\n\n\n\n<li><strong>Overwriting values<\/strong>: Values related to personal data are overwritten with constant values (e.g., 0xaaaaaaaa\u2026). This includes:\n<ul class=\"wp-block-list\">\n<li>The transaction fields.<\/li>\n\n\n\n<li>Leaf nodes in the state tree (State Trie).<\/li>\n\n\n\n<li>The values stored in Smart Contracts.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>2. Hard Fork to Manage Inconsistency<\/strong><\/p>\n\n\n\n<p>Data overwriting across nodes creates an inconsistency in the original blockchain, as the modified values do not match the rest of the nodes. To address this, the PoC proposes the implementation of a&nbsp;<strong>Hard Fork<\/strong>, which generates a new version of the blockchain in which personal data has been effectively eliminated.<\/p>\n\n\n\n<p>Consensus among validator nodes on the acceptance of the Hard Fork is reached through a mechanism inspired by the&nbsp;<strong>BIP-0009<\/strong>&nbsp;Bitcoin. In this case, the MixDigest field of blocks, which is not used in the Clique protocol, is used to record the validator nodes&#039; support for the new version.<\/p>\n\n\n\n<p><strong>3. Modification of the Node Software<\/strong><\/p>\n\n\n\n<p>To implement these measures, it was necessary to modify the Ethereum client software (geth) at several key points:<\/p>\n\n\n\n<p><strong>Synchronizing new nodes<\/strong>: Adaptation of the synchronization process so that nodes joining the network automatically adopt the updated version of the blockchain.<\/p>\n\n\n\n<p><strong>Local database<\/strong>: Incorporation of the necessary modifications to overwrite personal data.<\/p>\n\n\n\n<p><strong>Consensus of the nodes<\/strong>: Implementation of a mechanism to reach agreement on the new version of the chain.<\/p>\n\n\n\n<p>Find out more related posts in our <a href=\"https:\/\/eiposgrados.com\/eng\/dpo-blog\/\">DPO blog<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Blockchain technology, known for its immutability and transparency, poses a significant challenge in the context of personal data protection, especially when it comes to\u2026 <a title=\"Blockchain and the Right to Erasure: Challenges and Technical Solutions for GDPR Compliance\" class=\"read-more\" href=\"https:\/\/eiposgrados.com\/eng\/blog-dpo\/blockchain-y-el-derecho-de-supresion\/\" aria-label=\"Read more about Blockchain and the Right to Erasure: Challenges and Technical Solutions for GDPR Compliance\">Read more<\/a><\/p>","protected":false},"author":3899,"featured_media":100217,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[330,368,367],"tags":[],"class_list":["post-100210","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-dpo","category-compliance","category-proteccion-de-datos"],"acf":[],"_links":{"self":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/100210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/users\/3899"}],"replies":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/comments?post=100210"}],"version-history":[{"count":0,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/posts\/100210\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media\/100217"}],"wp:attachment":[{"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/media?parent=100210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/categories?post=100210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eiposgrados.com\/eng\/wp-json\/wp\/v2\/tags?post=100210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}