├── .github └── workflows │ └── auto-publish.yml ├── .pr-preview.json ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── FPWD └── 2019-11-21 │ ├── images │ └── did_actions.png │ └── index.html ├── LICENSE.md ├── README.md ├── common.js ├── images ├── didCreate.svg ├── didDelete.svg ├── didRead.svg ├── didUpdate.svg ├── didUse.svg ├── did_actions.png └── domainMap.svg ├── index.html └── w3c.json /.github/workflows/auto-publish.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | pull_request: {} 4 | push: 5 | branches: [main] 6 | jobs: 7 | main: 8 | name: Build, Validate and Deploy 9 | runs-on: ubuntu-20.04 10 | steps: 11 | - uses: actions/checkout@v2 12 | - uses: w3c/spec-prod@v2 13 | with: 14 | W3C_ECHIDNA_TOKEN: ${{ secrets.W3C_TR_TOKEN }} 15 | W3C_WG_DECISION_URL: https://www.w3.org/2019/did-wg/Meetings/Minutes/2019-11-19-did#resolution1 16 | W3C_BUILD_OVERRIDE: | 17 | shortName: did-use-cases 18 | specStatus: WG-NOTE 19 | -------------------------------------------------------------------------------- /.pr-preview.json: -------------------------------------------------------------------------------- 1 | { 2 | "src_file": "index.html", 3 | "type": "respec" 4 | } 5 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # These owners will be the default owners for everything in 2 | # the repo. Unless a later match takes precedence, 3 | # they will be requested for review when someone opens a 4 | # pull request. 5 | * @jandrieu @philarcher 6 | 7 | # See CODEOWNERS syntax here: https://help.github.com/articles/about-codeowners/#codeowners-syntax 8 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | All documentation, code and communication under this repository are covered by the [W3C Code of Ethics and Professional Conduct](https://www.w3.org/Consortium/cepc/). 4 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Decentralized Identifier Working Group 2 | 3 | Contributions to this repository are intended to become part of Recommendation-track documents governed by the 4 | [W3C Patent Policy](https://www.w3.org/Consortium/Patent-Policy-20040205/) and 5 | [Document License](https://www.w3.org/Consortium/Legal/copyright-documents). To make substantive contributions to specifications, you must either participate 6 | in the relevant W3C Working Group or make a non-member patent licensing commitment. 7 | 8 | If you are not the sole contributor to a contribution (pull request), please identify all 9 | contributors in the pull request comment. 10 | 11 | To add a contributor (other than yourself, that's automatic), mark them one per line as follows: 12 | 13 | ``` 14 | +@github_username 15 | ``` 16 | 17 | If you added a contributor by mistake, you can remove them in a comment with: 18 | 19 | ``` 20 | -@github_username 21 | ``` 22 | 23 | If you are making a pull request on behalf of someone else but you had no part in designing the 24 | feature, you can remove yourself with the above syntax. 25 | -------------------------------------------------------------------------------- /FPWD/2019-11-21/images/did_actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/did-use-cases/24b7848b1651ac718f1239aa929f346b7a369c5e/FPWD/2019-11-21/images/did_actions.png -------------------------------------------------------------------------------- /FPWD/2019-11-21/index.html: -------------------------------------------------------------------------------- 1 |
93 | 94 |637 | Copyright 638 | © 639 | 2019 640 | 641 | W3C® (MIT, 642 | ERCIM, Keio, 643 | Beihang). 644 | W3C liability, 645 | trademark and permissive document license rules 646 | apply. 647 |
648 |This document sets out use cases and requirements for a new type of identifier that has 4 essential characteristics:
652 |Although existing identifiers may display some of these characteristics, none currently displays all four.
663 |This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.
665 | This document was published by the Decentralized Identifier Working Group as a 666 | First Public Working Draft. 667 | This document is intended to become a W3C Recommendation. 668 |
669 | GitHub Issues are preferred for 670 | discussion of this specification. 671 | 672 | Alternatively, you can send comments to our mailing list. 673 | Please send them to 674 | public-did-wg@w3.org 675 | (archives). 676 | 677 |
678 | Publication as a First Public Working Draft does not imply endorsement by the 679 | W3C Membership. This is a draft document and may be updated, replaced or 680 | obsoleted by other documents at any time. It is inappropriate to cite this 681 | document as other than work in progress. 682 |
683 | 684 | This document was produced by a group 685 | operating under the 686 | W3C Patent Policy. 687 | 688 | 689 | W3C maintains a 690 | public list of any patent disclosures 691 | made in connection with the deliverables of 692 | the group; that page also includes 693 | instructions for disclosing a patent. An individual who has actual 694 | knowledge of a patent which the individual believes contains 695 | Essential Claim(s) 696 | must disclose the information in accordance with 697 | section 6 of the W3C Patent Policy. 698 | 699 | 700 |
701 | This document is governed by the 702 | 1 March 2019 W3C Process Document. 703 |
The need for globally unique identifier schemes has been addressed many 707 | times. Globally unique ID schemes typically rely on a central authority 708 | controlling a 'root' space that is then delegated to local organizations 709 | who in turn delegate to further organizations who eventually add the final 710 | string to complete the identifer. Even if we restrict ourseleves to online 711 | identifiers, there are many examples of this.
IANA
722 | ↓
723 | https://example.com/page.html
724 | ↑ ↑
725 | Registrar Licensee
726 | 10.{registrant}/{suffix}
where 'registrant' is defined by the
729 | DOI organization and the suffix by the registrant.In all these cases, ultimately, there is a central authority on which the 735 | identifier system depends. Those central authorities go to significant 736 | efforts to make their identifiers persistent and resolvable, however, 737 | should they cease to exist, the long term integrity of the identifier 738 | is at least questionable to a greater or lesser extent. For as long as 739 | those organizations exist (and they are generally well established with no 740 | immediate threat to their survival), the way to assess whether a particular 741 | identifier is in some way 'valid' is to query the issuing authority.
742 |These factors point to a need in some circumstances for a globally unique 743 | identifier that is 'self sovereign', that is, one that does not depend on 744 | any issuing authority. Universally unique identifiers (UUIDs) [RFC4122] 745 | fulfill this role, however, there is no way to prove control of 746 | a UUID.
747 |This document sets out use cases and requirements for a new kind of 748 | identifier that meets all these basic requirements:
749 |The use cases and requirements set out below have not been created a 762 | priori. Substantial work has been done within W3C and elsewhere 763 | leading, in particular, to Decentralized 764 | Identifiers (DIDs) Data Model and Syntaxes published as a Community 765 | Group Report by the Credentials 766 | Community Group in August 2019. That work provides a framework — 767 | a set of concepts — that have proved to be useful when discussing 768 | DIDs and the problems they 769 | can solve (see below). Those concepts are used within this document to 770 | set out the detail of the problem that the Decentralized Identifier Working 771 | Group is chartered 772 | to solve. It is the nature of the standardization process that these 773 | terms may be modified within the standard itself and therefore, their 774 | use here should not be seen as authoritative.
775 |Terminology in this opening prose is being discussed, in particular 779 | the term 'relying party'
A decentralized system will enable several key actions by three 781 | distinct entities: the Controller, the Relying Party, and the Subject.
782 |Controllers create and control DIDs, 783 | while Relying Parties rely on DIDs 784 | as an identifier for interactions related to the DID Subject.
785 |The Subject is the entity referred to by the DID, which can be anything: a person, an organization, 787 | a device, a location, even a concept. Typically, the Subject is also 788 | the Controller, but in cases of guardianship, agents (human or software), 789 | and inanimate Subjects, this is not possible. As such, the Subject has 790 | no functional role. When the Subject is, in fact, the Controller, we 791 | consider the action to be taken by the Controller on their own behalf 792 | as the Subject. When the Subject is not the Controller, the Controller 793 | is said to be taking action on behalf of the Subject, such as when an 794 | employee manages a DID 795 | on behalf of their employer or a parent uses a DID on behalf of their child.
797 |The Controller and Relying Party may be individuals or interactive 798 | systems, but for simplicity in this document, we refer to both as if 799 | they were individual persons performing these actions.
800 |Only a Controller can perform the actions that control a DID, however, anyone can act 801 | as a Relying Party for any DID 802 | they know, including the Controller should they wish to inspect or 803 | verify their own DID.
804 |This use case document defines these actions in terms of the eventual 805 | systems we anticipate using the resultant specification.
806 | 807 |Perhaps the most salient point about Decentralized Identifiers is 808 | that there are no "Identity Providers". Instead, this role is subsumed 809 | in the decentralized systems that Controllers use to manage DIDs and, in turn, Relying 810 | Parties use to apply DIDs. 811 | These decentralized systems, which we refer to as DID registries, are designed to 812 | operate independently from any particular service provider and hence, 813 | free from any given platform authority. It is anticipated that DIDs will be registered using 814 | distributed ledger technology (DLT). 815 | 816 |
In practice, the definition and operation of all current decentralized 817 | systems retain some elements of centralized control. Depending on the 818 | criteria one uses to evaluate such systems — from who controls 819 | the most widely used code base to who controls the specification — 820 | where a system resides on the spectrum of centralized and decentralized 821 | varies. However, the design of any decentralized identity system is 822 | separate from the academic debate about how decentralized it may be 823 | in practice.
824 |The use cases presented below make use of a number of high level 825 | concepts as follows.
826 | 827 |This section is automatically synchronised with the terminology section in 829 | the DID Core specification.
832 | This document attempts to communicate the concepts outlined in the 833 | decentralized identifier space by using specialized terms to discuss specific 834 | concepts. This terminology is included below and linked to throughout the 835 | document to aid the reader: 836 |
837 | 838 |#
). DID fragment syntax is identical to URI
905 | fragment syntax.
906 | /
). DID path syntax is identical to URI path syntax.
924 | ?
). DID query syntax is identical to URI query syntax.
941 | ?
character followed by a
960 | DID query, and optional #
character followed by a DID fragment.
961 | The term DID registry is under discussion within the Working Group. 1026 | A particular point to bear in mind is that not all DID methods require DIDs to be registered to be functional.
When we refer to methods and registries, we mean DID methods and DID registries. A working assumption for the use cases is that all 1030 | DIDs resolve to DID Documents. DID 1032 | Documents contain the cryptographic material to perform the functions related to 1033 | that particular DID, including 1034 | associated proof methods and any service endpoints, that is, services that can 1035 | make use of the DID.
1036 |Traditionally, a shopper frequents a trusted retailer and can physically hold the products they wish to purchase. The product and the information about it is trusted, because it is put there by the brand, and shopper trusts the retailer has received the product through trusted supply chain partners. Today, there are a multitude of channels and platforms for selling and buying products. The internet has changed consumer purchasing behavior as more and more commerce is conducted digitally. This introduces new challenges for brands, retailers and consumers, as the relationship is not as direct as the traditional mode of shopping.
1045 |Online shopping, especially including 3rd party marketplaces creates the proliferation of digital records about that product across platforms. Unlike a physical product, a consumer cannot be assured that the record (and the information presented about that product) came from the brand or other authoritative source. Product identification and information and the source of the product itself is less reliable, and introduces trust issues with representations of products bought and sold online. Additionally, unique identification is critical to business processes, but also to online purchasing. Very often two different products share the same identifier across the supply chain, and so what a consumer purchases and what ultimately is received may be different.
1046 |Mechanisms are required for the following to provide trust in the digital representation of a product across platforms:
More short use cases to be added
This section currently unchanged from CG's document - needs to be updated.
Here are the thirteen (13) actions currently supported by DIDs as envisioned by Credentials Community Group and as intended in the DID Working Group Charter.
1058 |In the diagram, we have grouped the actions by Create, Read, Update, and Delete (CRUD) as well as Use.
1059 |Controllers create DIDs, uniquely binding cryptographic proofs with the identifier, typically using public-private key-pairs. These DIDs are recorded in a registry in such a manner as to be able to resolve to a DID Document. The DID Document may be dynamically and deterministically generated through resolution or it may be explicitly constructed as a stand-alone resource and either stored or referenced in the registry. This process needs access to the registry, ideally a decentralized system, and like the rest of the DID CRUD actions, can be performed without interaction with any particular authority.
1063 |DIDs are URIs, which is to say a string of characters. As such, they may be presented in the same manner as URIs, by simply transmitting or presenting that string of characters. DIDs, however are not designed to be human readable. They invariably contain long, complex numbers represented in various formats. For ease of use, implementations often rely on QR codes for ease of capture using a camera-enabled device such as a smart phone.
1067 |Relying Parties may wish to prove that the individual presenting a DID is in fact its controller or specified as a Controller for a particular service endpoint. This authentication process uses the cryptographic material in the DID Document to test if the claimed Controller can, in fact, prove control, typically through some sort of challenge-response. Some DID Documents and methods allow for separate, proofs for different service endpoints, distinct from update and delete actions. This separation allows transactional proofs that are expected to be used frequently, while controlling proofs are used rarely.
1071 |Using cryptographic material associated with that found in a DID Document, DID Controllers may sign digital assets or documents. This signature can later be verified (#7 Signature Verification) to demonstrate the authenticity of the asset. In this way, we may referred to the asset as "signed by the DID".
1075 |The first step in using a DID for anything other than presentation is to resolve the DID to a specific DID Document, to reveal the cryptographic material and service endpoints associated with that DID. How this occurs is method-specific and currently under development in the [DID-RESOLUTION] specification.
1079 |Dereferencing a DID uses the material in its DID Document to return a resource. By default, dereferencing a DID without a reference to a service endpoint returns the DID Document itself. When a DID is combined with a service
parameter (forming a DID URL), dereferencing returns the resource pointed to from the named service endpoint, which was discovered by resolving the DID to its DID Document and looking up the endpoint by name. In this way, a Relying Party may dynamically discover and interact with the current service endpoints for a given DID. Services can therefore be given persistent identifiers that do not change even when the underlying service endpoints change.
Given a digital asset signed by a DID, a Relying Party may use the cryptographic material in the DID Document to verify the signature.
1087 |Controllers may rotate the cryptographic material for a DID by updating the DID Document as recorded in its registry. Different methods handle this differently, but the result is an update to the core cryptographic proof required to prove control of the DID and the DID Document.
1091 |Controllers may change service endpoints associated with a DID, including the proof mechanism for authenticating as the Subject for any given endpoint. The process for doing this is method specific, but is designed to allow Controllers to make these change without necessarily changing the primary proof mechanism for control of the DID itself.
1095 |To support interoperability, some methods provide a way for controllers to record in the registry (by updating the DID Document), that the DID should be redirected to another DID, which now has full authority to represent the originating DID. This mechanism allows DID controllers to migrate a DID from one method or registry to another.
1099 |Some methods provide means for recovering control of a DID if its existing private cryptographic material is lost. These means vary by method but can include social recovery, multi-sig, Shamir sharing, or pre-rotated keys. In general, recovery triggers a rotation to a new proof, allowing the Controller of that new proof to recover control of the DID without interacting with any Relying Parties.
1103 |Some methods provide an explicit audit trail of all CRUD actions on that DID, including a timestamp for when the actions took place. For distributed ledger-based registries, this audit trail is fundamental to the way the ledgers record transactions. This allows relying parties to see, for example, how recently a DID was rotated or its service endpoints updated, which may inform certain analytics regarding the reliability of the DID's cryptographic material.
1107 |Instead of deleting a DID, Controllers can deactivate a DID such that downstream processes like authentication and dereferencing are no longer functional. Most decentralized systems cannot guarantee actual deletion of a record. Indeed, distributed ledgers are often touted as "immutable". Methods define deactivation processes to achieve the same effect as deletion. The mechanisms for deactivation vary based on the method.
1111 |In collecting and evaluating potential use cases, we have 1116 | identified fifteen (15) key features supported by the DID specification, 1117 | which provide benefits in the areas of anti-censorship, anti-exploitation, 1118 | ease of use, privacy, and sustainability.
1119 |
The features and their associated benefits can be seen in the following 1120 | grid. A brief definition of each feature follows.
1121 |Feature | 1125 |Anti-censor | 1126 |Anti-exploitation | 1127 |Ease of Use | 1128 |Privacy | 1129 |Sustainability | 1130 |
---|---|---|---|---|---|
1. Inter-jurisdictional | 1133 |X | 1134 |1135 | | 1136 | | 1137 | | X | 1138 |
2. Can't be administratively denied | 1141 |X | 1142 |1143 | | 1144 | | 1145 | | 1146 | |
3. Minimized rents | 1149 |1150 | | X | 1151 |1152 | | 1153 | | X | 1154 |
4. No vendor lock in | 1157 |1158 | | X | 1159 |1160 | | 1161 | | X | 1162 |
5. Self-issued, self-managed | 1165 |X | 1166 |X | 1167 |1168 | | X | 1169 |1170 | |
6. Streamlined rotation | 1173 |1174 | | 1175 | | X | 1176 |1177 | | 1178 | |
7. No phone home | 1181 |1182 | | 1183 | | 1184 | | X | 1185 |1186 | |
8. No surveillance capitalism | 1189 |1190 | | X | 1191 |1192 | | X | 1193 |X | 1194 | 1195 |
9. Cryptographic future proof | 1198 |1199 | | 1200 | | 1201 | | 1202 | | X | 1203 | 1204 |
10. Survives issuing organization mortality | 1207 |1208 | | 1209 | | X | 1210 |1211 | | X | 1212 | 1213 |
11. Survives deployment end-of-life | 1216 |1217 | | 1218 | | 1219 | | 1220 | | X | 1221 | 1222 |
12. Survives relationship with service provider | 1225 |1226 | | 1227 | | X | 1228 |1229 | | X | 1230 | 1231 |
13. Cryptographic authentication and communication | 1234 |X | 1235 |X | 1236 |1237 | | X | 1238 |1239 | 1240 | |
14. Service Discovery | 1243 |1244 | | 1245 | | X | 1246 |1247 | | X | 1248 | 1249 |
15. Registry agnostic | 1252 |X | 1253 |X | 1254 |1255 | | X | 1256 |X | 1257 |
Not all use cases illustrate each feature, and not all DID methods 1339 | support all features. However, we are gathering 1340 | use cases to make sure all key features are clearly described. The 1341 | following chart shows which features are explicitly illustrated in 1342 | the Focal Use Cases.
1343 |Feature | 1347 |Corporate | 1348 |Educational credentials |
1349 | Prescriptions | 1350 |Digital Executor |
1351 | Single Sign On |
1352 |
---|---|---|---|---|---|
1. Inter-jurisdictional | 1355 |X | 1356 |X | 1357 |1358 | | X | 1359 |1360 | |
2. Can't be administratively denied | 1363 |X | 1364 |1365 | | X | 1366 |X | 1367 |X | 1368 | 1369 |
3. Minimized rents | 1372 |1373 | | 1374 | | X | 1375 |1376 | | 1377 | 1378 | |
4. No vendor lock in | 1381 |X | 1382 |X | 1383 |X | 1384 |X | 1385 |1386 | 1387 | |
5. Self-issued, self-managed | 1390 |X | 1391 |X | 1392 |X | 1393 |X | 1394 |1395 | 1396 | |
6. Streamlined rotation | 1399 |1400 | | X | 1401 |1402 | | X | 1403 |1404 | 1405 | |
7. No phone home | 1408 |1409 | | X | 1410 |X | 1411 |1412 | | 1413 | 1414 | |
8. No surveillance capitalism | 1417 |1418 | | 1419 | | X | 1420 |1421 | | 1422 | 1423 | |
9. Cryptographic future proof | 1426 |X | 1427 |X | 1428 |1429 | | 1430 | | X | 1431 | 1432 |
10. Survives issuing organization mortality | 1435 |1436 | | X | 1437 |1438 | | 1439 | | 1440 | 1441 | |
11. Survives deployment end-of-life | 1444 |1445 | | X | 1446 |1447 | | 1448 | | 1449 | 1450 | |
12. Survives relationship with service provider | 1453 |X | 1454 |X | 1455 |1456 | | 1457 | | 1458 | 1459 | |
13. Cryptographic authentication and communication | 1462 |X | 1463 |X | 1464 |X | 1465 |X | 1466 |X | 1467 | 1468 |
14. Service Discovery | 1471 |1472 | | 1473 | | 1474 | | 1475 | | 1476 | 1477 | 1478 | |
15. Registry agnostic | 1481 |1482 | | 1483 | | 1484 | | 1485 | | 1486 | 1487 | |
1499 | There are many types of identifiers that corporations use today 1500 | including tax identification numbers (e.g. 238-42-3893), Legal 1501 | Entity Identifiers (e.g. 5493000IBP32UQZ0KL24), Data Universal 1502 | Numbering System identifiers (aka. DUNS Number) (e.g. 150483782), 1503 | and many more that communicate the unique identity of an organization. 1504 | None of these numbers enable an organization to self-issue an 1505 | identifier or to use the number to cryptographically authenticate or 1506 | digitally sign agreements. A great number of business to business 1507 | and business to customer transactions could be executed more quickly 1508 | and with greater assurance of the validity of the transaction if a 1509 | mechanism to self-issue cryptographic identifiers were created. 1510 |
1511 |1515 | A North American government would like to ensure that the supply 1516 | chain that feeds electronic products into the country is secure. As 1517 | a result, a new method of submitting digital documentation to Customs 1518 | is enabled that requires that all documentation is provided as 1519 | machine-readable digitally signed data. Digitally signed documentation 1520 | is collected at each stage of the manufacturing, packaging, and 1521 | shipping process. This documentation is then submitted to Customs 1522 | upon the products entry into the country where all digital signatures 1523 | are verified on the documentation. Some aspects of the signed 1524 | documentation, such as firmware hashes and checksums, are then used 1525 | by Customs and downstream customers to verify that the products have 1526 | not been tampered with after leaving the manufacturing facility. 1527 |
1528 |1529 | Decentralized Identifiers should ensure 1) low 1530 | management overhead for the government, 2) self-management of 1531 | identifiers and cryptographic key material, and 3) a competitive 1532 | marketplace. 1533 |
1534 |1538 | The requirement of downstream customers to use the same documentation 1539 | and digital signature mechanisms that were provided to Customs is 1540 | potentially problematic in this scenario. Governments often create ad-hoc 1541 | solutions for their import solutions, which make securing the global 1542 | supply chain difficult as each government has their own method of 1543 | securing the supply chain and identifying corporations that downstream 1544 | customers need to integrate with. If you are a global company, that 1545 | means integrating with many supply chain systems (each with different 1546 | capabilities). As such, any securing of the supply chain with downstream 1547 | customers must then depend on the country-specific corporate 1548 | identification and PKI solution, which leads to ad-hoc solutions that 1549 | drive up the cost of doing business across borders. 1550 |
1551 |1552 | A supply chain identifier solution that is simple, self-administered, 1553 | built on global standards, is flexible in the cryptographic mechanisms 1554 | used to authenticate, and can be used by governments and downstream 1555 | customers with little to no modification to the regional government 1556 | or corporate systems does not exist today. 1557 |
1558 |1562 | Many Decentralized Identifier use cases focus on Self-Sovereign 1563 | Identity and individuals. This use case focuses on organizations and 1564 | their departments as entities that would also benefit from 1565 | Decentralized Identifiers. 1566 |
1567 |Educational Verifiable Credentials [VC-DATA-MODEL] offer benefits over traditional 1574 | educational credentials in that the recipient is able to store and 1575 | share their credentials, and a third party may independently verify 1576 | the credential (including authenticating the identity of the recipient), 1577 | without necessarily consulting the issuer, and without dependence on 1578 | centuries old treaty-based bureaucratic process for the international 1579 | verification of credentials. This provides the promise of recipient-owned 1580 | long-lived credentials that the recipient may use in any country, 1581 | even if the issuing institution goes out of business. 1582 |
1583 |However, traditional public-private key pair-based identifiers 1584 | present challenges for rotating keys, especially if 1585 | the identifier in a credential is simply the public key (with 1586 | the private key used for authentication).
1587 |The key rotation is particularly problematic for credentials 1603 | expected to last a lifetime. It should be anticipated that 1604 | a given individual will change their key management strategy and 1605 | systems several times over the course of their life, e.g. relying 1606 | on a cloud wallet, a mobile wallet, or a dedicated hardware wallet, 1607 | as their needs change.
1608 |By issuing an educational credential to a recipient's DID, the 1609 | recipient has the ability to prove ownership of a credential even 1610 | if the cryptographic material used for authenticating changes over time. 1611 |
1612 |When Sally earned her master’s degree at Oxford, she received a 1616 | digital diploma that contained a decentralized identifier she provided. 1617 | Over time, she updates the cryptographic material associated with that 1618 | DID to use her latest hardware wallet, with biometric protections and a 1619 | quantum resistant algorithm. A decade after graduation, she applies for 1620 | a job in Japan, for which she provides her digital diploma by uploading 1621 | it to the prospective employee’s website. To verify she is the 1622 | actual recipient of that degree, she uses the decentralized identifier 1623 | to authenticate, using her current hardware wallet (with rotated keys). 1624 | In addition to the fact that her name matches the name on the diploma, 1625 | the cryptographic authentication provides a robust verification of her 1626 | claim, allowing the employer to rely on Sally’s assertion that she 1627 | earned a master’s degree from Oxford.
1628 |Rotating keys without invalidating Sally's educational credentials and 1632 | providing acceptable proof of education internationally.
1633 |Oxford had no need to provide services for resetting or updating 1637 | Sally’s username or password; they had no role in managing 1638 | Sally’s changes to her authentication credentials. The potential 1639 | employer did not need to contact Oxford to verify Sally’s claim of 1640 | a master’s degree; they were able to verify the credential and 1641 | authenticate Sally’s identity with information retrieved over the 1642 | Internet.
1643 |1650 | Alicia wants help with her urinary tract infection (UTI) and is a bit 1651 | touchy about her privacy. In the old days, she would have to make an 1652 | appointment in-person and get a paper prescription to take to a 1653 | pharmacy. She wants to save money and have peace of mind. 1654 |
1655 |1659 | Alicia is in a state that allows an online service to diagnose and 1660 | prescribe medication. She uses the identity wallet on her smartphone 1661 | to register with the online medical practice. She tells the online 1662 | practice her name is Althea (a pseudonym) 1663 | with password-less authentication and a verified driver's license 1664 | credential to prove that she's a resident of the state. The remote physician, 1665 | Barkley, is licensed by the state Board of Medicine and credentialed by the 1666 | online service. He's securely signed in using the 1667 | identity wallet on his smartphone. Barkley issues Alicia a digital 1668 | prescription in the form of a verifiable credential and allows Alicia 1669 | to download it however she pleases. Alicia is a librarian and trusts 1670 | her local public library to erase their logs as allowed by law. She 1671 | uses one of their computers to sign-in and do all of this. She snaps 1672 | a picture of the QR code that is the prescription to take to the 1673 | pharmacy. Connor, the licensed pharmacist, scans the prescription 1674 | QR code and fills the prescription. Alicia pays cash. 1675 |
1676 |The challenge of this particular use-case is that only Barkley and 1680 | Connor are verified identities and accountable for their interaction 1681 | with Alicia. Alicia can be anonymous or pairwise-pseudonymous with both 1682 | Barkley and Connor and everything just works. Alicia, Barkley, and Connor 1683 | all keep separate and legally authentic copies of the records of their 1684 | interaction in case of dispute. 1685 |
1686 |1690 | The Prescription use-case is a common and high-value example of 1691 | privacy engineering as we shift to convenient and cost-effective 1692 | online commerce among licensed and unlicensed individuals as peers. 1693 | Barkley and Connor benefit by reducing or even eliminating the influence 1694 | of their respective institutions or employers and therefore make more 1695 | money. They pass some savings to Alicia who also gets increased peace 1696 | of mind. 1697 |
1698 |1705 | Today, when people die, there are no standard technologies for heirs, 1706 | executors, or probate courts to properly take control of an individual's 1707 | online accounts and digital assets. With a DID linked to accounts and 1708 | assets, a DID owner could define a trigger for a third party to assume 1709 | control over the DID Document. Ideally, this trigger would specify (a) 1710 | an oracle (how to know the death/incapacity occurred), (b) a means for 1711 | the new owner to assert control, and (c) appropriate checks and 1712 | accountability. 1713 |
1714 |1718 | Kathy uses DIDs to manage her authentications to various services. 1719 | As part of her estate planning, she generates a unique credential 1720 | that she gives to her attorney, Gloria, with provisions specified in 1721 | her will, which initially lists Mike as the digital executor. With 1722 | appropriate obfuscation, that credential is specified in multiple DID 1723 | documents as a probate authority, with the authorization to change the 1724 | master key in case of death, which shall be recorded publicly, on chain, 1725 | as a notarized invocation of the probate authority. As it happens, 1726 | Kathy had a falling out with Mike and notified Gloria just two weeks 1727 | before her death that her friend Miyake should now be her digital 1728 | executor. Upon Kathy's death, Gloria uses the probate credential to 1729 | publicly record the assertion of probate and to replace the DID's master 1730 | key with a new key, controlled by Miyake, who lives in Japan (Kathy, 1731 | Gloria, and Mike live in the United States). Now, any system using 1732 | Kathy's DIDs for authentication can programmatically recognized Miyake's 1733 | authority and specifically know that Kathy's credentials were 1734 | modified under a assertion of probate. 1735 |
1736 |1740 | The late date change in digital executorship from Mike to Miyake 1741 | could be problematic if Kathy had directly listed Mike's credential 1742 | in the DID Document. Because she instead chose to rely on her attorney, 1743 | Kathy has a more flexible way to direct her wishes, while still 1744 | leveraging the collective control over her authenticated logins to 1745 | various services. In addition, Miyake's geographic location could 1746 | make it hard for them to travel to the United States and may make it 1747 | difficult to provide proof of identity traditionally used by U.S. courts. 1748 | Also, because Gloria invokes the probate mechanism, Miyake need only 1749 | provide a suitable credential at that time; he did not need to create 1750 | and maintain a credential over a long period of time (as would be the 1751 | case if Gloria weren't involved). 1752 |
1753 |1757 | Multiple DIDs with a common, blinded authority for probate assumption 1758 | of control. The legal selection of the new owner is mediated through 1759 | a trusted fiduciary (an attorney of record). Cross-border transfer of 1760 | ownership. 1761 |
1762 |1769 | Passwords are notoriously misused ("123456"), stolen from the 1770 | supposedly-secure database on the server-side, easy to forget when 1771 | sufficiently secure, and never the last word in authentication for 1772 | forgotten password situations. Proving control of a DID can replace 1773 | storage and retrieval of a shared secret. 1774 |
1775 |This section in particular needs review to ensure it carries 1779 | information relevant to the WG's work.
Use a DID as a single-sign-on to a Web site, for example between 1781 | a Web page and a Web browser with a mobile identity app. When desirable, 1782 | the relationship can add a shared secret for 2FA.
1783 |Detailed aspects of this use case are out of scope for the Decentralized 1784 | Identifier Working Group but they have been explored elsewhere [DID-Auth]. 1785 | 1786 | 1787 |
1788 | 1789 |1793 | Transfer sign-on capability from control of a password to control of 1794 | 1795 | the DID. 1796 |
1797 |1801 | This use case describes the most common authentication action for 1802 | people on the Internet. 1803 |
1804 |