did-ldap-orbitdb-experiment

所属分类:特征抽取
开发工具:JavaScript
文件大小:145KB
下载次数:0
上传日期:2018-06-27 23:20:33
上 传 者sh-1993
说明:  去中心化目录示例
(Decentralized Directory Example)

文件列表:
docker-compose.yml (237, 2018-06-28)
is-dn-valid.sh (246, 2018-06-28)
orbit-example.js (1408, 2018-06-28)
package-lock.json (657560, 2018-06-28)
package.json (525, 2018-06-28)
src (0, 2018-06-28)
src\__fixtures__ (0, 2018-06-28)
src\__fixtures__\did (0, 2018-06-28)
src\__fixtures__\did\test@example.com (0, 2018-06-28)
src\__fixtures__\did\test@example.com\did_document.json (1262, 2018-06-28)
src\__fixtures__\did\test@example.com\sec_private.key (936, 2018-06-28)
src\__fixtures__\did\test@example.com\sec_public_key.asc (713, 2018-06-28)
src\__fixtures__\did\test@example.com\sec_recovery_private.key (936, 2018-06-28)
src\__fixtures__\did\test@example.com\sec_recovery_public_key.asc (713, 2018-06-28)
src\__fixtures__\make_did_fixtures.js (3131, 2018-06-28)
src\ldap-server (0, 2018-06-28)
src\ldap-server\__tests__ (0, 2018-06-28)
src\ldap-server\__tests__\index.spec.js (2166, 2018-06-28)
src\ldap-server\dbi (0, 2018-06-28)
src\ldap-server\dbi\memory.js (2100, 2018-06-28)
src\ldap-server\dbi\orbitdb.js (2144, 2018-06-28)
src\ldap-server\run.js (279, 2018-06-28)
src\ldap-server\server.js (4858, 2018-06-28)

# DID LDAP IPFS / OrbitDB This is an experiment combining decentralized identity (did-spec), decentralized database technology (orbitdb/ipfs), ldap and OpenPGP. In this demo, we show how to create a DID Document, how to use digital signature to authenticate that identity with an ldap server, and how to store the data used by ldap in ipfs, via orbitdb. [Austin Ethereum Meetup Deck](https://docs.google.com/presentation/d/1TKb11-qIIKL_7eHTfm875KmoVA1xyV7LuEEBfMjkczs) ### Getting Started ``` # for IPFS docker-compose up # for the LDAP Server npm i npm run test node ./orbit-example.js node ./src/ldap-server/run.js ``` ## Learning - http://directory.apache.org/studio/ - https://github.com/phaus/shadow-ldap - http://ldapjs.org/guide.html - http://www.zytrax.com/books/ldap/ - https://www.youtube.com/watch?v=5hMTi8NZyaI - https://w3c-ccg.github.io/did-spec/ ### Some Sample Output ``` Root DN: uid=did:eth_eoa:0x18c8733ce5ddce05674888c970f659ab88a01ff9, dc=example, dc=com Using the following db: LDAP server up at: ldap://0.0.0.0:1389 { objectclass: [ 'top' ], did: 'did:eth_eoa:0x18c8733ce5ddce05674888c970f659ab88a01ff9' } [ 'uid=did:eth_eoa:0x18c8733ce5ddce05674888c970f659ab88a01ff9, dc=example, dc=com' ] { objectclass: [ 'top' ], did: 'did:eth_eoa:0x18c8733ce5ddce05674888c970f659ab88a01ff9' } { objectclass: [ 'top' ], did: 'did:eth_eoa:0x18c8733ce5ddce05674888c970f659ab88a01ff9' } ```

近期下载者

相关文件


收藏者