SlideShare a Scribd company logo
1 of 25
Download to read offline
twitter.com/kimdhamilton
DIDs Demystified
A hands-on intro to DIDs via the BTCR DID Method
June 6, 2018
SSIMeetup.orghttps://creativecommons.org/licenses/by-sa/4.0/
Kim Hamilton Duffy
CTO of Learning Machine, Principal Architect of Blockcerts and co-chair W3C Credentials
Community Group
1. Empower global SSI communities
2. Open to everyone interested in SSI
3. All content is shared with CC BY SA
SSIMeetup.org
Alex Preukschat @SSIMeetup @AlexPreukschat
Coordinating Node SSIMeetup.org
https://creativecommons.org/licenses/by-sa/4.0/
SSIMeetup objectives
6 June 2018
How I got involved with SSI
● CTO of Learning Machine
● Principal Architect of Blockcerts
● Open source/open standards for blockchain verification of
credentials
● Open Badges and Verifiable Credentials Alignment
● JSON-LD signatures and suites
● RWoT => Involvement with Decentralized Identifiers (DIDs)
and the BTCR Method Spec
● Co-chair W3C Credentials Community Group
SSIMeetup.org
Orientation
From Drummond Reed’s SSI Meetup 2 (DIDs)
Method DID prefix
Sovrin did:sov:
Bitcoin Reference did:btcr:
Ethereum uPort did:uport:
Blockstack did:stack:
Veres One did:v1:
IPFS did:ipld:
SSIMeetup.org
Why BTCR is interesting
● Long-lived, recipient-owned EDU/OCC verifiable credentials
● “Subject” of credentials => the biggest challenge is identity
● User-friendly approaches to cryptographic key management lacking
● Risk to longevity and usability
● Solution is DIDs
● BTCR’s simplicity
● Bitcoin blockchain already available!
● Simple implementation, minimal feature set => easy to reason about
● Useful baseline from which to understand with more advanced DID capabilities
● Can start experimenting with DIDs immediately
SSIMeetup.org
How it works
● An example BTCR DID
● Finding on the Bitcoin blockchain
● Creating
● Updating
● Resolving
A BTCR Decentralized Identifier
● References network (mainnet, testnet3, …), block height and position
● Bech32 encoded Transaction Position References
● Proposed extensions
● From this string, a BTCR DID resolver can generate a DID Document
SSIMeetup.org
did:btcr:xkyt-fzgq-qq87-xnhn
Preview: BTCR DID Document
SSIMeetup.org
More on this
later
Where it lives on the Bitcoin blockchain
SSIMeetup.org
did:btcr:xxxx
Creating a BTCR DID
SSIMeetup.org
Updating a BTCR DID
SSIMeetup.org
Resolving a BTCR DID
● Build “implicit” DID from transaction
● Lookup continuation DID Document
● Build final “constructed” DID document
SSIMeetup.org
Demos
● Resolving step-by-step
● Creating
SSIMeetup.org
BTCR Resolver
Playground
https://weboftrustinfo.github.io/btcr-tx-playground.github.io/
SSIMeetup.org
BTCR Resolution: Implicit DID Document
SSIMeetup.org
● Derived Exclusively
from the Transaction
● Default
authentication
capability from
signing key
● “Continuation” DID
Document
● Method-specific
metadata
BTCR Resolution: Look up Continuation
SSIMeetup.org
● “Continuation” DID Document Contents
● Immutable vs mutable storage and
signatures
BTCR Resolution: Constructed DID Document
SSIMeetup.org
BTCR Creation
SSIMeetup.org
Discussion
● Limitations
● What you can do with a BTCR
DID
● Other DID Method Specs and
capabilities
SSIMeetup.org
Limitations and Quirks
● NodeJS libraries use
explorers
● Explorer vs Bitcoin node
● C++ libraries offer
more robust options
● Various quirks
● Confirmation time
● Continuation DID
Documents
SSIMeetup.org
Issues: https://github.com/w3c-ccg/didm-btcr/issues
What you can do with a BTCR DID
● Sign a Verifiable Credential
● Authenticate (DID Auth)
SSIMeetup.org
Other DID capabilities
● Guardian-managed
● m of n signatures
● “Social” recovery
SSIMeetup.org
Get involved
● Incubate
● User stories
● Prototype
● Whitepapers
● Hackathons
● Blockchain Commons (Christopher Allen)
● Draft Specifications
● Contribute Use Cases
● Code and other specs
● BTCR: see references + Ryan Grant/Dan
Pape’s C++ repo
(https://github.com/dcdpr/btcr-DID-method)
● Method Specs
● DID Auth
● Resolver
Internet Identity Workshop Rebooting Web of Trust
Credentials Community Group
Decentralized Identity Foundation
• Credentials CG
• Verifiable Claims WG
• Veres One CG
• DID WG (soon)
SSIMeetup.org
References from this talk
● SSI Meetup Webinar Decentralized Identifiers (DIDs), Drummond Reed:
http://ssimeetup.org/decentralized-identifiers-did-fundamental-block-self-sovereign-identity-drummond-reed-webinar-2/
● DID Draft Specification: https://w3c-ccg.github.io/did-spec/
● DID Method Registry: https://w3c-ccg.github.io/did-method-registry/
● How BTCR resolution works, Kim H. Duffy, Christopher Allen, Ryan Grant, Dan Pape:
https://github.com/WebOfTrustInfo/rebooting-the-web-of-trust-spring2018/blob/master/final-documents/btcr-resolver.pdf
● Universal Resolver, Markus Sabadello: https://medium.com/decentralized-identity/a-universal-resolver-for-self-sovereign-identifiers-48e6b4a5cc3c
● BTCR Playground: https://weboftrustinfo.github.io/btcr-tx-playground.github.io/
● Related Libraries:
● https://github.com/WebOfTrustInfo/btcr-did-tools-js
● https://github.com/WebOfTrustInfo/txref-conversion-js
● Bech 32 Encoded Transaction Position References, Jonas Schnelli:
https://github.com/veleslavs/bips/blob/c83837536d6629f754ce5a88bbe245e0a615e76e/bip-XXXX-Bech32_Encoded_Transaction_Position_Referenc
es.mediawiki
● Summary of Proposed Extensions: https://github.com/w3c-ccg/didm-btcr/issues/1
● Proposal, Dan Pape: https://github.com/danpape/bips/blob/Bech32_Encoded_TxRef/bip-0136.mediawiki
● Blockcerts: https://www.blockcerts.org/
● Groups:
● W3C Credentials Community Group: https://www.w3.org/community/credentials/
● Internet Identity Workshop: https://www.internetidentityworkshop.com/
● Rebooting Web of Trust: http://www.weboftrust.info/
● Decentralized Identity Foundation: http://identity.foundation/
SSIMeetup.org
twitter.com/kimdhamilton
DIDs Demystified
A hands-on intro to DIDs via the BTCR DID Method
June 6, 2018
SSIMeetup.orghttps://creativecommons.org/licenses/by-sa/4.0/
Kim Hamilton Duffy
CTO of Learning Machine, Principal Architect of Blockcerts and co-chair W3C Credentials
Community Group

More Related Content

What's hot

Robot framework
Robot frameworkRobot framework
Robot framework
boriau
 

What's hot (20)

Robot framework
Robot frameworkRobot framework
Robot framework
 
Testando API REST - Parte 1
Testando API REST - Parte 1Testando API REST - Parte 1
Testando API REST - Parte 1
 
WebRTC入門 ~沖縄編~
WebRTC入門 ~沖縄編~WebRTC入門 ~沖縄編~
WebRTC入門 ~沖縄編~
 
Introduction to robot framework
Introduction to robot frameworkIntroduction to robot framework
Introduction to robot framework
 
ISO/IEC/IEEE 29119 Software Testing 勉強会第3回 テストドキュメント
ISO/IEC/IEEE 29119 Software Testing 勉強会第3回 テストドキュメントISO/IEC/IEEE 29119 Software Testing 勉強会第3回 テストドキュメント
ISO/IEC/IEEE 29119 Software Testing 勉強会第3回 テストドキュメント
 
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?
#1 Robot Floripa - Robot Framework: O que é? Onde vive? Do que se alimenta?
 
[PYTHONSUL2018] Apresentação do Tutorial - Automação de Testes com Robot Fram...
[PYTHONSUL2018] Apresentação do Tutorial - Automação de Testes com Robot Fram...[PYTHONSUL2018] Apresentação do Tutorial - Automação de Testes com Robot Fram...
[PYTHONSUL2018] Apresentação do Tutorial - Automação de Testes com Robot Fram...
 
Robot Framework
Robot FrameworkRobot Framework
Robot Framework
 
Test-Driven Development
Test-Driven DevelopmentTest-Driven Development
Test-Driven Development
 
Jenkinsを利用したCI、弊社導入事例
Jenkinsを利用したCI、弊社導入事例Jenkinsを利用したCI、弊社導入事例
Jenkinsを利用したCI、弊社導入事例
 
Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Introduction to Robot Framework (external)
Introduction to Robot Framework (external)
 
Junit
JunitJunit
Junit
 
Assespro pr-workshop-robot framework
Assespro pr-workshop-robot frameworkAssespro pr-workshop-robot framework
Assespro pr-workshop-robot framework
 
Swagger
SwaggerSwagger
Swagger
 
RENAT - ネットワーク検証自動化
RENAT - ネットワーク検証自動化RENAT - ネットワーク検証自動化
RENAT - ネットワーク検証自動化
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic framework
 
Scripting robot
Scripting robotScripting robot
Scripting robot
 
BITCOIN TECHNOLOGY AND ITS USES
BITCOIN TECHNOLOGY AND ITS USESBITCOIN TECHNOLOGY AND ITS USES
BITCOIN TECHNOLOGY AND ITS USES
 
Maven
MavenMaven
Maven
 
Instalar Python 2.7 y 3 en Windows (Anaconda)
Instalar Python 2.7 y 3 en Windows (Anaconda)Instalar Python 2.7 y 3 en Windows (Anaconda)
Instalar Python 2.7 y 3 en Windows (Anaconda)
 

Similar to DIDs Demystified: A hands-on intro to DIDs via the Bitcoin Reference (BTCR) DID Method

Blockcerts: The Open Standard for Blockchain Credentials
Blockcerts: The Open Standard for Blockchain CredentialsBlockcerts: The Open Standard for Blockchain Credentials
Blockcerts: The Open Standard for Blockchain Credentials
SSIMeetup
 

Similar to DIDs Demystified: A hands-on intro to DIDs via the Bitcoin Reference (BTCR) DID Method (20)

Self Sovereign Identity (SSI) Open standards with Drummond Reed
Self Sovereign Identity (SSI) Open standards with Drummond Reed Self Sovereign Identity (SSI) Open standards with Drummond Reed
Self Sovereign Identity (SSI) Open standards with Drummond Reed
 
Blockcerts: The Open Standard for Blockchain Credentials
Blockcerts: The Open Standard for Blockchain CredentialsBlockcerts: The Open Standard for Blockchain Credentials
Blockcerts: The Open Standard for Blockchain Credentials
 
Highlights of Internet Identity Workshop #28 with Drummond Reed
Highlights of Internet Identity Workshop #28 with Drummond ReedHighlights of Internet Identity Workshop #28 with Drummond Reed
Highlights of Internet Identity Workshop #28 with Drummond Reed
 
The DID Report 1: The First Official W3C DID Working Group Meeting (Japan)- D...
The DID Report 1: The First Official W3C DID Working Group Meeting (Japan)- D...The DID Report 1: The First Official W3C DID Working Group Meeting (Japan)- D...
The DID Report 1: The First Official W3C DID Working Group Meeting (Japan)- D...
 
IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1IBM presents: Hyperledger Fabric Hands On Workshop - part 1
IBM presents: Hyperledger Fabric Hands On Workshop - part 1
 
2018 Lunch & Learn Blockchain Overview
2018 Lunch & Learn Blockchain Overview2018 Lunch & Learn Blockchain Overview
2018 Lunch & Learn Blockchain Overview
 
BlockChain and Its Eco-System
BlockChain and Its Eco-SystemBlockChain and Its Eco-System
BlockChain and Its Eco-System
 
Blockchain in a nutshell
Blockchain in a nutshellBlockchain in a nutshell
Blockchain in a nutshell
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Applications in Enterprises
Blockchain Applications in EnterprisesBlockchain Applications in Enterprises
Blockchain Applications in Enterprises
 
Decentralized Identifier (DIDs) fundamentals deep dive
Decentralized Identifier (DIDs) fundamentals deep diveDecentralized Identifier (DIDs) fundamentals deep dive
Decentralized Identifier (DIDs) fundamentals deep dive
 
Building Your First App with Shawn Mcarthy
Building Your First App with Shawn Mcarthy Building Your First App with Shawn Mcarthy
Building Your First App with Shawn Mcarthy
 
A living programming environment for blockchain
A living programming environment for blockchainA living programming environment for blockchain
A living programming environment for blockchain
 
A living programming environment for a living blockchain
A living programming environment for a living blockchainA living programming environment for a living blockchain
A living programming environment for a living blockchain
 
Building Blockchain Apps: Intro to Dash Platform
Building Blockchain Apps: Intro to Dash PlatformBuilding Blockchain Apps: Intro to Dash Platform
Building Blockchain Apps: Intro to Dash Platform
 
02_07_2018_«El valor de blockchain en el registro de la actividad académica: ...
02_07_2018_«El valor de blockchain en el registro de la actividad académica: ...02_07_2018_«El valor de blockchain en el registro de la actividad académica: ...
02_07_2018_«El valor de blockchain en el registro de la actividad académica: ...
 
Blockchain for Business
Blockchain for BusinessBlockchain for Business
Blockchain for Business
 
Blockchain Hyper Ledger Fabric : Bangkok Conference
Blockchain Hyper Ledger Fabric : Bangkok ConferenceBlockchain Hyper Ledger Fabric : Bangkok Conference
Blockchain Hyper Ledger Fabric : Bangkok Conference
 
Blockchain Essentials - Harnessing the Technology for Banking Industry
Blockchain Essentials - Harnessing the Technology for Banking IndustryBlockchain Essentials - Harnessing the Technology for Banking Industry
Blockchain Essentials - Harnessing the Technology for Banking Industry
 
Real world blockchain solutions - DevDays Asia 2018 - Taipei
Real world blockchain solutions - DevDays Asia 2018 - TaipeiReal world blockchain solutions - DevDays Asia 2018 - Taipei
Real world blockchain solutions - DevDays Asia 2018 - Taipei
 

More from SSIMeetup

Identity-centric interoperability with the Ceramic Protocol
Identity-centric interoperability with the Ceramic ProtocolIdentity-centric interoperability with the Ceramic Protocol
Identity-centric interoperability with the Ceramic Protocol
SSIMeetup
 
Introducing the SSI eIDAS Legal Report – Ignacio Alamillo
Introducing the SSI eIDAS Legal Report – Ignacio AlamilloIntroducing the SSI eIDAS Legal Report – Ignacio Alamillo
Introducing the SSI eIDAS Legal Report – Ignacio Alamillo
SSIMeetup
 
eIDAS regulation: anchoring trust in Self-Sovereign Identity systems
eIDAS regulation: anchoring trust in Self-Sovereign Identity systemseIDAS regulation: anchoring trust in Self-Sovereign Identity systems
eIDAS regulation: anchoring trust in Self-Sovereign Identity systems
SSIMeetup
 

More from SSIMeetup (20)

ZKorum: Building the Next Generation eAgora powered by SSI
ZKorum: Building the Next Generation eAgora powered by SSIZKorum: Building the Next Generation eAgora powered by SSI
ZKorum: Building the Next Generation eAgora powered by SSI
 
Anonymous credentials with range proofs, verifiable encryption, ZKSNARKs, Cir...
Anonymous credentials with range proofs, verifiable encryption, ZKSNARKs, Cir...Anonymous credentials with range proofs, verifiable encryption, ZKSNARKs, Cir...
Anonymous credentials with range proofs, verifiable encryption, ZKSNARKs, Cir...
 
Value proposition of SSI tech providers - Self-Sovereign Identity
Value proposition of SSI tech providers - Self-Sovereign IdentityValue proposition of SSI tech providers - Self-Sovereign Identity
Value proposition of SSI tech providers - Self-Sovereign Identity
 
SSI Adoption: What will it take? Riley Hughes
SSI Adoption: What will it take? Riley HughesSSI Adoption: What will it take? Riley Hughes
SSI Adoption: What will it take? Riley Hughes
 
Web5 - Open to Build - Block-TBD
Web5 - Open to Build - Block-TBDWeb5 - Open to Build - Block-TBD
Web5 - Open to Build - Block-TBD
 
Portabl - The state of open banking, regulations, and the intersection of SSI...
Portabl - The state of open banking, regulations, and the intersection of SSI...Portabl - The state of open banking, regulations, and the intersection of SSI...
Portabl - The state of open banking, regulations, and the intersection of SSI...
 
PharmaLedger: A Digital Trust Ecosystem for Healthcare
PharmaLedger: A Digital Trust Ecosystem for HealthcarePharmaLedger: A Digital Trust Ecosystem for Healthcare
PharmaLedger: A Digital Trust Ecosystem for Healthcare
 
Cheqd: Making privacy-preserving digital credentials fun
Cheqd: Making privacy-preserving digital credentials funCheqd: Making privacy-preserving digital credentials fun
Cheqd: Making privacy-preserving digital credentials fun
 
PolygonID Zero-Knowledge Identity Web2 & Web3
PolygonID Zero-Knowledge Identity Web2 & Web3PolygonID Zero-Knowledge Identity Web2 & Web3
PolygonID Zero-Knowledge Identity Web2 & Web3
 
Building SSI Products: A Guide for Product Managers
Building SSI Products: A Guide for Product ManagersBuilding SSI Products: A Guide for Product Managers
Building SSI Products: A Guide for Product Managers
 
Solving compliance for crypto businesses using Decentralized Identity – Pelle...
Solving compliance for crypto businesses using Decentralized Identity – Pelle...Solving compliance for crypto businesses using Decentralized Identity – Pelle...
Solving compliance for crypto businesses using Decentralized Identity – Pelle...
 
The Pan-Canadian Trust Framework (PCTF) for SSI
The Pan-Canadian Trust Framework (PCTF) for SSIThe Pan-Canadian Trust Framework (PCTF) for SSI
The Pan-Canadian Trust Framework (PCTF) for SSI
 
Identity-centric interoperability with the Ceramic Protocol
Identity-centric interoperability with the Ceramic ProtocolIdentity-centric interoperability with the Ceramic Protocol
Identity-centric interoperability with the Ceramic Protocol
 
The SSI Ecosystem in South Korea
The SSI Ecosystem in South KoreaThe SSI Ecosystem in South Korea
The SSI Ecosystem in South Korea
 
Introducing the SSI eIDAS Legal Report – Ignacio Alamillo
Introducing the SSI eIDAS Legal Report – Ignacio AlamilloIntroducing the SSI eIDAS Legal Report – Ignacio Alamillo
Introducing the SSI eIDAS Legal Report – Ignacio Alamillo
 
Learn about the Trust Over IP (ToIP) stack
Learn about the Trust Over IP (ToIP) stackLearn about the Trust Over IP (ToIP) stack
Learn about the Trust Over IP (ToIP) stack
 
How to avoid another identity nightmare with SSI? Christopher Allen
How to avoid another identity nightmare with SSI? Christopher AllenHow to avoid another identity nightmare with SSI? Christopher Allen
How to avoid another identity nightmare with SSI? Christopher Allen
 
Self-Sovereign Identity: Ideology and Architecture with Christopher Allen
Self-Sovereign Identity: Ideology and Architecture with Christopher AllenSelf-Sovereign Identity: Ideology and Architecture with Christopher Allen
Self-Sovereign Identity: Ideology and Architecture with Christopher Allen
 
eIDAS regulation: anchoring trust in Self-Sovereign Identity systems
eIDAS regulation: anchoring trust in Self-Sovereign Identity systemseIDAS regulation: anchoring trust in Self-Sovereign Identity systems
eIDAS regulation: anchoring trust in Self-Sovereign Identity systems
 
Explaining SSI to C-suite executives, and anyone else for that matter
Explaining SSI to C-suite executives, and anyone else for that matterExplaining SSI to C-suite executives, and anyone else for that matter
Explaining SSI to C-suite executives, and anyone else for that matter
 

Recently uploaded

原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
Asmae Rabhi
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 

Recently uploaded (20)

Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 

DIDs Demystified: A hands-on intro to DIDs via the Bitcoin Reference (BTCR) DID Method

  • 1. twitter.com/kimdhamilton DIDs Demystified A hands-on intro to DIDs via the BTCR DID Method June 6, 2018 SSIMeetup.orghttps://creativecommons.org/licenses/by-sa/4.0/ Kim Hamilton Duffy CTO of Learning Machine, Principal Architect of Blockcerts and co-chair W3C Credentials Community Group
  • 2. 1. Empower global SSI communities 2. Open to everyone interested in SSI 3. All content is shared with CC BY SA SSIMeetup.org Alex Preukschat @SSIMeetup @AlexPreukschat Coordinating Node SSIMeetup.org https://creativecommons.org/licenses/by-sa/4.0/ SSIMeetup objectives 6 June 2018
  • 3. How I got involved with SSI ● CTO of Learning Machine ● Principal Architect of Blockcerts ● Open source/open standards for blockchain verification of credentials ● Open Badges and Verifiable Credentials Alignment ● JSON-LD signatures and suites ● RWoT => Involvement with Decentralized Identifiers (DIDs) and the BTCR Method Spec ● Co-chair W3C Credentials Community Group SSIMeetup.org
  • 4. Orientation From Drummond Reed’s SSI Meetup 2 (DIDs) Method DID prefix Sovrin did:sov: Bitcoin Reference did:btcr: Ethereum uPort did:uport: Blockstack did:stack: Veres One did:v1: IPFS did:ipld: SSIMeetup.org
  • 5. Why BTCR is interesting ● Long-lived, recipient-owned EDU/OCC verifiable credentials ● “Subject” of credentials => the biggest challenge is identity ● User-friendly approaches to cryptographic key management lacking ● Risk to longevity and usability ● Solution is DIDs ● BTCR’s simplicity ● Bitcoin blockchain already available! ● Simple implementation, minimal feature set => easy to reason about ● Useful baseline from which to understand with more advanced DID capabilities ● Can start experimenting with DIDs immediately SSIMeetup.org
  • 6. How it works ● An example BTCR DID ● Finding on the Bitcoin blockchain ● Creating ● Updating ● Resolving
  • 7. A BTCR Decentralized Identifier ● References network (mainnet, testnet3, …), block height and position ● Bech32 encoded Transaction Position References ● Proposed extensions ● From this string, a BTCR DID resolver can generate a DID Document SSIMeetup.org did:btcr:xkyt-fzgq-qq87-xnhn
  • 8. Preview: BTCR DID Document SSIMeetup.org More on this later
  • 9. Where it lives on the Bitcoin blockchain SSIMeetup.org did:btcr:xxxx
  • 10. Creating a BTCR DID SSIMeetup.org
  • 11. Updating a BTCR DID SSIMeetup.org
  • 12. Resolving a BTCR DID ● Build “implicit” DID from transaction ● Lookup continuation DID Document ● Build final “constructed” DID document SSIMeetup.org
  • 13. Demos ● Resolving step-by-step ● Creating SSIMeetup.org
  • 15. BTCR Resolution: Implicit DID Document SSIMeetup.org ● Derived Exclusively from the Transaction ● Default authentication capability from signing key ● “Continuation” DID Document ● Method-specific metadata
  • 16. BTCR Resolution: Look up Continuation SSIMeetup.org ● “Continuation” DID Document Contents ● Immutable vs mutable storage and signatures
  • 17. BTCR Resolution: Constructed DID Document SSIMeetup.org
  • 19. Discussion ● Limitations ● What you can do with a BTCR DID ● Other DID Method Specs and capabilities SSIMeetup.org
  • 20. Limitations and Quirks ● NodeJS libraries use explorers ● Explorer vs Bitcoin node ● C++ libraries offer more robust options ● Various quirks ● Confirmation time ● Continuation DID Documents SSIMeetup.org Issues: https://github.com/w3c-ccg/didm-btcr/issues
  • 21. What you can do with a BTCR DID ● Sign a Verifiable Credential ● Authenticate (DID Auth) SSIMeetup.org
  • 22. Other DID capabilities ● Guardian-managed ● m of n signatures ● “Social” recovery SSIMeetup.org
  • 23. Get involved ● Incubate ● User stories ● Prototype ● Whitepapers ● Hackathons ● Blockchain Commons (Christopher Allen) ● Draft Specifications ● Contribute Use Cases ● Code and other specs ● BTCR: see references + Ryan Grant/Dan Pape’s C++ repo (https://github.com/dcdpr/btcr-DID-method) ● Method Specs ● DID Auth ● Resolver Internet Identity Workshop Rebooting Web of Trust Credentials Community Group Decentralized Identity Foundation • Credentials CG • Verifiable Claims WG • Veres One CG • DID WG (soon) SSIMeetup.org
  • 24. References from this talk ● SSI Meetup Webinar Decentralized Identifiers (DIDs), Drummond Reed: http://ssimeetup.org/decentralized-identifiers-did-fundamental-block-self-sovereign-identity-drummond-reed-webinar-2/ ● DID Draft Specification: https://w3c-ccg.github.io/did-spec/ ● DID Method Registry: https://w3c-ccg.github.io/did-method-registry/ ● How BTCR resolution works, Kim H. Duffy, Christopher Allen, Ryan Grant, Dan Pape: https://github.com/WebOfTrustInfo/rebooting-the-web-of-trust-spring2018/blob/master/final-documents/btcr-resolver.pdf ● Universal Resolver, Markus Sabadello: https://medium.com/decentralized-identity/a-universal-resolver-for-self-sovereign-identifiers-48e6b4a5cc3c ● BTCR Playground: https://weboftrustinfo.github.io/btcr-tx-playground.github.io/ ● Related Libraries: ● https://github.com/WebOfTrustInfo/btcr-did-tools-js ● https://github.com/WebOfTrustInfo/txref-conversion-js ● Bech 32 Encoded Transaction Position References, Jonas Schnelli: https://github.com/veleslavs/bips/blob/c83837536d6629f754ce5a88bbe245e0a615e76e/bip-XXXX-Bech32_Encoded_Transaction_Position_Referenc es.mediawiki ● Summary of Proposed Extensions: https://github.com/w3c-ccg/didm-btcr/issues/1 ● Proposal, Dan Pape: https://github.com/danpape/bips/blob/Bech32_Encoded_TxRef/bip-0136.mediawiki ● Blockcerts: https://www.blockcerts.org/ ● Groups: ● W3C Credentials Community Group: https://www.w3.org/community/credentials/ ● Internet Identity Workshop: https://www.internetidentityworkshop.com/ ● Rebooting Web of Trust: http://www.weboftrust.info/ ● Decentralized Identity Foundation: http://identity.foundation/ SSIMeetup.org
  • 25. twitter.com/kimdhamilton DIDs Demystified A hands-on intro to DIDs via the BTCR DID Method June 6, 2018 SSIMeetup.orghttps://creativecommons.org/licenses/by-sa/4.0/ Kim Hamilton Duffy CTO of Learning Machine, Principal Architect of Blockcerts and co-chair W3C Credentials Community Group