cfsolve 0.1.3-aarch64-linux-gnu → 0.1.5-aarch64-linux-gnu

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfcfb67e181c855f92341353834818839bc41223bfebf1b503509027fed01738
4
- data.tar.gz: '09ada84902c06a26d310801459ea2e9fc1da34323e4b801538f72a3a5004b9f7'
3
+ metadata.gz: 89f2f77582fd651f20fdcaf353789f1d6d0b016dc72de078ace5330b44e5308a
4
+ data.tar.gz: 1064f09e1a74133c1d9496cb73da9cfe2168c0187cbbb7422a30642b09dbdc8c
5
5
  SHA512:
6
- metadata.gz: 26508461ac4909b130a6809bebdc6d1b335a33d9d857f8c4675590eb67a434312c959ffe17a33b114c39ba332cf7dfbfe4df2f864db238a4ad0708580be06ed5
7
- data.tar.gz: 5bcac5c35f68134342048f86400627bbbd10462e72fefba85d212fca2e675b985ff15c4e7ee48328bd2c4ccf2fa52ae9ac31c1ad050b3a1b7a5f681eb9d7555b
6
+ metadata.gz: 8d813a2180e80bffba0406fb4377bf2e449220473a1cddf1fa7b266858a8812c07045851c268f5d91760bf250b650201cb78a1aaaf187b2a76c5e72c5aecb6f3
7
+ data.tar.gz: 105b49709fbff630be094d50281266bea52ece4e76129219f8ccea3c0d6e3181879691e827b01180f8714aeb11afb5c8555bb6857adf68f23b4407043913c914
data/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.5
4
+
5
+ Rebase the native engine onto upstream `19efa31`, restoring Hellenic
6
+ Turnstile compatibility after the November 14 recurrence. Upstream replaces the
7
+ fork's VM and encoded-string patches and refreshes the probe reference data.
8
+ Correct an upstream module path so the engine builds without optional debugging
9
+ and capture tools.
10
+
11
+ Use upstream's refreshed Safari 26 profile by default. Remove the former Chrome
12
+ 157 profile, whose stored answers use the previous reference format. Custom
13
+ profiles must be recaptured or replaced with the default. The Ruby API, execution
14
+ deadlines and supported release platforms are unchanged.
15
+
16
+ Retry unsupported challenge variants with a fresh native process, up to three
17
+ attempts within the original deadline. A long live run found one intermittent
18
+ incomplete probe chain; repeated fresh challenges then succeeded. Other errors
19
+ are not retried, and persistent unsupported challenges still raise after three
20
+ attempts.
21
+
22
+ Verify the installed executable and profile on every release platform. Keep
23
+ GitHub's network-dependent live checks separate and require live validation of
24
+ the exact Linux artifact from the deployment network before publishing. During
25
+ this release, GitHub returned Cloudflare `600010` while the same Linux package
26
+ passed repeated fresh production sign-ins, refreshes, inventory and availability.
27
+
28
+ ## 0.1.4
29
+
30
+ Update the native engine to the merged, audited `ollym/cfsolve` revision
31
+ `78459e2`, restoring Hellenic Turnstile compatibility with Cloudflare build
32
+ `7c7fee70a876`. This includes the new VM layout, encoded probe names, parent-page
33
+ signals, and fingerprint result formats.
34
+
35
+ Bundle the verified Chrome 157 profile and use it by default. Applications
36
+ passing an older custom profile must update it or remove the override; the old
37
+ measurements are not made compatible by updating the engine alone. The Safari
38
+ profile remains bundled for explicit use. The Ruby API and release platforms
39
+ are unchanged.
40
+
41
+ Validate each packaged platform gem with fresh Hellenic solves before publishing.
42
+
3
43
  ## 0.1.3
4
44
 
5
45
  Update the native engine to upstream master (`d94de047`) and refresh the bundled
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # cfsolve
2
2
 
