cfsolve 0.1.4-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: 110c9993b5967750db0450d617ca7f8e0781d7f0041a956ed1b7953bc8faf220
4
- data.tar.gz: a61815d18768fec01f5a8d100bc3896e980ec26373086a1bf4cc493fedbab73d
3
+ metadata.gz: 89f2f77582fd651f20fdcaf353789f1d6d0b016dc72de078ace5330b44e5308a
4
+ data.tar.gz: 1064f09e1a74133c1d9496cb73da9cfe2168c0187cbbb7422a30642b09dbdc8c
5
5
  SHA512:
6
- metadata.gz: 5f4d6389bf2f369984224955b2aa758542719f3f3ab2f52feaf777abda68ef1e54657bafee8e36b1c95b4458620c2892edf0a2c502469296901dcb6f9fdcc1dc
7
- data.tar.gz: 9ee2a38a53ed0c461e254d09ba6ea3d872933dbc63a7031b3472d1081dde00693badeba9801f8513300e208475a94e468c21e5abdca15fe59b2e182fd39bd21a
6
+ metadata.gz: 8d813a2180e80bffba0406fb4377bf2e449220473a1cddf1fa7b266858a8812c07045851c268f5d91760bf250b650201cb78a1aaaf187b2a76c5e72c5aecb6f3
7
+ data.tar.gz: 105b49709fbff630be094d50281266bea52ece4e76129219f8ccea3c0d6e3181879691e827b01180f8714aeb11afb5c8555bb6857adf68f23b4407043913c914
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
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
+
3
28
  ## 0.1.4
4
29
 
5
30
  Update the native engine to the merged, audited `ollym/cfsolve` revision
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # cfsolve
2
2
 
3
3
  Ruby bindings for [cfsolve](https://github.com/chris124567/cfsolve), using the
4
- [ollym/cfsolve fork](https://github.com/ollym/cfsolve) and bundled browser profiles.
4
+ upstream engine and its bundled browser profile.
5
5
 
6
6
  ```ruby
7
7
  gem "cfsolve"
@@ -25,9 +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 Chrome 157 profile is bundled as the default and verified against Hellenic
29
- Heritage's Turnstile challenge. The older Safari profile remains available as
30
- an explicit custom profile. 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,
31
32
  pass `profile: "/path/to/browser.json"`. Profiles contain browser measurements,
32
33
  not site login credentials. A profile file may reference answer files relative
33
34
  to its directory. Applications can instead pass parsed hashes through
@@ -46,8 +47,10 @@ connections, and deadlines. A frozen Browser can be reused across threads.
46
47
 
47
48
  Failures raise `Cfsolve::ConfigurationError`, `NetworkError`, `RejectedError`,
48
49
  `UnsupportedError`, `TimeoutError`, or the base `Error`. Error messages omit raw
49
- responses and request credentials. The gem does not retry or cache tokens;
50
- 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.
51
54
 
52
55
  ## Installation and development
53
56
 
@@ -66,6 +69,23 @@ are macOS arm64/x86_64 and Linux GNU aarch64/x86_64. macOS builds require macOS
66
69
  15.5 or newer; Linux builds require glibc 2.35 or newer. Windows and musl platforms
67
70
  are currently unsupported.
68
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
+
69
89
  Use the solver only with sites and accounts you are authorized to access.
70
90
  See [UPSTREAM.md](UPSTREAM.md) for provenance and the vendored engine's README
71
91
  for profile capture tooling. The MIT license and third-party notices accompany
data/UPSTREAM.md CHANGED
@@ -1,10 +1,17 @@
1
- The Rust engine is vendored from [ollym/cfsolve](https://github.com/ollym/cfsolve)
2
- master at commit `78459e222bc77e4234f7608849df3b40970bc324`. This fork is based on
3
- [chris124567/cfsolve](https://github.com/chris124567/cfsolve) at
4
- `d94de0472bad95dee84fb312f9e39f573f8148eb` and includes the audited November 12
5
- Hellenic Turnstile compatibility fix.
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.
6
8
 
7
- `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
8
15
  dependencies and release optimization profile are applied by the extension's
9
16
  top-level Cargo manifest. The Ruby adapter is in `lib/` and
10
17
  `ext/cfsolve/src/main.rs`.
@@ -15,5 +22,13 @@ its `profiles/` directory to `lib/cfsolve/profiles/`, update the revision in
15
22
  notices if dependencies changed. Run the Ruby tests and fresh challenge checks
16
23
  before releasing.
17
24
 
18
- The Chrome 157 profile is the default for this release. The source gem contains
19
- the complete vendored engine and does not require access to the private fork.
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