From f40f2862379ad3c20183401c35bc9666ce5e29d9 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 3 Nov 2025 19:47:56 +0000 Subject: fix: show nsec when created and can't save globally otherwise we prompt the user to manually add it to global git config but they don't know the value. we did it like this to not expose the nsec but i in this case we should. --- src/lib/login/fresh.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/login/fresh.rs b/src/lib/login/fresh.rs index 44ee66a..e01d4c3 100644 --- a/src/lib/login/fresh.rs +++ b/src/lib/login/fresh.rs @@ -516,11 +516,7 @@ async fn save_to_git_config( password: _, npub: _, } => { - if nsec.contains("ncryptsec") { - eprintln!("consider manually setting git config nostr.nsec to: {nsec}"); - } else { - eprintln!("consider manually setting git config nostr.nsec"); - } + eprintln!("consider manually setting git config nostr.nsec to: {nsec}"); } SignerInfo::Bunker { bunker_uri, -- cgit v1.2.3