diff --git a/CMakeLists.txt b/CMakeLists.txt index efb0dde..826e7af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ add_compile_definitions(CHECKPOINT_VERSION="${CHECKPOINT_VERSION}") find_package(PkgConfig REQUIRED) -pkg_check_modules(deps IMPORTED_TARGET openssl sqlite3) +pkg_check_modules(deps IMPORTED_TARGET openssl) target_include_directories(checkpoint PRIVATE diff --git a/html/index.html b/html/index.html index 5e410b9..294cc9a 100644 --- a/html/index.html +++ b/html/index.html @@ -154,7 +154,8 @@ transition: ease-in-out 0.1s; } - @media (pointer:none), (pointer:coarse) { + @media (pointer:none), + (pointer:coarse) { .big-icon { margin-top: 10rem; } @@ -184,7 +185,6 @@ font-size: 1rem; } } -
Verifying that you are not a bot. This might take a short moment.
-
-
-
+
+
+
You do not need to do anything.
Difficulty {{ tl:text challengeDifficulty }}, elapsed 0ms, 0h, 0h/s
@@ -237,6 +237,8 @@ var start = Date.now(); const challengeNonce = "{{ tl:text challengeNonce }}"; const difficulty = parseInt("{{ tl:text challengeDifficulty }}"); + const challengeSig = "{{ tl:text challengeSignature }}"; + const challengeFingerprint = "{{ tl:text challengeFingerprint }}"; function valid(sha) { const MIN_ZEROES = difficulty; @@ -273,8 +275,11 @@ const data = JSON.stringify({ challenge: challengeNonce, solution: it, + difficulty: difficulty, + sig: challengeSig, + fingerprint: challengeFingerprint }); - + fetch("/checkpoint/challenge", { headers: { diff --git a/html/index.min.html b/html/index.min.html index 41c7bd3..dcb6f1f 100644 --- a/html/index.min.html +++ b/html/index.min.html @@ -1,2 +1,2 @@STOP!
Verifying that you are not a bot. This might take a short moment.
You do not need to do anything.
Why am I seeing this?
This website protects itself from AI bots and scrapers by asking you to complete a cryptographic challenge before allowing you entry.