Commit Graph

  • c90e61dbec set .DisableSliceFlagSeparator to true. v0.6.0 fiatjaf 2024-08-07 11:46:07 -03:00
  • d226cd6ce4 fix password input lowercasing characters. fiatjaf 2024-08-06 11:05:07 -03:00
  • 3d78e91f62 bunker: deny getPublicKey() even though it's harmless. fiatjaf 2024-08-06 10:56:06 -03:00
  • 84965f2253 don't set limit to zero on --stream fiatjaf 2024-08-03 10:52:46 -03:00
  • 928c73513c just move imports around. fiatjaf 2024-07-30 11:43:14 -03:00
  • a36142604d compile to riscv64. fiatjaf 2024-07-27 10:32:32 -03:00
  • 220fe84f1b hardcode our fork of urfave/cli because go is stupid. v0.5.0 fiatjaf 2024-07-23 15:23:07 -03:00
  • 48c0e342e3 only look for private key in environment variable if --sec is not given. fiatjaf 2024-07-23 15:21:14 -03:00
  • ec2e214c02 Allow setting private key via ENV variable jeremyd 2024-06-27 00:22:01 -07:00
  • 9f62d4679f increase stdin line limit. fiatjaf 2024-07-17 13:16:40 -03:00
  • 809865ca0c relay management: adhere to NIP-98 stupidity. fiatjaf 2024-07-16 13:26:54 -03:00
  • 813ab3b6ac test flags after args. fiatjaf 2024-07-14 20:34:44 -03:00
  • 09ed2a040a make tests work again. fiatjaf 2024-07-14 16:18:34 -03:00
  • 7846960c4e use latest fixed version of urfave/cli fork with reorder flags fixed. fiatjaf 2024-07-14 12:46:11 -03:00
  • ce6bb0aa22 natural time examples. fiatjaf 2024-07-13 13:17:20 -03:00
  • 49ce12ffc2 use natural date parser thing for req "since", "until" and event "ts". fiatjaf 2024-07-13 13:06:24 -03:00
  • a5013c513d disallow negative kinds and limits. fiatjaf 2024-07-13 11:16:28 -03:00
  • 8f51fe757b remove nson. fiatjaf 2024-07-13 10:48:50 -03:00
  • 30ca5776c5 global -q is persistent. fiatjaf 2024-07-13 09:42:43 -03:00
  • e18e8c00e7 add 9 new examples to readme. v0.4.2 fiatjaf 2024-07-12 19:15:33 -03:00
  • bca4362ca5 fix inconsistency in nak key decrypt output: print hex always. fiatjaf 2024-07-12 19:15:13 -03:00
  • 54c4be10bd fix and improve flag reordering for subcommands. v0.4.1 fiatjaf 2024-07-12 18:51:07 -03:00
  • 27f925c05e left pad keys on nak key too so nak key public 02 works, for example. v0.4.0 fiatjaf 2024-07-12 14:04:14 -03:00
  • 79cb63a1b4 add all other relay management rpc methods. fiatjaf 2024-07-12 13:57:58 -03:00
  • 5ee0036128 implement nip86 client: making management RPC calls to relays. fiatjaf 2024-07-11 15:34:15 -03:00
  • 316d94166e fix lineProcessingError() -- it wasn't returning a ctx so it was a noop. fiatjaf 2024-07-11 15:33:19 -03:00
  • 2ca6bb0940 update tests so they can run again (but they're not working). fiatjaf 2024-07-10 14:48:18 -03:00
  • ac00c5065f nak req: --force-pre-auth flag. fiatjaf 2024-07-10 14:48:02 -03:00
  • 441ee9a5ed update go-nostr so just "localhost[:port]" works as a relay url. v0.3.0 fiatjaf 2024-07-05 00:11:59 -03:00
  • 9a41450209 use modified cli library that accepts flags after arguments. fiatjaf 2024-06-25 23:23:51 -03:00
  • dba2ed0b5f update to cli v3. fiatjaf 2024-06-25 22:18:26 -03:00
  • 2079ddf818 support prompting for a password on nak decrypt. fiatjaf 2024-06-25 13:46:15 -03:00
  • 2135b68106 more aliases in nak encode flags. fiatjaf 2024-06-13 12:05:27 -03:00
  • 9f98a0aea3 fix nak key encrypt reading from stdin. fiatjaf 2024-06-12 08:54:00 -03:00
  • 1ba39ca7d7 print bunker restart command without schemes in relay urls when possible. fiatjaf 2024-06-07 06:30:55 -03:00
  • 262c0c892a fix simple test event ordering. fiatjaf 2024-06-06 15:43:42 -03:00
  • 363bd66a8a accept relay URLs without scheme everywhere. fiatjaf 2024-06-06 15:38:40 -03:00
  • eccce6dc4a nak key combine now returns all possible combinations. v0.2.2 fiatjaf 2024-05-16 19:45:30 -03:00
  • 31f007ffc2 fix: musig2 event to cli args was generating multivalue tags wrongly. v0.2.1 fiatjaf 2024-05-15 18:49:03 -03:00
  • bb45059218 refactor bunker to work better. remove prompts, use lists of keys and secrets and a new random key. fiatjaf 2024-05-15 17:31:01 -03:00
  • 71dfe583ed rename flags from --musig2-... to --musig-..., add id to event and other small tweaks. v0.2.0 fiatjaf 2024-05-14 23:52:56 -03:00
  • 84bde7dacd musig2 works now. fiatjaf 2024-05-14 23:41:12 -03:00
  • 81968f6c0c nak key combine and nak event --musig2 fiatjaf 2024-05-14 15:23:08 -03:00
  • f198a46c19 remove wss:// from relay urls in readme. fiatjaf 2024-04-29 08:36:59 -03:00
  • c3ea9c15f6 LimitZero when -l 0 and when --stream fiatjaf 2024-03-29 08:16:15 -03:00
  • 8ddb9ce021 fix color output on Windows Yasuhiro Matsumoto 2024-03-29 00:19:20 +09:00
  • 569d38a137 accept multiple arguments in many commands, add a lot of more tests. fiatjaf 2024-03-19 11:34:59 -03:00
  • 34c189af28 bunker improvements. fiatjaf 2024-03-02 08:18:40 -03:00
  • ffe2db7f96 event: accept tags with a single item. fiatjaf 2024-02-21 09:47:34 -03:00
  • c5f7926471 bunker: repeat connection info every now and then. v0.1.13 fiatjaf 2024-02-17 17:56:57 -03:00
  • e008e08105 bunker: send responses to relays concurrently. fiatjaf 2024-02-16 11:08:48 -03:00
  • 5dd5a7c699 bunker: better colors and prompts. v0.1.12 fiatjaf 2024-02-12 15:39:13 -03:00
  • 347a82eaa9 verify: accept event to be verified as json argument. fiatjaf 2024-02-12 15:38:43 -03:00
  • e89823b10e ensure at least one blank line will be emitted when piped. fiatjaf 2024-02-06 12:47:58 -03:00
  • 6626001dd2 --connect-as to specify client pubkey when using --connect to bunker fiatjaf 2024-02-06 12:47:46 -03:00
  • b7a7e0504f --connect to use nip46 as a client to sign event and auth messages. v0.1.11 fiatjaf 2024-02-06 00:58:26 -03:00
  • 01e1f52a70 fix panic (#12) mattn 2024-02-03 22:03:32 +09:00
  • 0b9e861f90 fix: print prompt to stderr. v0.1.10 fiatjaf 2024-02-02 14:13:11 -03:00
  • bda18e035a fix reading hex secret key from input. fiatjaf 2024-02-02 14:11:58 -03:00
  • 0d46d48881 fix naddr. fiatjaf 2024-01-29 15:37:21 -03:00
  • 6f24112b5e support ncryptsec in all operations that require a private key and have a nice password prompt. fiatjaf 2024-01-29 09:47:26 -03:00
  • f4921f1fe9 nak key: generate, public, encrypt, decrypt. v0.1.9 fiatjaf 2024-01-25 08:19:55 -03:00
  • 3dfcec69b7 --nevent flag on nak event to print an nevent at the end. v0.1.8 fiatjaf 2024-01-24 22:43:23 -03:00
  • 14b69f36cf -q to silence stderr, -qq to silence everything. fiatjaf 2024-01-24 22:38:51 -03:00
  • 3f7089e27e signal that we accept patches over NIP-34. fiatjaf 2024-01-23 10:20:44 -03:00
  • 6a75c8aec3 UseShortOptionHandling and Suggest fiatjaf 2024-01-21 18:11:52 -03:00
  • b17887fe21 replace validate32BytesHex() with native calls from go-nostr. fiatjaf 2024-01-21 07:45:22 -03:00
  • 77103cae0c req: -d flag too. fiatjaf 2024-01-17 08:50:59 -03:00
  • 59a2c16b42 event: -d shortcut flag and use .AppendUnique() fiatjaf 2024-01-17 08:47:51 -03:00
  • 48d19196bb fix publishing to multiple relays. v0.1.7 fiatjaf 2024-01-16 09:16:56 -03:00
  • ad7010e506 use scanner.Buffer() to make stdin able to parse hellish giant events up to 256kb (the default was 64kb). fiatjaf 2024-01-11 21:48:54 -03:00
  • 584881266e bunker: update to go-nostr nip46 api breaking change. fiatjaf 2024-01-11 21:41:50 -03:00
  • a30f422d7d close relay websockets cleanly. fiatjaf 2024-01-11 21:29:39 -03:00
  • 637b9440ef upgrade go-nostr and xsync. fiatjaf 2024-01-10 21:19:19 -03:00
  • 16c1e795bd fetch: more places to fetch relay lists from. v0.1.6 fiatjaf 2024-01-02 11:05:43 -03:00
  • 8373da647e Fix tags with values containing = OHASHI Hideya 2023-12-24 14:46:35 +09:00
  • f295f130f2 remove .scalafmt.conf fiatjaf 2023-12-23 21:30:49 -03:00
  • 5415fd369c update go-nostr to fix pool infinite loop. v0.1.5 fiatjaf 2023-12-15 11:15:12 -03:00
  • f35cb4bd1d Fix tags with values containing = v0.1.4 Daniel Cadenas 2023-12-13 19:31:52 -03:00
  • 242b028656 -until now v0.1.3 Yasuhiro Matsumoto 2023-12-12 21:34:50 +09:00
  • f0d90b567c -since now Yasuhiro Matsumoto 2023-12-12 21:30:04 +09:00
  • 2d1e27f766 fix for nil error case on publish. v0.1.2 fiatjaf 2023-12-10 20:49:08 -03:00
  • bfa72640cd bunker: a better prompt. v0.1.1 fiatjaf 2023-12-09 17:42:01 -03:00
  • e5b0b15908 bunker: improve error message. fiatjaf 2023-12-09 17:11:55 -03:00
  • 0860cfcf6d rename nsecbunker->bunker. fiatjaf 2023-12-09 16:37:47 -03:00
  • b7b61c0723 support --auth/--sec/--prompt-sec on req. v0.1.0 fiatjaf 2023-12-09 16:32:04 -03:00
  • ed3156ae10 fix event publishing flow: no need to reconnect and AUTH messages make sense. fiatjaf 2023-12-09 09:14:45 -03:00
  • 30dbe2c1c0 fix handling multiple lines in event (broken in previous commit). fiatjaf 2023-12-07 18:14:26 -03:00
  • 4d75605c20 print event more consistently and auth when required and allowed. fiatjaf 2023-12-07 18:12:12 -03:00
  • 26b1aa359a nsecbunker/nip46 is working now. fiatjaf 2023-12-02 15:32:40 -03:00
  • bc7cd0939c nsecbunker work-in-progress. fiatjaf 2023-12-02 12:18:55 -03:00
  • 5657fdc6a7 update go-nostr. fiatjaf 2023-12-01 13:22:04 -03:00
  • d9d36e7619 use easyjson and envelopes. fiatjaf 2023-11-28 15:18:43 -03:00
  • f2f9dda33a actually this is the fix. v0.0.18 fiatjaf 2023-11-24 21:19:10 -03:00
  • 53cb2c0490 event: fix handling of -k and kind in stdin event, and default to 1. v0.0.17 fiatjaf 2023-11-24 21:08:13 -03:00
  • 4a3c7dc825 remove extra whitespace on usage strings. v0.0.16 fiatjaf 2023-11-20 15:01:51 -03:00
  • 05f2275c9e nak relay fiatjaf 2023-11-20 15:00:50 -03:00
  • 082be94614 update go-nostr. fiatjaf 2023-11-19 07:20:52 -03:00
  • 15217f2466 fetch: fix handling of --relay tags. fiatjaf 2023-11-15 09:48:57 -03:00
  • 8fbfdc65c8 add --silent global option to remove the stderr logs. fiatjaf 2023-11-13 15:03:27 -03:00