End-to-end encrypted communication and file synchronization for SyftBox using the Signal protocol.
This crate provides cryptographic primitives for secure messaging and file synchronization in SyftBox, built on top of libsignal's implementation of the Signal protocol. It includes support for the PQXDH key agreement protocol for post-quantum security via Kyber.
This software is considered Beta so use at your own risk.
Following Signal's workspace pattern:
syft-crypto-core/
├── protocol/ # Core crypto library (keep as small as possible for easy security audit)
│ ├── src/
│ │ └── lib.rs
│ └── tests/ # Comprehensive tests
│
├── cli/ # Command-line interface to use the API in protocol/
│ └── src/
│ └── main.rs
│
└── Cargo.toml # Workspace configuration
just --list # Show all commands
just build # Build workspace
just test # Run all testsjust build # Build entire workspace
just build-protocol # Build only protocol library
just build-cli # Build only CLI
just build-release # Release buildjust test # Run all tests
just test-protocol # Protocol tests only
just test-verbose # Tests with outputjust format # Format code
just lint # Run clippy
just pre-commit # Format + lint + testjust run <ARGS> # Run CLI with arguments
just cli-help # Show CLI help
just keygen-help # Show keygen helpjust clean # Clean build artifacts
just doc # Generate documentation
just tree # Show project structureApache-2.0