Skip to content

fix: merge PR #1401 #1397 #1393 #1391#1554

Closed
xuwei-xy wants to merge 8 commits intosipeed:mainfrom
xuwei-xy:fix-pr-batch-14
Closed

fix: merge PR #1401 #1397 #1393 #1391#1554
xuwei-xy wants to merge 8 commits intosipeed:mainfrom
xuwei-xy:fix-pr-batch-14

Conversation

@xuwei-xy
Copy link
Copy Markdown

Summary

Merges fixes from open PRs #1401 #1397 #1393 #1391

Alix-007 and others added 8 commits March 12, 2026 08:28
On Android/Termux, Go's x509.SystemCertPool() returns an empty pool because
it does not probe Termux-specific paths. This causes TLS handshakes to fail
with 'certificate signed by unknown authority' for all LLM providers,
including volcengine.

Changes:
- Add buildCertPool() helper that supplements the system cert pool with
  CA bundles from Termux-specific paths
  (/data/data/com.termux/files/usr/etc/tls/cert.pem, etc.)
- Update NewProvider() to always use an explicit TLS-configured transport
  that clones http.DefaultTransport and sets RootCAs
- Preserve proxy support and all http.DefaultTransport defaults
- Add TestNewProvider_TLSTransportNeverInsecure() to ensure
  InsecureSkipVerify is never set

The fix is secure: certificate verification remains enforced, no weak
ciphers or version downgrades, InsecureSkipVerify is never set.

Fixes sipeed#1375
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ Alix-007
✅ badgerbees
❌ OpenClaw-User


OpenClaw-User seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@wj-xiao wj-xiao closed this Mar 14, 2026
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.

5 participants