Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds hCaptcha support #3459

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Adds hCaptcha support #3459

wants to merge 1 commit into from

Conversation

mouse-reeve
Copy link
Member

Description

We're having a spam-wave! This will allow admins to require a captcha during registration. I used hCaptcha, which requires the admin to register an account, and does cost money at a certain usage point (one million requests per month, which is anyone is anywhere near that it's news to me). HCaptcha seems both easy to use, well supported, and accessible.

  • Related Issue #
  • Closes #

What type of Pull Request is this?

  • Bug Fix
  • Enhancement
  • Plumbing / Internals / Dependencies
  • Refactor

Does this PR change settings or dependencies, or break something?

  • This PR changes or adds default settings, configuration, or .env values
  • This PR changes or adds dependencies
  • This PR introduces other breaking changes

Details of breaking or configuration changes (if any of above checked)

hCaptcha is installed, and .env variables are added for it

Documentation

  • New or amended documentation will be required if this PR is merged
  • I have created a matching pull request in the Documentation repository
  • I intend to create a matching pull request in the Documentation repository after this PR is merged

Tests

  • My changes do not need new tests
  • All tests I have added are passing
  • I have written tests but need help to make them pass
  • I have not written tests and need help to write them

@Flameborn
Copy link
Contributor

While HCaptcha is easy to use and it works reasonably well, I have to say their stance on accessibility is quite appalling.

  • If you are unable to see their captcha, you need to create a specific account via an email address. They monitor this account for abusive behavior.
  • Then, you need to go to a specific page they send out once to the registered email. Here, you need to store a cookie on your device. This only works if you deliberately weaien your browser's security, for example by disabling cross origin protection, IP tracking protection in Safari, allow third party cookies, etc.
  • Then you need to go back to the captcha page, where the token may or may not work. If it works, then for the next captcha you have to do this process again with the same registered account.

Alternatively, captcha implementors can request an alternate method to be available via their added captchas, which is text based. This works, but it is marketed as something recommended only in specific cases, because it weakens the secureness of the added captcha.

When asked about this, the company continues to advocate for accessibility as an aid for a minority, rather than ensuring that their captchas can be solved by everyone equally. For example they were planning to develop a hardware device which would generate tokens, which has the same issues as having to register via an email address, except with this they would also require a physical address to ship to.

A lot of people solve their captchas via AI, because it is a lot easier than having to go through all this just to get access to a page which sometimes can't be avoided (some governments use this captcha as well).

@mouse-reeve
Copy link
Member Author

Oof! Thank you so much for this. I’ve been looking for a ReCAPTCHA alternative but really striking out

@Flameborn
Copy link
Contributor

The only one that I have high hopes for is mCaptcha, which is a one click solution that works really well. It's unfortunately not trivial to host and implement yet, but it's slowly getting there.

@mouse-reeve
Copy link
Member Author

That looks promising! I’ll take a look and if it’s too much to get using now I’ll use recaptcha for the time being and try to keep this in the pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants