trustchain

所属分类:其他
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-09-08 16:01:23
上 传 者sh-1993
说明:  值得信赖的去中心化PKI,
(Trustworthy decentralised PKI,)

文件列表:
.cargo/ (0, 2023-12-21)
.cargo/config.toml (121, 2023-12-21)
.clippy.toml (65, 2023-12-21)
.pre-commit-config.yaml (295, 2023-12-21)
Cargo.toml (174, 2023-12-21)
LICENSE-APACHE (10850, 2023-12-21)
LICENSE-MIT (1082, 2023-12-21)
docs/ (0, 2023-12-21)
docs/.nojekyll (119, 2023-12-21)
docs/_coverpage.md (186, 2023-12-21)
docs/_sidebar.md (150, 2023-12-21)
docs/acknowledgements.md (117, 2023-12-21)
docs/figs/ (0, 2023-12-21)
docs/figs/Issuer-Holder.png (142742, 2023-12-21)
docs/figs/TrustChainUI.png (155880, 2023-12-21)
docs/figs/Verification.png (335857, 2023-12-21)
docs/figs/dDID_schematic.png (75735, 2023-12-21)
docs/index.html (878, 2023-12-21)
docs/installation.md (15902, 2023-12-21)
docs/license_disclaimer.md (208, 2023-12-21)
docs/theme-custom.css (1315, 2023-12-21)
docs/theme-style.css (14550, 2023-12-21)
docs/turing.svg (11789, 2023-12-21)
scripts/ (0, 2023-12-21)
scripts/publish.sh (437, 2023-12-21)
trustchain-api/ (0, 2023-12-21)
trustchain-api/Cargo.toml (763, 2023-12-21)
trustchain-api/src/ (0, 2023-12-21)
trustchain-api/src/api.rs (22707, 2023-12-21)
trustchain-api/src/lib.rs (281, 2023-12-21)
trustchain-cli/ (0, 2023-12-21)
trustchain-cli/Cargo.toml (839, 2023-12-21)
trustchain-cli/src/ (0, 2023-12-21)
trustchain-cli/src/bin/ (0, 2023-12-21)
... ...

# Trustchain This repo hosts the reference implementation of **Trustchain**. Trustchain is a decentralised approach to public key infrastructure designed for application to digital identity. In particular, it builds on the W3C standards for [decentralised identifiers (DID)](https://www.w3.org/TR/did-core/) and [verifiable credentials (VC)](https://www.w3.org/TR/vc-data-model/). These two standards are closely linked: credential verification involves retrieval of verification material contained in the issuer's DID document. For example, the verification material may be a public key, in which case the verification method is to use the key to verify a digital signature contained in the VC. Trustchain enables the creation of DIDs which are themselves verifiable. Via this mechanism, chains of trustworthy DIDs can be constructed in which **downstream DIDs** (dDIDs) contain an attestation from an entity represented by an **upstream DID** (uDID). More information about the concept and state of development can be found on our [wiki](https://github.com/alan-turing-institute/trustchain/wiki). The following links may be of particular interest: - [Trustchain on Github pages](https://alan-turing-institute.github.io/trustchain/#/) - [Trustchain preprint](https://arxiv.org/abs/2305.08533) - [Trustchain FAQ](https://github.com/alan-turing-institute/trustchain/wiki/Trustchain-FAQ) - [Slides & videos](https://github.com/alan-turing-institute/trustchain/wiki#presentations) - [Technical notes](https://github.com/alan-turing-institute/trustchain/wiki/Trustchain-Technical-Notes) ## Installation guide This brief guide is intended for experienced users/developers who want to get started quickly. See the [full guide](https://alan-turing-institute.github.io/trustchain/#/installation?id=installation-amp-usage) for more detailed, platform-specific instructions. #### Step 1. Install ION Trustchain delegates all DID method operations to a wrapped node on the [ION](https://identity.foundation/ion/) network. The [ION install guide](https://identity.foundation/ion/install-guide/) gives step-by-step instructions on how to setup and run your own ION node. We encountered a few problems with the official installation guide. Hence we recommend to use our modified instructions for [ION installation on Mac](https://alan-turing-institute.github.io/trustchain/#/./installation?id=ion-installation-on-mac) or [ION installation on Linux](https://alan-turing-institute.github.io/trustchain/#/./installation?id=ion-installation-on-linux). #### Step 2. Install Rust Follow the [Rust install guide](https://www.rust-lang.org/tools/install). #### Step 3. Install Trustchain Trustchain can be built and tested using cargo: ``` git clone https://github.com/alan-turing-institute/trustchain.git cd trustchain cargo build ``` Install the Trustchain CLI with: ```shell cargo install --path trustchain-cli ``` ## Usage Guide Once installed, the CLI is callable with: ``` trustchain-cli --help ``` DID subcommands: ``` trustchain-cli did --help ``` Verifiable credential subcommands: ``` trustchain-cli vc --help ``` ## Testing Run unit tests with: ``` cargo test ``` To include integration tests, which will fail unless a running ION node is reachable on localhost, use: ``` cargo test -- --include-ignored ``` ## License & disclaimer Trustchain is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See [LICENSE-MIT](LICENSE-MIT) and [LICENSE-APACHE](LICENSE-APACHE) for details. ## Acknowledgements This work was supported, in whole or in part, by the Bill & Melinda Gates Foundation [INV-001309].

近期下载者

相关文件


收藏者