fix(default-config): remove the preact challenge from the default config

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-10-11 13:14:39 +00:00
parent d51d32726c
commit ce1d877012
+8 -12
View File
@@ -212,14 +212,10 @@ thresholds:
- weight < 20 - weight < 20
action: CHALLENGE action: CHALLENGE
challenge: challenge:
# https://anubis.techaro.lol/docs/admin/configuration/challenges/preact # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
# algorithm: fast
# This challenge proves the client can run a webapp written with Preact. difficulty: 2 # two leading zeros, very fast for most clients
# The preact webapp simply loads, calculates the SHA-256 checksum of the report_as: 2
# challenge data, and forwards that to the client.
algorithm: preact
difficulty: 1
report_as: 1
- name: mild-proof-of-work - name: mild-proof-of-work
expression: expression:
all: all:
@@ -229,8 +225,8 @@ thresholds:
challenge: challenge:
# https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
algorithm: fast algorithm: fast
difficulty: 2 # two leading zeros, very fast for most clients difficulty: 4
report_as: 2 report_as: 4
# For clients that are browser like and have gained many points from custom rules # For clients that are browser like and have gained many points from custom rules
- name: extreme-suspicion - name: extreme-suspicion
expression: weight >= 30 expression: weight >= 30
@@ -238,5 +234,5 @@ thresholds:
challenge: challenge:
# https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work # https://anubis.techaro.lol/docs/admin/configuration/challenges/proof-of-work
algorithm: fast algorithm: fast
difficulty: 4 difficulty: 6
report_as: 4 report_as: 6