---
link: https://www.inkandswitch.com/keyhive/notebook/
github: https://github.com/inkandswitch/keyhive
tags:
- capabilities
- protocol
- encryption
- localfirst
discord: https://discord.com/channels/1200006940210757672/1347253710048333884
---
Local first access control
Created at [[Ink & Switch]], lead by [[Brooklyn Zelenka]]
## Lab Notebook
[Keyhive Background](https://www.inkandswitch.com/keyhive/notebook/00/)
> We’ve seen user-agency principals successfully applied to other contexts. [Signal](https://signal.org/) popularized end-to-end encrypted chat while retaining much of the convenience of less-secure messaging applications. We find ourselves asking “what would Signal for documents look like?”
## Code
- [`beelay-core`](https://github.com/inkandswitch/keyhive/tree/main/beelay/beelay-core): Auth-enabled sync over end-to-end encrypted data
- [`keyhive_core`](https://github.com/inkandswitch/keyhive/tree/main/keyhive_core): The core signing, encryption, and delegation system
- [`keyhive_wasm`](https://github.com/inkandswitch/keyhive/tree/main/keyhive_wasm): [Wasm](https://webassembly.org/) wrapper around `keyhive_core`, plus TypeScript bindings