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).
87 lines
2.5 KiB
TOML
87 lines
2.5 KiB
TOML
[package]
|
|
name = "quicproquo-client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "CLI client for quicproquo."
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "qpq"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
quicproquo-core = { path = "../quicproquo-core" }
|
|
quicproquo-proto = { path = "../quicproquo-proto" }
|
|
quicproquo-kt = { path = "../quicproquo-kt" }
|
|
openmls_rust_crypto = { workspace = true }
|
|
|
|
# Serialisation + RPC
|
|
capnp = { workspace = true }
|
|
capnp-rpc = { workspace = true }
|
|
|
|
# Async
|
|
tokio = { workspace = true }
|
|
tokio-util = { workspace = true }
|
|
futures = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
bincode = { workspace = true }
|
|
|
|
# Crypto — OPAQUE PAKE
|
|
opaque-ke = { workspace = true }
|
|
rand = { workspace = true }
|
|
|
|
# Error handling
|
|
anyhow = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
# Crypto — for fingerprint verification in fetch-key subcommand
|
|
sha2 = { workspace = true }
|
|
argon2 = { workspace = true }
|
|
chacha20poly1305 = { workspace = true }
|
|
ciborium = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
quinn = { workspace = true }
|
|
quinn-proto = { workspace = true }
|
|
rustls = { workspace = true }
|
|
|
|
# Logging
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
# CLI
|
|
clap = { workspace = true }
|
|
|
|
# Local message/conversation storage
|
|
rusqlite = { workspace = true }
|
|
|
|
# Hex encoding/decoding
|
|
hex = { workspace = true }
|
|
|
|
# Secure password prompting (no echo)
|
|
rpassword = "5"
|
|
|
|
# mDNS discovery for mesh mode (Freifunk). Only compiled with --features mesh.
|
|
mdns-sd = { version = "0.12", optional = true }
|
|
|
|
# Optional P2P transport for direct node-to-node messaging.
|
|
quicproquo-p2p = { path = "../quicproquo-p2p", optional = true }
|
|
|
|
# Optional TUI dependencies (Ratatui full-screen interface).
|
|
ratatui = { version = "0.29", optional = true, default-features = false, features = ["crossterm"] }
|
|
crossterm = { version = "0.28", optional = true }
|
|
|
|
[features]
|
|
# Enable mesh-mode features: mDNS local peer discovery + P2P transport.
|
|
# Build: cargo build -p quicproquo-client --features mesh
|
|
mesh = ["dep:mdns-sd", "dep:quicproquo-p2p"]
|
|
# Enable full-screen Ratatui TUI: cargo build -p quicproquo-client --features tui
|
|
tui = ["dep:ratatui", "dep:crossterm"]
|
|
|
|
[dev-dependencies]
|
|
dashmap = { workspace = true }
|
|
assert_cmd = "2"
|
|
tempfile = "3"
|
|
portpicker = "0.1"
|
|
rand = "0.8"
|