@calle @jb55 it looks like @Damus does not NIP42 authenticate the connection when posting a NWC kind 23194 event. Either that or it uses an ephemeral pubkey.
Oct 03 17:03:27 sjimmie nostr-rs-relay[1716]: 2024-10-03T17:03:27.825280Z DEBUG nostr_rs_relay::server: successfully parsed/validated event: "0d7c2fd4" (cid: 41f1d0eb, kind: 23195)
Oct 03 17:03:27 sjimmie nostr-rs-relay[1716]: 2024-10-03T17:03:27.825322Z DEBUG nostr_rs_relay::db: rejecting event: 0d7c2fd4, unauthorized author
Sjors Provoost
sjors@sprovoost.nl
Oh wait, maybe this is the response, kind 23195
And my second zap attempt did work.
The request went fine:
Oct 03 17:03:24 sjimmie nostr-rs-relay[1716]: 2024-10-03T17:03:24.251064Z DEBUG nostr_rs_relay::server: successfully parsed/validated event: "42968188" (cid: 93bd29a3, kind: 23194)
Oct 03 17:03:24 sjimmie nostr-rs-relay[1716]: 2024-10-03T17:03:24.251090Z DEBUG nostr_rs_relay::db: nip42 authenticated client may publish
The cashu wallet inside Iris doesn't have my nsec, and I guess it doesn't use the main one (yet).
I'll work around that by adding another relay for NWC. I had it set to just my own relay for debugging.