Repository navigation
nostream@3.13.0
Minor Changes
-
#1053
e37b284Thanks @Ferryx349! - feat(peering): rate-limit on-demand requests from authenticated peersAuthenticated peers can request events outside their standing feed with a
normalREQ,COUNT, or ad-hocNEG-OPENsession. Those requests continue to
use peer subscription and NIP-77 limits instead of client limits, and are now
bounded per peer pubkey bylimits.peer.request.rateLimits(default 300
requests/minute acrossREQ,COUNT, andNEG-OPEN).Refused
REQ/COUNTcalls receiveCLOSEDwith arate-limited:reason and
retry hint; refusedNEG-OPENsessions receiveNEG-ERR. The limiter fails
closed when its store is unavailable, and unidentified clients are unaffected.
Per-peer request/event accounting and admin-console visibility are left to the
dedicated admin-console follow-up.
Patch Changes
-
#1058
ba8691aThanks @avantikonde! - fix(cli): reject placeholder secret inherited from env or prompt in setup (#1018)Setup now rejects the default placeholder secret (
change_me_to_something_long_and_random) when read from inherited environment variables or interactive prompt input, and validates the resolved secret before persisting to.env. If a placeholder is detected, setup automatically generates a fresh cryptographically secure 64-byte random hex secret.