https://github.com/ldclabs/ic-cose
⚙️ A decentralized COnfiguration service with Signing and Encryption on the Internet Computer.
https://github.com/ldclabs/ic-cose
cbor config cose icp
Last synced: 5 months ago
JSON representation
⚙️ A decentralized COnfiguration service with Signing and Encryption on the Internet Computer.
- Host: GitHub
- URL: https://github.com/ldclabs/ic-cose
- Owner: ldclabs
- License: apache-2.0
- Created: 2024-07-20T10:35:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-30T06:14:12.000Z (5 months ago)
- Last Synced: 2025-04-30T06:16:24.485Z (5 months ago)
- Topics: cbor, config, cose, icp
- Language: Rust
- Homepage:
- Size: 292 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-internet-computer - ic-cose - A decentralized COnfiguration service with Signing and Encryption on the IC. (Storage and Databases / Candid implementations)
README
# `IC-COSE`
⚙️ A decentralized COnfiguration service with Signing and Encryption on the Internet Computer.
💝 Backed by a **$25k Developer Grant** from the [DFINITY Foundation](https://dfinity.org/grants).
## Overview
`IC COSE` is a fully open-source decentralized configuration service running on the Internet Computer. Based on the [CBOR Object Signing and Encryption (COSE, RFC9052)](https://datatracker.ietf.org/doc/html/rfc9052) standard, it offers centralized message signing and configuration data encryption. Configuration data is organized by namespaces and client subjects, supporting collaboration, fine-grained access control, and horizontal scalability. It can serve as a reliable and secure configuration center for various Web3 services and Web2 services with high data security and reliability requirements.
A imaginative use case is serving as a state persistence service for enclaves running in Trusted Execution Environments (TEEs), aiding in loading confidential data during startup and persisting confidential data states during runtime.
## Features
- Supports message signing and configuration data encryption (COSE, Threshold ECDSA, Threshold Schnorr, VetKeys).
- Organizes configuration data by namespaces and client subjects with fine-grained access control.
- Serve as a state persistence service for enclaves, aiding in loading and persisting confidential data during startup and runtime.
- Supports horizontal scalability, WASM module management, and Cycles recharge management.
- Can be used as a cluster management center for both Web3 and Web2 services.## Packages
| Package | Description |
| :------------------------------------------------------------------------------------ | :---------------------------------------------------------------- |
| [ic_cose_canister](https://github.com/ldclabs/ic-cose/tree/main/src/ic_cose_canister) | A decentralized COnfiguration service with Signing and Encryption |
| [ic_wasm_canister](https://github.com/ldclabs/ic-cose/tree/main/src/ic_wasm_canister) | An ICP canister wasm module management service |
| [ic_cose_types](https://github.com/ldclabs/ic-cose/tree/main/src/ic_cose_types) | Rust shared type definitions |
| [ic_cose](https://github.com/ldclabs/ic-cose/tree/main/src/ic_cose) | Rust client SDK for the IC COSE canister |## Who's using?
- [dMsg.net](https://dmsg.net): The world's 1st decentralized end-to-end encrypted messaging application fully running on the Internet Computer blockchain. dMsg.net uses `ic_cose_canister` to store encrypted keys for user.
- [IC-TEE](https://github.com/ldclabs/ic-tee): Make Trusted Execution Environments (TEEs) work with the Internet Computer. IC-TEE uses `ic_cose_canister` to store configs and confidential data (TLS cert/key, root keys).
- [Anda](https://github.com/ldclabs/anda): An AI agent framework built with Rust, powered by ICP and TEEs. Anda uses `ic_cose_canister` to store agent configs.If you plan to use this project and have any questions, feel free to open an issue. I will address it as soon as possible.
## License
Copyright © 2024-2025 [LDC Labs](https://github.com/ldclabs).`ldclabs/ic-cose` is licensed under the MIT License. See [LICENSE](LICENSE-MIT) for the full license text.