https://github.com/paritytech/secret-store
Parity Secret Store implementation
https://github.com/paritytech/secret-store
Last synced: 8 months ago
JSON representation
Parity Secret Store implementation
- Host: GitHub
- URL: https://github.com/paritytech/secret-store
- Owner: paritytech
- License: gpl-3.0
- Created: 2020-01-14T16:38:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T19:56:10.000Z (over 2 years ago)
- Last Synced: 2023-04-09T19:14:15.587Z (over 2 years ago)
- Language: Rust
- Size: 837 KB
- Stars: 23
- Watchers: 7
- Forks: 11
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Secret-Store 2.0
The work is in progress. Please do not use it in production.
# Secret-Store 1.0
To reference this version of Secret Store, use [this commit](https://github.com/paritytech/secret-store/commit/ebe751db6af07425d2e1823ac05a84d0fafe3dad).
This is Parity Secret Store. Detailed information about the solution can be found on [Parity wiki](https://wiki.parity.io/Secret-Store)
The entry point for the library is the method for launching new key server instance:
```
pub fn start(trusted_client: Arc, self_key_pair: Arc, mut config: ServiceConfiguration,
db: Arc, executor: Executor) -> Result, Error>
```
The client has to provide its own implementations of SecretStoreChain, key pair, database instance and configuration parameters.
For the reference implementation see the corresponding code in Parity Ethereum client:
https://github.com/paritytech/parity-ethereum/blob/master/parity/secretstore/server.rs