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

Add support for ALTCHA #10283

Open
mfelczak opened this issue Aug 6, 2024 · 4 comments
Open

Add support for ALTCHA #10283

mfelczak opened this issue Aug 6, 2024 · 4 comments
Assignees
Labels
Accessibility Any issue that impacts assistive technology or users with visual or physical impairments. Enhancement:2:Moderate A new feature or improvement that can be implemented in less than 4 weeks.

Comments

@mfelczak
Copy link
Member

mfelczak commented Aug 6, 2024

ALTCHA is a free, open source, and self-hosted alternative to reCaptcha. It's also more accessible since it doesn't require any user interaction. Github repo: https://github.com/altcha-org/altcha

Screen Shot 2024-08-06 at 3 33 39 PM

@mfelczak mfelczak self-assigned this Aug 6, 2024
@mfelczak
Copy link
Member Author

mfelczak commented Aug 6, 2024

Hello @asmecher, before we start implementation I wanted to confirm recommended approach with you: should this be modelled on the existing reCaptcha implementation with install-wide settings in config.inc.php and a corresponding FormValidator subclass?

@mfelczak mfelczak added Accessibility Any issue that impacts assistive technology or users with visual or physical impairments. Enhancement:2:Moderate A new feature or improvement that can be implemented in less than 4 weeks. labels Aug 7, 2024
@asmecher
Copy link
Member

asmecher commented Aug 8, 2024

Hi Michael -- Yes, on balance I think that's best. If we are going to have several options then in my wildest dreams we'd have an interface that all options could meet, but if it's just two options (ALTCHA and ReCAPTCHA) then there's not enough benefit to justify the overhead in coding.

@Godoy0722
Copy link

I just implemented ALTCHA integration for login, register and reset password pages. You can see it on #10456.

For this support to work, the config.inc.php must be updated with the new variables as I also created PRs as follows:

To Reproduce
Steps to reproduce the behavior:

  1. Starting on the root directory of any system, Run composer --working-dir=lib/pkp install
  2. Update the config.inc.php file with the new variables as shown on the other PRs, and set altcha and altcha_on_login as on
  3. Enter on login page and click on submit button

@Godoy0722
Copy link

@asmecher just a heads-up that the PRs are ready to be reviewed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Any issue that impacts assistive technology or users with visual or physical impairments. Enhancement:2:Moderate A new feature or improvement that can be implemented in less than 4 weeks.
Projects
None yet
Development

No branches or pull requests

3 participants