27 Commits
Author SHA1 Message Date
fiatjaf 40a934e3f9 fix conflicts with running bunker connections (client and server apparently) through auth-required relays, clarify "connect-as" and use a special flag for it, let's see.
hopefully fixes https://github.com/fiatjaf/nak/issues/116
2026-06-20 20:30:45 -03:00
fiatjaf 814059fcec also use the default key as the bunker client key if nothing else is provided. 2026-06-17 11:11:57 -03:00
fiatjaf b3e009730c use a default key that is different for each machine. 2026-06-17 10:59:22 -03:00
fiatjaf 0c8e643609 key and auth flags on root command. 2026-06-11 17:49:20 -03:00
fiatjaf 7872c61a4d combineFlags() and authFlags compendium. 2026-06-11 16:23:20 -03:00
Yasuhiro Matsumoto e5f4b07c3d go-tty: bump to v2. 2026-05-30 00:29:51 +09:00
fiatjaf 26fc7c338a git: nip34.json into repository object helpers. 2025-11-23 21:32:33 -03:00
fiatjaf 0aef173e8b nak bunker --persist/--profile 2025-07-01 11:40:34 -03:00
fiatjaf 55c9d4ee45 remove the bunker context timeout because it causes the entire bunker to disconnect. 2025-06-27 16:28:21 -03:00
fiatjaf 550c89d8d7 slightly improve some error messages. 2025-06-27 13:50:28 -03:00
Anthony Acciolyandfiatjaf bd5569955c fix(helpers): add timeout and verbose logging for bunker connection
- Add a 10-second timeout to the bunker connection process using context
- Include detailed verbose logging for debugging.
2025-06-20 21:02:57 -03:00
fiatjaf 0073c9bdf1 compile tests again. 2025-05-23 07:52:19 -03:00
fiatjaf aa89093d57 accept bunker URIs in $NOSTR_SECRET_KEY, simplify.
fixes https://github.com/fiatjaf/nak/issues/66
2025-05-20 23:32:04 -03:00
fiatjaf 150625ee74 remove debug.PrintStack() 2025-05-12 09:20:27 -03:00
fiatjaf aadcc73906 adapt to since and until not being pointers. 2025-05-08 09:59:03 -03:00
Alex Gleasonandfiatjaf f98bd7483f allow --prompt-sec to be used with pipes 2025-05-03 11:58:17 -03:00
fiatjaf 024111a8be fix bunker client key variable. 2025-04-24 13:22:44 -03:00
fiatjaf 5d44600f17 test and fixes. 2025-04-21 18:09:27 -03:00
fiatjaf d733a31898 convert to using nostrlib. 2025-04-20 18:11:21 -03:00
fiatjaf 26930d40bc migrate to urfave/cli/v3 again now that they have flags after arguments. 2025-02-16 13:02:04 -03:00
fiatjaf 6e43a6b733 reword NIP-XX to nipXX everywhere. 2025-01-29 19:13:30 -03:00
mlekuandfiatjaf_ aa53f2cd60 show env var in help, reset terminal mode correctly 2025-01-21 16:14:59 -03:00
fiatjaf 9a9e96a829 support $NOSTR_CLIENT_KEY environment variable for --connect-as 2024-11-11 22:33:17 -03:00
fiatjaf 847f8aaa69 remove duplicated password decryption prompts by returning the bare key together with the Keyer when it is given. 2024-10-29 21:11:15 -03:00
fiatjaf d7c0ff2bb7 update go-nostr keyer interface and make req --auth work again. 2024-09-22 19:21:41 -03:00
fiatjaf 43fe41df5d use log() function instead of fmt.Fprintf(os.Stderr) in some places. 2024-09-22 19:04:21 -03:00
fiatjaf dae7eba8ca use keyer.Keyer in most places instead of raw bunkers and plaintext keys, simplifies the code a little at the cost of some abstraction but I think it's strictly good this time. 2024-09-17 11:33:02 -03:00