Update doc
This commit is contained in:
1 file changed
+2
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user