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
12000232a7
bunker: remove duplicated "--sec" flags that were interfering with everything.
2026-06-20 20:24:18 -03:00
fiatjaf
cc879b6bf6
serve: --auth and --eager-auth flags.
2026-06-20 20:23:39 -03:00
fiatjaf
483bf94ff4
support --jq flag on fetch and event commands.
2026-06-17 11:39:30 -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
7bbff0a3ad
fix blossom ipv6 dialing.
...
fixes https://github.com/fiatjaf/nak/issues/142
v0.19.13
2026-06-15 08:31:32 -03:00
fiatjaf
c97e1815b4
nsite: --title
2026-06-15 08:30:22 -03:00
fiatjaf
29113783b3
nip: use the full terminal width.
2026-06-13 09:39:02 -03:00
fiatjaf
59c691f4d5
bring back color.
2026-06-11 18:10:33 -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
fiatjaf
97950d1203
nsite: fine-grained relay control.
2026-06-11 14:16:18 -03:00
fiatjaf
0960ceb6a6
nsite: --tag
2026-06-11 13:59:34 -03:00
fiatjaf
6a95407939
fix getKindSlice() usage. keep nil when no kinds are specified.
v0.19.12
2026-06-08 21:41:14 -03:00
fiatjaf
ac988a792d
nsite: log identifiers instead of printing.
2026-06-08 21:14:26 -03:00
fiatjaf
fa41c22c12
nak profile example on README.
2026-06-04 16:13:13 -03:00
fiatjaf
c2902bfb5d
nak kind, and accept names on --kind flags.
2026-06-04 16:13:13 -03:00
fiatjaf
0f7268c071
preliminary (half-broken) podcast support.
2026-06-04 16:12:48 -03:00
Yasuhiro Matsumoto and fiatjaf
f7a00cec10
group chat: handle events synchronously in select, drop goroutine and mutex
2026-06-04 15:05:59 -03:00
52cf03d423
gift unwrap: override rumor pubkey from seal and recompute ID
...
NIP-17 requires clients verify that the kind:14 pubkey matches
the kind:13 pubkey to prevent sender impersonation. The CLI
gift unwrap path outputs the rumor as-is without setting the
pubkey from the verified seal or recomputing the event ID.
This mirrors nip59.GiftUnwrap() which does both operations.
The override is placed after the ZeroID sentinel check to
preserve decryption failure detection.
Fixes https://github.com/fiatjaf/nak/issues/110
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-06-04 09:16:03 -03:00
d0c291b25c
gift unwrap: verify seal signature before trusting pubkey
...
The CLI gift unwrap path skips seal signature verification that
nip59.GiftUnwrap() performs. Without this check, a forged seal
with an arbitrary pubkey would be trusted for decryption key
lookup and sender identity.
Fixes https://github.com/fiatjaf/nak/issues/110
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-06-04 09:16:03 -03:00
mattn and GitHub
6ee60cb197
Merge pull request #139 from mattn/fix/count-auth-handler-consistency
...
count: use Pool.AuthRequiredHandler to match other commands
2026-06-04 01:56:59 +00:00
mattn and GitHub
c2eb2d7bdd
Merge pull request #138 from mattn/fix/req-sync-save-error
...
req: propagate non-duplicate save errors when loading sync file
2026-06-04 01:56:34 +00:00
Yasuhiro Matsumoto
168a182d50
count: use Pool.AuthRequiredHandler to match other commands.
2026-06-04 10:55:14 +09:00
Yasuhiro Matsumoto
f202f038a4
req: propagate non-duplicate save errors when loading sync file.
2026-06-04 10:52:46 +09:00
mattn and GitHub
1043b2a7af
Merge pull request #137 from mattn/fix/req-tag-decode-dead-code
...
req: actually decode bech32 values for single-letter --tag flags
2026-06-04 01:51:56 +00:00
Yasuhiro Matsumoto
9c3b4b69b6
req: actually decode bech32 values for single-letter --tag flags.
2026-06-04 10:50:53 +09:00
mattn and GitHub
1c542deb5e
Merge pull request #136 from mattn/fix/group-chat-race
...
group: fix data race and out-of-bounds panic in chat command
2026-06-04 01:50:08 +00:00
Yasuhiro Matsumoto
cefc0b91d0
group: fix data race and out-of-bounds panic in chat command.
2026-06-04 09:49:48 +09:00
mattn and GitHub
8c97c7becb
Merge pull request #135 from mattn/refactor/lmdb-early-return
...
lmdb: invert configPath check to flatten setupLocalDatabases
2026-06-04 00:49:14 +00:00
mattn and GitHub
ada938c3a8
Merge pull request #134 from mattn/refactor/blossom-mirror-early-return
...
blossom: drop unnecessary else after early return in mirror command
2026-06-04 00:48:35 +00:00
mattn and GitHub
c2d74b846e
Merge pull request #133 from mattn/refactor/git-init-flatten-nesting
...
git: flatten nested ifs in ngit remote migration with guard clauses
2026-06-04 00:48:07 +00:00
Yasuhiro Matsumoto
06bd1ddb11
lmdb: invert configPath check to flatten setupLocalDatabases.
2026-06-04 09:48:03 +09:00
Yasuhiro Matsumoto
ebd93964de
blossom: drop unnecessary else after early return in mirror command.
2026-06-04 09:21:52 +09:00
Yasuhiro Matsumoto
a285ac6723
git: flatten nested ifs in ngit remote migration with guard clauses.
2026-06-04 09:20:14 +09:00
fiatjaf
e2f791ab85
fetch: support --auth.
v0.19.11
2026-06-02 21:35:58 -03:00
mattn and GitHub
ed5af14305
Merge pull request #130 from fiatjaf/go-tty-v2
...
go-tty: bump to v2.
2026-05-29 15:30:27 +00:00
Yasuhiro Matsumoto
e5f4b07c3d
go-tty: bump to v2.
2026-05-30 00:29:51 +09:00
fiatjaf
b41260f663
--outbox help text better.
2026-05-26 19:51:18 -03:00
fiatjaf
c9e1511865
bunker: fix relay handling, don't mix custom with main relay URLs.
2026-05-21 20:25:07 -03:00
fiatjaf
5af1d111ba
key-combine: support parsing npubs and nprofiles.
2026-05-20 16:14:11 -03:00
fiatjaf
2922a0de25
git: support nostr://... URLs without requiring the <relay> component.
v0.19.10
2026-05-17 17:10:29 -03:00
fiatjaf
35d628ef6d
bunker: fix concurrent map writes (url.Values is a map).
2026-05-16 23:16:30 -03:00
fiatjaf
a2f109c8c8
encode: support reading pointer data as json from stdin also in specific subcommands.
2026-05-16 19:32:15 -03:00
fiatjaf
d9cc9f1d80
encode: fix reading pointer objects as json from stdin.
2026-05-16 14:43:38 -03:00
fiatjaf
d97937eaa4
encode: correctly fail on unsupported modes.
2026-05-16 14:19:42 -03:00
fiatjaf
bdd3aa1093
bunker: fix waiting for slow relays?
2026-05-15 17:27:18 -03:00
fiatjaf
02c12cb671
decode: fix missing identifiers in printed json.
v0.19.9
2026-05-08 12:53:42 -03:00
fiatjaf
c04add227d
fix serve never starting.
2026-05-05 11:54:09 -03:00