hackchat-client icon indicating copy to clipboard operation
hackchat-client copied to clipboard

Captcha handling support

Open marzavec opened this issue 4 years ago • 4 comments

So, the current behavior for captcha handling is to yeet the event into redux, shrug and call it a day.

This essentially means that captchas are not supported.

Captcha event are going to become part of normal spec, both in protecting channels from bots as well as claiming channels. Support for this event will need to be designed with both of these situations in mind. A model will need to be created to handle the display and input, some kind of callback solution added to "finish" the captcha.

Display compatibility (mostly on mobile) may benefit from using a canvas to render the captcha challenge text. . .

marzavec avatar Dec 14 '20 18:12 marzavec

well.. the only problem with CAPCHA is the fact that it's not friendly to network environments in China...

KnowsCount avatar Jan 01 '21 06:01 KnowsCount

Do you mean that the use Roman characters may cause issues with users who do not natively use Roman characters?

marzavec avatar Jan 02 '21 03:01 marzavec

Ah, ignore me. I thought you were talking about google's reCAPTCHA. Cos China banned Google

KnowsCount avatar Jan 02 '21 13:01 KnowsCount

Oh, for sure. Hack.chat strives to be entirely self-hosted, which means no external calls. The current captcha system uses ascii-captcha to generate a captcha.

marzavec avatar Jan 02 '21 17:01 marzavec