Skip to content
项目

关于

🗝️🐝✨ Rust workspace for Keyhive and related crates

安全与隐私

这些数字如何统计

实测星标增长

24小时
+1
7天
+3
15天
+4
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Keyhive 🗝 🐝

[!NOTE] For background on this project, you can read the Ink & Switch Keyhive Dev Notebook.

🦀 This repo contains the Rust workspace for Keyhive and related crates

We're excited to announce that we're opening the pre-alpha code for the following libraries:

  • beekem: BeeKEM, a concurrent TreeKEM variant for continuous group key agreement
  • keyhive_codec: The canonical binary encoding traits shared by the other crates
  • keyhive_content: Encrypted content: its format, application secrets, causal envelopes and ciphertext store
  • keyhive_core: The core signing, encryption, and delegation system
  • keyhive_crypto: Shared cryptographic primitives (digests, signatures, key exchange)
  • keyhive_wasm: Wasm wrapper around keyhive_core, plus TypeScript bindings
  • keyline: The authority graph: delegation and revocation certificates, and the Keyline store interface
  • keyline_memory: The in-memory reference Keyline store

Auth-enabled sync over end-to-end encrypted data lives in a separate repository: Subduction (the successor to Beelay).

[!WARNING] DO NOT use this release in production applications

This is an early preview for those curious about the project. Expect bugs, inconsistencies, and unstable APIs. The code has not had a security audit, and the nonce / key-commitment construction in design/ciphersuite.md has not been independently reviewed. See the threat model for what Keyhive does and does not defend against, and SECURITY.md for reporting issues.

Development

The repository ships a Nix flake with the complete toolchain:

nix develop            # dev shell; prints a `menu` of commands
nix run .#ci           # fast checks: fmt, clippy, tests, docs, wasm, deny, msrv, no_std
nix run .#ci-e2e       # Playwright tests against the Wasm build

Without Nix, rust-toolchain.toml pins the compiler and cargo test --workspace --exclude keyhive_wasm --features test_utils runs the host suite. Design documents are in design/. See CONTRIBUTING.md.

If you have any questions, thoughts, or feedback, please contact the team by filing a GitHub Issue, or in the keyhive channel in the Automerge Discord (if you're not part of the Automerge Discord you can join here).

探索相关项目

加载中…