<div role="region"><a href="#" class="skipToContent_ZgBM">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo.webp" alt="functionland logo" class="themedImage_W2Cr themedImage--light_TfLj"><img src="/img/logo.webp" alt="functionland logo" class="themedImage_W2Cr themedImage--dark_oUvU"></div><b class="navbar__title">Functionland</b></a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/functionland" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link"><span>GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I5OW"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><div class="toggle_Pssr toggle_TdHA toggleDisabled_jDku"><div class="toggleTrack_SSoT" role="button" tabindex="-1"><div class="toggleTrackCheck_XobZ"><span class="toggleIcon_eZtF">🌜</span></div><div class="toggleTrackX_YkSC"><span class="toggleIcon_eZtF">🌞</span></div><div class="toggleTrackThumb_uRm4"></div></div><input type="checkbox" class="toggleScreenReader_JnkT" aria-label="Switch between dark and light mode"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div class="main-wrapper docs-wrapper docs-doc-page"><div class="docPage_P2Lg"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_RiI4" type="button"></button><aside class="theme-doc-sidebar-container docSidebarContainer_rKC_"><div class="sidebar_CW9Y"><nav class="menu thin-scrollbar menu_SkdO"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link hasHref_VCh3" href="/">Introduction</a><button aria-label="Toggle the collapsible sidebar category 'Introduction'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/getting-started-testnet">Getting Started with FxBlox</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link hasHref_VCh3" href="/functionyard/mainnet-transition">Mainnet Transition</a><button aria-label="Toggle the collapsible sidebar category 'Mainnet Transition'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link hasHref_VCh3" href="/functionyard/hardware/fxblox-hardware">Hardware</a><button aria-label="Toggle the collapsible sidebar category 'Hardware'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/functionyard/add-storage">Add Storage</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/functionyard/fxblox-app">FxBlox App Setup</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/functionyard/support">Support</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link hasHref_VCh3" href="/functionyard">Functionyard Testnet</a><button aria-label="Toggle the collapsible sidebar category 'Functionyard Testnet'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link hasHref_VCh3" href="/pinning-service">Pinning Service API</a><button aria-label="Toggle the collapsible sidebar category 'Pinning Service API'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a href="https://docs.fx.land/fula-api" target="_blank" rel="noopener noreferrer" class="menu__link"><span>Fula API<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I5OW"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/whitepaper">Whitepaper</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--active hasHref_VCh3" aria-current="page" href="/RFCs/rfc-process">RFCs</a><button aria-label="Toggle the collapsible sidebar category 'RFCs'" type="button" class="clean-btn menu__caret"></button></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--active hasHref_VCh3" aria-current="page" tabindex="0" href="/RFCs/fula-sec">Security</a><button aria-label="Toggle the collapsible sidebar category 'Security'" type="button" class="clean-btn menu__caret"></button></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/RFCs/fula-sec/did">Decentralized Identity (DID)</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/RFCs/fula-sec/encryption">Two-way Encryption Mechanism</a></li></ul></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/RFCs/private-network">Private Network</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/RFCs/document-syncing">Document Syncing</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/RFCs/personal-data-reserve">Personal Data Reserve</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link hasHref_VCh3" href="/blockchain/blockchain-intro">Blockchain</a><button aria-label="Toggle the collapsible sidebar category 'Blockchain'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link hasHref_VCh3" href="/functionyard/troubleshooting">Troubleshooting</a><button aria-label="Toggle the collapsible sidebar category 'Troubleshooting'" type="button" class="clean-btn menu__caret"></button></div></li></ul></nav></div></aside><main class="docMainContainer_TCnq"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_DM6M"><div class="docItemContainer_vinB"><article><div class="tocCollapsible_jdIR theme-doc-toc-mobile tocMobile_TmEX"><button type="button" class="clean-btn tocCollapsibleButton_Fzxq">On this page</button></div><div class="theme-doc-markdown markdown"><h1>Decentralized Identity (DID)</h1><ul><li>Start Date: 2022-02-27</li><li>RFC PR: <a href="https://github.com/functionland/docs/pull/74" target="_blank" rel="noopener noreferrer">functionland/docs/pull/74</a></li><li>Functionland Issue: <a href="https://github.com/functionland/docs/issues/65" target="_blank" rel="noopener noreferrer">functionland/docs/issues/65</a></li><li>Status: Draft</li><li>Authors: <a href="https://github.com/ruffiano89" target="_blank" rel="noopener noreferrer">Jamshid</a></li><li>Reviewers: <a href="https://github.com/orgs/functionland/people/masih" target="_blank" rel="noopener noreferrer">Masih</a>, <a href="https://github.com/gitaaron" target="_blank" rel="noopener noreferrer">Aaron</a></li></ul><h2 class="anchor anchorWithStickyNavbar_mojV" id="why-did-in-fula">Why DID in FULA?<a class="hash-link" href="#why-did-in-fula" title="Direct link to heading"></a></h2><p>DID enables agents to assert their identity so that they can establish trust, privacy and security with other agents in the network without a centralized authority.</p><h2 class="anchor anchorWithStickyNavbar_mojV" id="what-is-required">What is Required?<a class="hash-link" href="#what-is-required" title="Direct link to heading"></a></h2><p>Setting up decentralized identity with providers(blockchain/distributed ledger) usually consists of the following elements:</p><ol><li>Identity owner: The user who creates their decentralized identity using the identity wallet.</li><li>Issuer/Verifier: An entity that issues and verifies identification information. They sign the transaction with their private key.</li><li>Blockchain/Distributed Ledger: A decentralized and distributed ledger that provides the mechanism and functions for DID and operation.</li><li>DID (Decentralized Identifier): A unique identifier that contains details such as public key, verification information, documents.</li></ol><h2 class="anchor anchorWithStickyNavbar_mojV" id="can-we-achieve-creating-did-without-any-providers">Can we achieve creating DID without any providers?<a class="hash-link" href="#can-we-achieve-creating-did-without-any-providers" title="Direct link to heading"></a></h2><p><strong>Yes, but with some flaws.</strong> As long as we do not store all operations with DID on a ledger verified by an acceptable number of other nodes, security of the data will be lost. Moreover, data storage in blockchain/distributed ledger mechanism is immutable and permanent, and hence, modification and deletion are not possible. The decentralized identity systems use this mechanism so that no external entity can tamper or modify the data.</p><h2 class="anchor anchorWithStickyNavbar_mojV" id="how-does-it-work">How does it work?<a class="hash-link" href="#how-does-it-work" title="Direct link to heading"></a></h2><ol><li>Create DID identity -
0 commit comments