News for hackers. Stuff that matters.
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by kazinator on Friday September 10, 2021 @08:44PM (#28488438)
> It uses a multi-threaded WASM (Web Assembly) WebWorker running the Scrypt hash function instead of SHA256. Because of this, it's less succeptible to hash-farming attacks.

That's a problem; captchas need a fallback mechanism for situations when JS is disabled.

(I think that could be arranged; e.g. in the no JS case, the web application just spits out some token, which the user must copy and paste into some program that does the work, and then passes the answer back into the web application.

Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by forestjohnson on Friday September 10, 2021 @10:32PM (#28488975)
Yeah I would love to find a way to support non-JS browsers. For now I considered it out of scope. I could very easily make a browser extension or companion app for it though!
Re:POW Captcha: a lightweight, self-hosted proof-of-work cap... by zzo38computer on Friday September 10, 2021 @10:45PM (#28489026)
My suggestion is that if the script fails (for whatever reason, including non-JS browsers), then in addition to doing what they said (spits out some token), should also link to documentation about how to compute the response. If the user has a program to do it, they can use that one. If not, they might be able to write their own (by following the documentation).