New crates: - quicproquo-bot: Bot SDK with polling API + JSON pipe mode - quicproquo-kt: Key Transparency Merkle log (RFC 9162 subset) - quicproquo-plugin-api: no_std C-compatible plugin vtable API - quicproquo-gen: scaffolding tool (qpq-gen plugin/bot/rpc/hook) Server features: - ServerHooks trait wired into all RPC handlers (enqueue, fetch, auth, channel, registration) with plugin rejection support - Dynamic plugin loader (libloading) with --plugin-dir config - Delivery proof canary tokens (Ed25519 server signatures on enqueue) - Key Transparency Merkle log with inclusion proofs on resolveUser Core library: - Safety numbers (60-digit HMAC-SHA256 key verification codes) - Verifiable transcript archive (CBOR + ChaCha20-Poly1305 + hash chain) - Delivery proof verification utility - Criterion benchmarks (hybrid KEM, MLS, identity, sealed sender, padding) Client: - /verify REPL command for out-of-band key verification - Full-screen TUI via Ratatui (feature-gated --features tui) - qpq export / qpq export-verify CLI subcommands - KT inclusion proof verification on user resolution Also: ROADMAP Phase 9 added, bot SDK docs, server hooks docs, crate-responsibilities updated, example plugins (rate_limit, logging).
66 lines
1.8 KiB
TOML
66 lines
1.8 KiB
TOML
[package]
|
|
name = "quicproquo-core"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Crypto primitives, MLS state machine, and hybrid post-quantum KEM for quicproquo."
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
# Crypto — classical
|
|
x25519-dalek = { workspace = true }
|
|
ed25519-dalek = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
hmac = { workspace = true }
|
|
hkdf = { workspace = true }
|
|
ciborium = { workspace = true }
|
|
chacha20poly1305 = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
rand = { workspace = true }
|
|
|
|
# Crypto — post-quantum hybrid KEM (M7)
|
|
ml-kem = { workspace = true }
|
|
|
|
# Crypto — OPAQUE password-authenticated key exchange
|
|
opaque-ke = { workspace = true }
|
|
argon2 = { workspace = true }
|
|
|
|
# Crypto — MLS (M2)
|
|
openmls = { workspace = true }
|
|
openmls_rust_crypto = { workspace = true }
|
|
openmls_traits = { workspace = true }
|
|
tls_codec = { workspace = true }
|
|
serde = { workspace = true }
|
|
bincode = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
# Serialisation
|
|
capnp = { workspace = true }
|
|
quicproquo-proto = { path = "../quicproquo-proto" }
|
|
|
|
# Async runtime
|
|
tokio = { workspace = true }
|
|
|
|
# Error handling
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true }
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
prost = "0.13"
|
|
|
|
[[bench]]
|
|
name = "serialization"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "mls_operations"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "hybrid_kem_bench"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "crypto_benchmarks"
|
|
harness = false
|