HCaptcha support for z3c.form?

Is anyone aware of a z3c.form field implementation for HCaptcha or even working on something related?

1 Like

Interesting, didn't hear from hcaptcha yet. And recaptcha is out of the question nowadays if you want to be GDPR compliant. Any page with a recaptcha is a data trove for Google.
According hCaptcha's homepage hcaptcha "is a drop-in replacement for reCAPTCHA: you can switch within minutes." and we have https://pypi.org/project/plone.formwidget.recaptcha/ .

Looks interesting. Shouldn't be too hard to either integrate it into p.f.recaptcha or build p.f.hcaptcha. :slight_smile:

What would be the proper way to create a p.f.hcaptcha add-on? Is it appropriate, if I fork p.f.recaptcha and rename the fork to p.f.hcaptcha and try to make the necessary changes? I could do the work on my own github account and later ask for a commit to the Plone github repo (or should it go to collective?).

I would start from scratch with bobtemplates.plone · PyPI and make then the necessary changes using p.f.recaptcha as a reference.
bobtemplates.plone includes the latest best practice from the Plone community including testing via GitHub Actions instead TravisCI.

This HCaptcha project looks interesting, but I'd also check if GitHub - collective/collective.honeypot already solves the problem with bots. It's not using any external service and does not bug people forcing to solve ambiguous picture riddles.

1 Like

I would just fork p.f.recaptcha in the plone repo and rename it to p.f.hcaptcha. Though, that's a matter of preference I guess. I'd be happy to help with the process, just DM or email me. :slight_smile:

I created a new add-on with mrbob on my local box and added the files
from the recaptcha add-on one by one to it and made the necessary
changes, also to the configure files. I added the demo subdir today and
run into a traceback by calling the demo form.

@andreasma which traceback? please post it here.

Plone Foundation Code of Conduct