docs(readme): update caution note with encryption guidance

- Revise the caution note to include instructions for encrypting private keys using NIP-49.
This commit is contained in:
Anthony Accioly 2025-07-04 10:32:49 +01:00
parent 785dcd1693
commit 64e203ab09
No known key found for this signature in database
GPG Key ID: 1BADB4682C8DDB3C
1 changed files with 4 additions and 1 deletions

View File

@ -186,8 +186,11 @@ You can also display a QR code for the bunker URI by adding the `--qrcode` flag:
```
> [!CAUTION]
> When you start a bunker with `--persist`, it will store credentials in plain text at `~/.config/nak/bunker`.
> When you start a bunker with `--persist` or `--profile`, it will store `--sec` credentials and authorized keys in
> `~/.config/nak/bunker`. If you don't want your private key to be stored in plain text, you can
> [encrypt it with NIP-49](#encrypt-key-with-nip-49) it beforehand.
```shell
then later just
```shell