From 3750666d3c2632cbbac324db6ad1bb8e455bfd74 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Thu, 24 Sep 2026 07:36:53 -0400 Subject: [PATCH] v0.0.25 - Renamed project self-identity from n_signer to signer (get_info RPC name, Cargo.toml description, lib.rs docs) --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- src/dispatcher.rs | 4 ++-- src/lib.rs | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fe64571..69957ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2207,7 +2207,7 @@ dependencies = [ [[package]] name = "signer" -version = "0.0.23" +version = "0.0.24" dependencies = [ "base64", "chacha20poly1305", diff --git a/Cargo.toml b/Cargo.toml index 43cc92d..ca6a8e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "signer" -version = "0.0.24" +version = "0.0.25" edition = "2021" license = "MIT" -description = "Attended Nostr signing daemon — Rust port of n_signer" +description = "Attended Nostr signing daemon — Rust port of the C signer" [[bin]] name = "signer" diff --git a/src/dispatcher.rs b/src/dispatcher.rs index df55163..af8db73 100644 --- a/src/dispatcher.rs +++ b/src/dispatcher.rs @@ -594,7 +594,7 @@ fn handle_otp_verb(id: &str, method: &str, _params: &[Value]) -> String { fn handle_get_info(id: &str) -> String { let info = json!({ - "name": "n_signer", + "name": "signer", "implementation": "host", "version": crate::VERSION, "api": "json-rpc-2.0", @@ -756,7 +756,7 @@ mod tests { let req = r#"{"id":"1","method":"get_info","params":[]}"#; let resp = handle_request(&mut ctx, req); assert!(resp.contains("\"result\"")); - assert!(resp.contains("n_signer")); + assert!(resp.contains("signer")); assert!(resp.contains("json-rpc-2.0")); } diff --git a/src/lib.rs b/src/lib.rs index cbd8d04..e24e94f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ //! # signer — Attended Nostr signing daemon //! -//! Rust port of the C-based `n_signer`. Holds signing key material in +//! Rust port of the C-based `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). //! @@ -31,4 +31,4 @@ pub mod error; pub use error::SignerError; /// Version string (matches C NSIGNER_VERSION). -pub const VERSION: &str = "v0.0.24"; +pub const VERSION: &str = "v0.0.25";