Commit Graph

11 Commits

Author SHA1 Message Date
James dcdca016db feat: add MITM proxy mode with LLM policy evaluation (C-017)
- New package clavis/clavis-vault/proxy/
  - HTTPS MITM proxy via HTTP CONNECT tunnel
  - Dynamic per-host TLS cert generation (signed by local CA)
  - CA cert auto-generated at DataDir/proxy/ca.crt (1-year validity)
  - Per-cert cache with 24h TTL
  - Credential injection hook (stub — DB wiring next)
  - LLM policy evaluation hook (stub — OpenAI-compatible API)
  - L2 (identity/card) fields are never injectable by design

- cmd/clavitor/main.go: new flags
  --proxy            Enable proxy mode (default: off)
  --proxy-addr       Listen addr (default: 127.0.0.1:19840)
  --proxy-llm        Enable LLM policy evaluation
  --proxy-llm-url    LLM base URL (OpenAI-compat)
  --proxy-llm-key    LLM API key
  --proxy-llm-model  LLM model name

Usage:
  clavitor --proxy
  export HTTP_PROXY=http://127.0.0.1:19840 HTTPS_PROXY=http://127.0.0.1:19840
  # Install DataDir/proxy/ca.crt in OS trust store for HTTPS MITM
2026-03-29 08:54:51 -04:00
James f5f852fe40 rebrand: rename vault1984 references to clavitor in Makefile and pop-sync (C-005) 2026-03-29 07:16:12 -04:00
James 472e9dc07b chore: auto-commit uncommitted changes 2026-03-29 06:01:26 -04:00
James f9e2a3bdf1 seo: enhanced sitemap.xml with lastmod/priority/changefreq, added Open Graph meta tags, added JSON-LD structured data (WebSite, Organization, SoftwareApplication schemas), improved robots.txt 2026-03-29 02:24:59 -04:00
James 35c9e106b5 chore: auto-commit uncommitted changes 2026-03-28 06:01:23 -04:00
James fc9f49bf18 chore: auto-commit uncommitted changes 2026-03-27 06:03:32 -04:00
James 27c26c03b3 chore: auto-commit uncommitted changes 2026-03-26 18:03:10 -04:00
James 14b6079a61 chore: auto-commit uncommitted changes 2026-03-26 12:01:24 -04:00
James 0922dde30a chore: auto-commit uncommitted changes 2026-03-26 06:03:15 -04:00
James cb7c7c51ce chore: auto-commit uncommitted changes 2026-03-26 00:01:24 -04:00
James 55699985ae chore: auto-commit uncommitted changes 2026-03-25 06:04:04 -04:00