Update doc

This commit is contained in:
raucao committed 2026-11-08 22:29:18 +04:00
1 parent 2cb54813b9
commit ec3a9acbf2
1 file changed
+2 -4
+2 -4
View File
@@ -8,10 +8,8 @@ to disk. Every signing step uses `nak --prompt-sec`, so `nak` asks for the key i
terminal. When an event is piped through stdin, `nak` reads the key from `/dev/tty`, so
the event data and the prompt do not conflict.
Because the Kosmos relay is members-only, publishing uses NIP-42 auth. With the default
interactive mode, `nak` may ask twice per event: once to sign the event and once to
authenticate the relay connection. To avoid repeated prompts, you can export the key in
your own shell for the run; the scripts never read or store it:
To avoid repeated key prompts, you can export the key in your own shell for the
run; the scripts never read or store it:
```sh
export NOSTR_SECRET_KEY='nsec1...' # your shell only, never committed