nfunc

v0.2.0

Watches the suite’s signer, and is where you say yes or no when an app asks for something unusual. It never holds the signing key.

In development, and not released yet: there are no downloads, and the source is not public yet.

What it is

The monitor for nsign, the suite’s remote signer. When an app asks the signer for something outside what you allowed it, the signer asks nbridge, and nbridge asks you. It has a key of its own, kept in your keyring — never the signer’s.

Two native apps

Linux
GTK4 and Rust, on rust-nostr.
macOS
SwiftUI — a native sibling, not a port.

What it does

Notes
A feed of notes from your relays.
Signer kind:24133
A live, read-only view of a signer’s traffic: paste its bunker:// string and watch requests and replies pass. The contents are encrypted; you see who asked, and when.
Approvals kind:4133
Where the signer asks you to approve or deny a request — what the app is, what it wants signed — over a channel of its own on its own relays. No answer in time counts as no.

Tested end to end: a web page asked to sign a reaction, the signer asked nbridge, and approving it, denying it and letting it time out each did what they should.

How Nostr does it

The signer’s traffic is ordinary NIP-46. The approval channel is the suite’s own convention, not a Nostr standard: an encrypted event of kind 4133 between the signer’s key and the monitor’s, described in ndisc’s SUITE.md.

Event kinds

  • kind:24133 a remote-signing request or reply (NIP-46)
  • kind:4133 an approval request or answer — the suite’s own convention

NIPs in play

  • NIP-46 the signer’s traffic it watches
  • NIP-44 the encryption of approval requests and answers