Compare commits

...

1 Commits

Author SHA1 Message Date
fiatjaf
cc526acb10 bunker: fix overwriting all keys always with default. 2025-07-01 15:52:44 -03:00

View File

@@ -166,7 +166,7 @@ var bunker = &cli.Command{
} }
// if we got here without any keys set (no flags, first time using a profile), use the default // if we got here without any keys set (no flags, first time using a profile), use the default
{ if config.Secret.Plain == nil && config.Secret.Encrypted == nil {
sec := os.Getenv("NOSTR_SECRET_KEY") sec := os.Getenv("NOSTR_SECRET_KEY")
if sec == "" { if sec == "" {
sec = defaultKey sec = defaultKey