Damus
Kayhan Sepanta 🪽 profile picture
Kayhan Sepanta 🪽
@Kayhan Sepanta 🪽
im trying to find a spam protection model for nip-17 on relay layer and here is what we have:

1. we can't perform whitelisting on pubkey since it's a random temp key.

2. we can't p tags, since we send 2, 1059 event for each dm. each one with one different p tag. we can validate the sender event (we have a p tag and we can check it using authed pubkey) but we can't do it for receiver event. (if we just check the p tag, then anybody can put a whitelisted p tag and send dms.)

i want to know if anybody knows how we can check such thing on a whitelisted relay so only whitelsited users can send dms to each other.

> i hate nip-17. bullshit.

#dev #devstr #asknostr #nip17
11
Kayhan Sepanta 🪽 · 43w
cc nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug resaon for my previous question.