Checkpoint: clarify NIP-42 status (already supported)

This commit is contained in:
Avi 2026-08-25 11:52:43 -05:00
commit bf10ae383a

View file

@ -56,10 +56,28 @@ place: `runModalSave` in `frontend/src/screens/ProfilesScreen.tsx`
## Notes & next steps ## Notes & next steps
- **NIP-42 status clarified (2026-08-25 addendum).** Earlier notes saying
"l484.com needs NIP-42 auth" described *raw probes* that don't answer
challenges — not a Keynectr gap. Verified: nostr-sdk 0.40 attaches the
signer in `Client::new` and enables NIP-42 auto-authentication by default
(`nip42_auto_authentication: true`), so AUTH challenges on read AND write
are answered automatically on every Keynectr path. Live test against
`wss://nostr.l484.com` replicating Keynectr's exact client setup: event
accepted in 0.3 s (inside the 6 s `RELAY_SEND_TIMEOUT`) and retrievable
afterwards. Known edge, left as-is by choice: the SDK's worst-case auth
dance (~7 s wait + resend) can exceed the 6 s watchdog on a very slow
authed relay → "did not respond in time"; healthy relays finish in <1 s.
Probe harness: `/tmp/opencode/nip42-probe` (throwaway key, same crates).
- DRY audit items R1–R4 are all complete; nothing left on hold from that list. - DRY audit items R1–R4 are all complete; nothing left on hold from that list.
- Pre-existing clippy warnings in src/profiles.rs remain untouched by request. - Pre-existing clippy warnings in src/profiles.rs remain untouched by request.
- Relay health today: nos.lol 502, nostr.wine 403, l484.com needs NIP-42 auth, - Relay health today: nos.lol 502 (intermittent), nostr.wine 403,
nostr.band unreachable; primal/mom/soloco healthy. l484.com sends NIP-42 AUTH challenges but works fine with Keynectr
(auto-answered — see addendum above), nostr.band unreachable;
primal/mom/soloco healthy.
- Client visibility rule of thumb confirmed today: a note appears only on
clients whose read relays overlap the relays it was published to; if a
note "is missing" somewhere, first compare relay lists (Primal indexes
broadly; Iris/Yakihonne read narrower sets).
--- ---