Why Nostr? What is Njump?
2024-09-17 16:09:41

girino on Nostr: utxo the webmaster 🧑‍💻, a proposal for the WoT-Relays, to allow for newbies: ...

, a proposal for the WoT-Relays, to allow for newbies: CAPTCHA.

The idea should be, we add a page with a captcha and a place for the user to paste their npub. If they answer the captcha correctly, user gets added to a whitelist for a limited time (say 24h).

If user tries to access the relay and is not in the whitelist, nor in the WoT, relay responds with both an "auth" request and a private message pointing to the url of the captcha page.

When validating events, check for both WoT and whitelist.

If user tries to abuse the captcha page (3 bad captchas in a minute, or 10 bac captchas in an hour), blacklist them and their IP address.
Author Public Key
npub18lav8fkgt8424rxamvk8qq4xuy9n8mltjtgztv2w44hc5tt9vets0hcfsz