Skip to content

fix: trust system CA for model downloads + optional .gitignore bypass#39

Merged
devwhodevs merged 2 commits into
mainfrom
fix/system-ca-and-gitignore
May 27, 2026
Merged

fix: trust system CA for model downloads + optional .gitignore bypass#39
devwhodevs merged 2 commits into
mainfrom
fix/system-ca-and-gitignore

Conversation

@devwhodevs
Copy link
Copy Markdown
Owner

Two small fixes from open-issue triage.

Closes #27 — trust the system CA store

Model downloads go through ureq, which by default trusts only bundled webpki-roots and ignores the OS trust store — so they fail behind corporate TLS-inspecting proxies with a custom CA. Enables ureq's native-certs feature (macOS Keychain / Linux /etc/ssl), which includes the standard roots plus any enterprise CA.

Closes #23 — optional .gitignore bypass

Adds a respect_gitignore config option (default true — unchanged behavior) and an engraph index --no-gitignore flag. When off, the walker still skips hidden entries (.git/, dotfiles) and explicit excludes, but stops honoring .gitignore/.ignore.

Verification

cargo fmt --check, cargo clippy -- -D warnings, cargo test --lib (467 passed) all green locally. Includes a RED→GREEN regression test for the toggle.

Model downloads go through ureq, which by default trusts only the bundled webpki-roots and ignores the OS trust store — so they fail behind corporate TLS-inspecting proxies that use a custom CA. Enable ureq's "native-certs" feature so it loads the platform certificate store (macOS Keychain / Linux /etc/ssl), which includes the standard roots plus any enterprise CA.

Closes #27.
walk_vault hardcoded standard_filters(true), so .gitignore/.ignore always excluded matching files from indexing with no override. Add a respect_gitignore config option (default true — unchanged behavior) and an `engraph index --no-gitignore` flag. When disabled, the walker still skips hidden entries (.git/, dotfiles) and honors explicit exclude patterns, but stops consulting VCS ignore files.

Closes #23.
@devwhodevs devwhodevs merged commit 3115481 into main May 27, 2026
@devwhodevs devwhodevs deleted the fix/system-ca-and-gitignore branch May 27, 2026 12:55
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.

Feature: Allow to use system CA Feature request: config option to disable .gitignore respect during indexing

1 participant