3
- Ruby bindings for [cfsolve](https://github.com/chris124567/cfsolve), using its
4
- upstream master solver and bundled browser profile.
3
+ Ruby bindings for [cfsolve](https://github.com/chris124567/cfsolve), using the
4
+ upstream engine and its bundled browser profile.
5
5
 
6
6
  ```ruby
7
7
  gem "cfsolve"
@@ -25,7 +25,10 @@ sitekey, it uses the page's first Turnstile container. `clear` and `solve` accep
25
25
  `proxy` and `timeout`; `solve` returns a hash with type `token` or `clearance`.
26
26
  Proxies may use HTTP, HTTPS, SOCKS5, or SOCKS5H.
27
27
 
28
- The upstream Safari profile is bundled as the default. To use a custom profile,
28
+ The refreshed upstream Safari 26 profile is bundled as the default and verified
29
+ against Hellenic Heritage's Turnstile challenge. The former Chrome 157 profile
30
+ has been removed because its answers use the previous engine's reference format.
31
+ To use a custom profile,
29
32
  pass `profile: "/path/to/browser.json"`. Profiles contain browser measurements,
30
33
  not site login credentials. A profile file may reference answer files relative
31
34
  to its directory. Applications can instead pass parsed hashes through
@@ -33,6 +36,9 @@ to its directory. Applications can instead pass parsed hashes through
33
36
  `challenge_page_answers:`. Store private profiles in your application's secret
34
37
  configuration. Support depends on the challenge build and profile. Changes at
35
38
  Cloudflare may require an updated solver or freshly captured browser answers.
39
+ When upgrading from an earlier release, replace older custom measurements or
40
+ remove the profile override to use the new default. Updating the native engine
41
+ alone does not refresh an application's custom profile.
36
42
 
37
43
  Each call launches a bundled Rust executable, sends configuration through stdin,
38
44
  and reads its result through stdout. No tokens or profiles appear in process
@@ -41,8 +47,10 @@ connections, and deadlines. A frozen Browser can be reused across threads.
41
47
 
42
48
  Failures raise `Cfsolve::ConfigurationError`, `NetworkError`, `RejectedError`,
43
49
  `UnsupportedError`, `TimeoutError`, or the base `Error`. Error messages omit raw
44
- responses and request credentials. The gem does not retry or cache tokens;
45
- applications should obtain a fresh token for each form submission.
50
+ responses and request credentials. Unsupported challenges get up to three fresh
51
+ attempts within the original deadline; other errors are returned immediately.
52
+ Tokens are never cached. Applications should obtain a fresh token for each form
53
+ submission.
46
54
 
47
55
  ## Installation and development
48
56
 
@@ -61,6 +69,23 @@ are macOS arm64/x86_64 and Linux GNU aarch64/x86_64. macOS builds require macOS
61
69
  15.5 or newer; Linux builds require glibc 2.35 or newer. Windows and musl platforms
62
70
  are currently unsupported.
63
71
 
72
+ ## Releasing
73
+
74
+ `Build gems` compiles, tests, packages, and verifies each installed platform gem.
75
+ Before dispatching `Publish gem`, download its exact Linux artifact and verify
76
+ fresh challenge solves and the consuming application's authentication flow from
77
+ the deployment network. Do not publish based on build success alone.
78
+
79
+ `Hellenic live checks` runs the same packaged-gem live test from GitHub runners.
80
+ Keep it separate from packaging: Cloudflare can reject a runner with `600010`
81
+ while the identical executable succeeds from the deployment network. A rejection
82
+ is still a failed live check, not a successful solve. `test/live_smoke.rb` accepts
83
+ `CFSOLVE_SMOKE_PROXY` for comparisons through another authorized network.
84
+
85
+ The publish workflow only accepts packages from a successful build of its exact
86
+ commit. The operator dispatching it must first complete the deployment-network
87
+ checks above; credentials and solved tokens must never enter release logs.
88
+
64
89
  Use the solver only with sites and accounts you are authorized to access.
65
90
  See [UPSTREAM.md](UPSTREAM.md) for provenance and the vendored engine's README
66
91
  for profile capture tooling. The MIT license and third-party notices accompany
data/UPSTREAM.md CHANGED
@@ -1,7 +1,17 @@
1
- The Rust engine is vendored from [chris124567/cfsolve](https://github.com/chris124567/cfsolve)
2
- master at commit `d94de0472bad95dee84fb312f9e39f573f8148eb`.
1
+ The Rust engine is vendored from the private
2
+ [ollym/cfsolve](https://github.com/ollym/cfsolve) fork at commit
3
+ `82b19a39f8366b02c9eaf54b1c09ce97870ba981`, rebased onto
4
+ [chris124567/cfsolve](https://github.com/chris124567/cfsolve) master
5
+ `19efa31656328528457376ae0895a61164b22da0`. Upstream now supplies the VM, string
6
+ decoder and parent-page handling previously carried in the private fork, with
7
+ refreshed reference data and browser answers.
3
8
 
4
- `vendor/cfsolve` is an unmodified archive of that revision. Its three patched
9
+ The only engine change from upstream is a module-qualified deobfuscator call in
10
+ `src/stage2/benchmark.rs`, fixing compilation without optional tools. The fork
11
+ also retains a Hellenic smoke example and CI checks. The former engine patches
12
+ and Chrome profile have been removed.
13
+
14
+ `vendor/cfsolve` is an unmodified archive of the fork revision. Its three patched
5
15
  dependencies and release optimization profile are applied by the extension's
6
16
  top-level Cargo manifest. The Ruby adapter is in `lib/` and
7
17
  `ext/cfsolve/src/main.rs`.
@@ -11,3 +21,14 @@ its `profiles/` directory to `lib/cfsolve/profiles/`, update the revision in
11
21
  `lib/cfsolve/version.rb`, and refresh the extension's Cargo.lock and third-party
12
22
  notices if dependencies changed. Run the Ruby tests and fresh challenge checks
13
23
  before releasing.
24
+
25
+ The Ruby wrapper makes up to three fresh attempts when upstream reports an
26
+ unsupported challenge. All attempts share the caller's original deadline, and
27
+ other errors are returned immediately. This handles an intermittent incomplete
28
+ probe chain seen during validation without relaxing the engine's parser checks.
29
+
30
+ The refreshed upstream Safari 26 profile is the default for this release. The
31
+ former Chrome 157 profile used the fork's older reference format and is no longer
32
+ bundled. Applications should use the default or recapture their custom profile
33
+ against this engine. The source gem contains the complete vendored engine and
34
+ does not require access to GitHub when building.
Binary file