mattn
c3f1ef7877
Merge pull request #126 from mattn/fix/blossom-hash-decode
...
blossom: fix wrong source length in hex decode of download hash
v0.19.8
2026-05-05 21:41:38 +09:00
mattn
d0e719fb93
Merge pull request #128 from mattn/fix/nsite-path-traversal
...
nsite: fix path traversal vulnerability in download command
2026-05-05 21:39:55 +09:00
Yasuhiro Matsumoto
187842214e
nsite: fix path traversal vulnerability in download command.
2026-05-05 21:36:46 +09:00
mattn
405be6efa9
Merge pull request #127 from mattn/fix/publish-reply-nil-panic
...
publish: avoid nil panic when --reply decodes to an unexpected type
2026-05-05 21:18:10 +09:00
Yasuhiro Matsumoto
47e462fe55
publish: avoid nil panic when --reply decodes to an unexpected type.
2026-05-05 21:15:00 +09:00
Yasuhiro Matsumoto
99ef7a8c91
blossom: fix wrong source length in hex decode of download hash.
2026-05-05 21:08:55 +09:00
fiatjaf
a152d7f633
verify: debug mode (-vv) prints useful info about event serialization.
2026-04-23 22:26:52 -03:00
fiatjaf
25d2045640
event: --no-verify flag.
2026-04-23 20:54:58 -03:00
fiatjaf
09b9939956
nsite command.
2026-04-23 20:50:03 -03:00
fiatjaf
2a8cd898c2
allow --auth on 'group'.
2026-04-19 20:37:41 -03:00
fiatjaf
eae828e03b
update to the fact that Pool doesn't use PoolOptions anymore, just modify the global pool directly.
v0.19.7
2026-04-19 20:17:00 -03:00
fiatjaf
9ae5798a24
print event in 'validate' and 'filter', apply jq on 'filter' and 'req' with gojq.
2026-04-19 19:28:34 -03:00
fiatjaf
5930437578
nak validate
v0.19.6
2026-04-18 19:15:51 -03:00
fiatjaf
2193491c3b
encode: support naddr for replaceable events and improve kind and d-tag validation..
...
fixes https://github.com/fiatjaf/nak/issues/122
honestly I don't know why you want to naddr-encode replaceable events, that sounds like an awful idea, but what can I do.
2026-04-18 15:07:27 -03:00
fiatjaf
d3f4548dbd
why were we recreating the pool?
2026-04-18 11:13:08 -03:00
fiatjaf
07b791e90a
adapt to some nostrlib changes.
2026-04-18 09:19:43 -03:00
fiatjaf
2c3d72b337
nak key validate.
2026-04-10 09:31:51 -03:00
Ren Amamiya
46c68462db
git.shakespeare.diy not git.shakespeare.dyi
2026-04-09 11:49:34 -03:00
fiatjaf
0834420d89
replace %w with %s in lineProcessingError().
2026-04-05 18:24:59 -03:00
fiatjaf
217352ed0b
blossom: take multiple --server flags.
2026-04-05 17:12:01 -03:00
fiatjaf
318838b3ff
key: a command for expanding partial keys by left-padding with zeroes.
v0.19.5
2026-04-03 01:36:08 -03:00
fiatjaf
b811396d8b
fetch: exit with error if event is not fetched.
2026-04-02 03:59:45 -03:00
fiatjaf
2bc1cf3417
performReq now uses "read" relays from p/P-tags when no authors are specified in outbox mode.
2026-04-02 03:46:54 -03:00
fiatjaf
65ddf7b821
use appendUnique from nostrlib.
2026-04-02 03:24:05 -03:00
fiatjaf
e19306b124
event: --outbox flag for publishing.
2026-04-02 03:14:19 -03:00
fiatjaf
e059fba487
event/req: accept -h tag and addresses in -a tag.
2026-03-30 12:20:52 -03:00
fiatjaf
00f44958de
git: take npub, nip05 or hex for user fields on "init".
2026-03-30 10:03:35 -03:00
fiatjaf
e37ea23a8d
groups: stop appending undefined tags to edit-metadata.
v0.19.4
2026-03-30 08:56:24 -03:00
fiatjaf
3c4cb533b4
groups: create-group.
2026-03-30 08:56:24 -03:00
fiatjaf
be26dfca3c
print "connecting to..." message without the leading scheme.
2026-03-30 08:56:24 -03:00
mattn
26518ec260
Merge pull request #119 from fiatjaf/fix/curl-args-oob
...
fix: prevent out-of-bounds panic in curl flag parsing
2026-03-30 15:09:52 +09:00
mattn
de599c64f6
Merge pull request #118 from fiatjaf/fix/event-split-safety
...
fix: use strings.Cut instead of strings.Split to avoid potential panic
2026-03-30 14:10:25 +09:00
Yasuhiro Matsumoto
3d650ee502
fix: use strings.Cut instead of strings.Split to avoid potential panic
...
strings.Split(url, "://")[1] panics if the URL has no "://" separator.
strings.Cut handles this safely by returning an empty string.
2026-03-30 13:43:29 +09:00
Yasuhiro Matsumoto
67920ccbdd
fix: prevent out-of-bounds panic in curl flag parsing
...
When a flag expecting a value (e.g. --sec) is the last argument,
the code incremented the index without checking if the next
argument exists, causing a potential panic on os.Args access.
2026-03-30 13:43:08 +09:00
fiatjaf
0dbe14aa93
git: 'download' command for downloading individual files.
v0.19.3
2026-03-26 17:46:47 -03:00
fiatjaf
ec1721cfe3
count: support CLOSED and AUTH.
...
fixes https://github.com/fiatjaf/nak/issues/117
2026-03-25 21:42:11 -03:00
fiatjaf
3b318fec54
event: must clear events before reusing.
2026-03-24 22:34:10 -03:00
fiatjaf
82275e4b9e
when parsing a nip05 as a pubkey there is no point in falling back to parsing as hex or npub.
2026-03-22 17:17:28 -03:00
fiatjaf
ae98e99ec6
update nostrlib to fix stuck subscriptions.
v0.19.2
2026-03-20 20:56:38 -03:00
Yasuhiro Matsumoto
29db04b7ea
fix: add missing target flag to nutzap command
2026-03-20 13:44:14 -03:00
fiatjaf
59fecacbdc
ensure we're adding a "K" tag to kind:1111 events.
2026-03-17 20:48:53 -03:00
fiatjaf
faac4d9440
ensure an event is not resigned if it was already signed and wasn't changed.
2026-03-17 19:32:47 -03:00
fiatjaf
f00a4a7d2a
fix potential double-yield() usage on reading lines from stdin.
v0.19.1
2026-03-17 14:57:42 -03:00
fiatjaf
d823ac55a6
fix nostrlib dependency.
2026-03-17 14:57:11 -03:00
fiatjaf
105ccef7ec
gift: fix potential keys ordering and rumor decryption failure check.
2026-03-17 14:56:55 -03:00
fiatjaf
9d4df21836
gift/encrypt: fix wording and yield returns.
2026-03-17 11:49:09 -03:00
fiatjaf
952d638ac3
git: fix --owner flag in "init".
...
fixes https://github.com/fiatjaf/nak/issues/113
2026-03-16 16:09:00 -03:00
fiatjaf
c1e72e0af1
convert tags to appropriate hex pubkeys, ids etc, even from nip05, but check the tag name first for better (hardcoded) context.
2026-03-13 00:30:46 -03:00
fiatjaf
5f4efdbc69
'group forum' with the ui like 'nak git issue'.
2026-03-12 19:03:20 -03:00
fiatjaf
4967db13a1
update nostrlib dependency.
v0.19.0
2026-03-12 16:50:19 -03:00