Skip to content

feat(url): verify TLS with the OS and read embedded data from JavaScript shells - #70

Merged
kochetkov-ma merged 5 commits into
mainfrom
feat/trust-store-spa-data
Oct 19, 2026
Merged

kochetkov-ma merged 5 commits into
mainfrom
feat/trust-store-spa-data

Conversation

@kochetkov-ma

Copy link
Copy Markdown
Owner

--url now verifies TLS with the operating system's certificate verifier through truststore==0.10.5 (MIT, pure Python, no dependencies, owner-approved). Pages whose root is only in the OS store, such as GlobalSign Root R46 on macOS, now load the way they do in a browser. When a page is still a JavaScript shell after static or JS capture, brewdoc builds a partial embedded_data snapshot from the title, description, JSON-LD text and noscript blocks of the static HTML. This happens only when that text reaches 200 characters; otherwise the refusal stays as before. AWS WAF challenge pages are named aws-waf. Version 0.7.1. Closes #68.

Pilots: truststore recovered the 3 TLS-refused bench pages with no change on the other 49 https URLs. Expired, wrong-host and self-signed certificates still refuse at tls. The embedded-data rule recovers real text on 3 of 12 live shells (Airbnb, SoundCloud, Bluesky); slogan-only shells such as crates.io still refuse.

Validation: new offline regressions for each change. Non-corpus suite: 2593 passed. Self-check passes. Live checks: finmarket USD converts, and self-signed.badssl.com refuses at tls.

@kochetkov-ma
kochetkov-ma merged commit 59fefc9 into main Oct 19, 2026
11 checks passed
@kochetkov-ma
kochetkov-ma deleted the feat/trust-store-spa-data branch October 19, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify URL TLS like the OS and read embedded data from JavaScript shells

1 participant