fiatjaf
c90e61dbec
set .DisableSliceFlagSeparator to true.
...
fixes nostr:nevent1qqs9qwgwnr2rzguzrgt99hhhyv8e84mcdr4mnk86uvm6ndjvzl4rjxqpzpmhxue69uhkztnwdaejumr0dshsz9mhwden5te0vf5hgcm0d9hx2u3wwdhkx6tpdshszxnhwden5te0vfhhxarj9ekx2cm5w4exjene9ehx2ap0j8u0fj
2024-08-07 11:46:08 -03:00
fiatjaf
d226cd6ce4
fix password input lowercasing characters.
...
fixes https://github.com/fiatjaf/nak/issues/28
2024-08-06 11:05:08 -03:00
fiatjaf
3d78e91f62
bunker: deny getPublicKey() even though it's harmless.
...
fixes https://github.com/fiatjaf/nak/issues/27
2024-08-06 10:56:08 -03:00
fiatjaf
84965f2253
don't set limit to zero on --stream
2024-08-03 10:52:46 -03:00
fiatjaf
928c73513c
just move imports around.
2024-07-30 11:43:14 -03:00
fiatjaf
a36142604d
compile to riscv64.
2024-07-27 10:32:32 -03:00
fiatjaf
220fe84f1b
hardcode our fork of urfave/cli because go is stupid.
...
fixes https://github.com/fiatjaf/nak/issues/26
2024-07-23 15:23:13 -03:00
fiatjaf
48c0e342e3
only look for private key in environment variable if --sec is not given.
2024-07-23 15:21:14 -03:00
jeremyd
ec2e214c02
Allow setting private key via ENV variable
2024-07-23 15:18:09 -03:00
fiatjaf
9f62d4679f
increase stdin line limit.
2024-07-17 13:16:40 -03:00
fiatjaf
809865ca0c
relay management: adhere to NIP-98 stupidity.
2024-07-16 13:26:54 -03:00
fiatjaf
813ab3b6ac
test flags after args.
2024-07-14 20:34:44 -03:00
fiatjaf
09ed2a040a
make tests work again.
2024-07-14 16:18:34 -03:00
fiatjaf
7846960c4e
use latest fixed version of urfave/cli fork with reorder flags fixed.
2024-07-14 12:46:13 -03:00
fiatjaf
ce6bb0aa22
natural time examples.
2024-07-13 13:17:20 -03:00
fiatjaf
49ce12ffc2
use natural date parser thing for req "since", "until" and event "ts".
2024-07-13 13:07:49 -03:00
fiatjaf
a5013c513d
disallow negative kinds and limits.
2024-07-13 13:07:49 -03:00
fiatjaf
8f51fe757b
remove nson.
...
it's not being used by anyone and didn't gain enough traction, and also
now I think I have a more efficient way of encoding this, so using that
new scheme in the future will be better than this.
2024-07-13 13:06:51 -03:00
fiatjaf
30ca5776c5
global -q is persistent.
2024-07-13 09:42:43 -03:00
fiatjaf
e18e8c00e7
add 9 new examples to readme.
2024-07-12 19:17:22 -03:00
fiatjaf
bca4362ca5
fix inconsistency in nak key decrypt output: print hex always.
2024-07-12 19:15:13 -03:00
fiatjaf
54c4be10bd
fix and improve flag reordering for subcommands.
2024-07-12 18:51:07 -03:00
fiatjaf
27f925c05e
left pad keys on nak key
too so nak key public 02
works, for example.
2024-07-12 14:04:14 -03:00
fiatjaf
79cb63a1b4
add all other relay management rpc methods.
2024-07-12 13:57:58 -03:00
fiatjaf
5ee0036128
implement nip86 client: making management RPC calls to relays.
2024-07-11 15:34:15 -03:00
fiatjaf
316d94166e
fix lineProcessingError() -- it wasn't returning a ctx so it was a noop.
2024-07-11 15:33:44 -03:00
fiatjaf
2ca6bb0940
update tests so they can run again (but they're not working).
2024-07-10 14:48:18 -03:00
fiatjaf
ac00c5065f
nak req: --force-pre-auth flag.
2024-07-10 14:48:02 -03:00
fiatjaf
441ee9a5ed
update go-nostr so just "localhost[:port]" works as a relay url.
2024-07-05 00:11:59 -03:00
fiatjaf
9a41450209
use modified cli library that accepts flags after arguments.
2024-06-25 23:23:51 -03:00
fiatjaf
dba2ed0b5f
update to cli v3.
2024-06-25 22:18:26 -03:00
fiatjaf
2079ddf818
support prompting for a password on nak decrypt.
2024-06-25 13:46:15 -03:00
fiatjaf
2135b68106
more aliases in nak encode flags.
2024-06-13 12:05:27 -03:00
fiatjaf
9f98a0aea3
fix nak key encrypt reading from stdin.
2024-06-12 08:54:00 -03:00
fiatjaf
1ba39ca7d7
print bunker restart command without schemes in relay urls when possible.
2024-06-07 06:30:58 -03:00
fiatjaf
262c0c892a
fix simple test event ordering.
2024-06-06 15:43:42 -03:00
fiatjaf
363bd66a8a
accept relay URLs without scheme everywhere.
2024-06-06 15:38:40 -03:00
fiatjaf
eccce6dc4a
nak key combine
now returns all possible combinations.
2024-05-16 19:50:52 -03:00
fiatjaf
31f007ffc2
fix: musig2 event to cli args was generating multivalue tags wrongly.
2024-05-15 18:49:22 -03:00
fiatjaf
bb45059218
refactor bunker to work better. remove prompts, use lists of keys and secrets and a new random key.
2024-05-15 17:31:01 -03:00
fiatjaf
71dfe583ed
rename flags from --musig2-... to --musig-..., add id to event and other small tweaks.
2024-05-14 23:52:56 -03:00
fiatjaf
84bde7dacd
musig2 works now.
2024-05-14 23:41:12 -03:00
fiatjaf
81968f6c0c
nak key combine
and nak event --musig2
2024-05-14 15:23:08 -03:00
fiatjaf
f198a46c19
remove wss:// from relay urls in readme.
2024-04-29 08:36:59 -03:00
fiatjaf
c3ea9c15f6
LimitZero when -l 0 and when --stream
2024-03-29 08:16:28 -03:00
Yasuhiro Matsumoto
8ddb9ce021
fix color output on Windows
2024-03-28 15:52:30 -03:00
fiatjaf
569d38a137
accept multiple arguments in many commands, add a lot of more tests.
2024-03-19 11:34:59 -03:00
fiatjaf
34c189af28
bunker improvements.
2024-03-02 08:18:40 -03:00
fiatjaf
ffe2db7f96
event: accept tags with a single item.
2024-02-21 09:47:34 -03:00
fiatjaf
c5f7926471
bunker: repeat connection info every now and then.
2024-02-17 17:56:57 -03:00