35 lines
919 B
Rust
35 lines
919 B
Rust
//! # signer — Attended Nostr signing daemon
|
|
//!
|
|
//! Rust port of the C-based `n_signer`. Holds signing key material in
|
|
//! locked memory and signs on request via a JSON-RPC 2.0 API over
|
|
//! multiple transports (Unix socket, TCP, HTTP, stdio, qrexec).
|
|
//!
|
|
//! This is a **program, not a daemon**: no background process, no
|
|
//! runtime config files, no persistence. Closing the terminal or
|
|
//! quitting the program ends the trust session and destroys state.
|
|
|
|
pub mod secure_mem;
|
|
pub mod mnemonic;
|
|
pub mod role_table;
|
|
pub mod selector;
|
|
pub mod enforcement;
|
|
pub mod key_store;
|
|
pub mod alg_cache;
|
|
pub mod pq_crypto;
|
|
pub mod pq_drbg;
|
|
pub mod dispatcher;
|
|
pub mod server;
|
|
pub mod transport;
|
|
pub mod http;
|
|
pub mod auth_envelope;
|
|
pub mod miner;
|
|
pub mod otp_pad;
|
|
pub mod socket_name;
|
|
pub mod tui;
|
|
pub mod error;
|
|
|
|
pub use error::SignerError;
|
|
|
|
/// Version string (matches C NSIGNER_VERSION).
|
|
pub const VERSION: &str = "v0.0.24";
|