forked from kiwiirc/kiwiirc
-
Notifications
You must be signed in to change notification settings - Fork 0
07. Using Captcha
github-actions[bot] edited this page Feb 26, 2025
·
1 revision
Kiwi IRC can support either reCaptcha, hCaptcha, or Cloudflare Turnstile and can always ask for verification or based on dnsbl response
note: This requires using Kiwi IRC with webircgateway as no ircd's currently support requesting captcha's.
To enable reCaptcha support a site key and secret is required from google. These can be obtained here
note: if required = false then [dnsbl] section applies
[verify]
recaptcha_secret = "SECRET KEY HERE"
recaptcha_key = "SITE KEY HERE"
# If required, a client must always pass a captcha challenge before making an IRC connection
required = true
"startupOptions" : {
"captchaSiteId": "SITE KEY HERE",
}
To enable hCaptcha support a site key and secret key is required from hCaptcha. These can be obtained here
note: if required = false then [dnsbl] section applies
[verify]
recaptcha_url = "https://hcaptcha.com/siteverify"
recaptcha_secret = "SECRET KEY HERE"
recaptcha_key = "SITE KEY HERE"
# If required, a client must always pass a captcha challenge before making an IRC connection
required = true
"startupOptions" : {
"captchaUrl": "https://hcaptcha.com/1/api.js",
"captchaSiteId": "SITE KEY HERE",
}
To enable turnstile support a site key and secret key is required from cloudflare. These can be obtained here
note: if required = false then [dnsbl] section applies
[verify]
recaptcha_url = "https://challenges.cloudflare.com/turnstile/v0/siteverify"
recaptcha_secret = "SECRET KEY HERE"
recaptcha_key = "SITE KEY HERE"
# If required, a client must always pass a captcha challenge before making an IRC connection
required = true
"startupOptions" : {
"captchaUrl": "https://challenges.cloudflare.com/turnstile/v0/api.js",
"captchaSiteId": "SITE KEY HERE",
}