Skip to main content

Crate tessera

Crate tessera 

Source
Expand description

Tessera — zero-knowledge identity core (OPAQUE, RFC 9807).

This crate wraps the audited opaque-ke library behind a fixed cipher suite and a small set of stateless server-side helpers. The sidecar binary exposes those helpers over a Unix domain socket for the Go server SDK.

Re-exports§

pub use error::TesseraError;
pub use suite::ServerSetupBytes;
pub use suite::TesseraCipherSuite;
pub use suite::load_server_setup;
pub use suite::new_server_setup;
pub use suite::serialize_server_setup;

Modules§

blind_index
Deterministic, privacy-preserving account lookup key. CROSS-LANGUAGE PARITY CONTRACT with tessera-go/blindindex.go: identical normalization, Argon2id params, salt, and output length.
client
Client-side OPAQUE steps — the browser/WASM half, mirroring server.rs. First-class (not an example) so examples/client_helper.rs and the tessera-wasm bindings compile from ONE source, making browser↔sidecar parity hold by construction. The KSF parameters are pinned HERE and are a cross-language parity contract: they are baked into the registration envelope and MUST be reproduced byte-identically at every login.
error
protocol
server
Stateless server-side OPAQUE wrappers over opaque-ke.
suite
The Tessera OPAQUE cipher suite and server-setup helpers.