Skip to content

CLI: invite mints record info.self while NIP-11 publishes the derived key #1218

Open

Description

@chappie-daemon

crates/nostream-cli/src/commands/invite.rs:152 records info.self as an invite's created_by, while the NIP-11 document's self is the relay's derived signing pubkey read from the daemon's status document (crates/nostream-relay/src/nip11.rs). With info.self set to something else, two surfaces answer "who is the relay" differently.

Ask: one resolution for both — either the invite records the key the relay signs with, or the reason the two differ is written where an operator meets it. The divergence predates the MCP slice (the CLI was ported verbatim) and is not a defect in either surface taken alone.

Activity

  1. added
    rewrite
    rust
    factory
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    factoryrewriterust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions