mirror of
https://github.com/sol1/rustguac.git
synced 2026-09-10 09:35:45 +00:00
ac77bfab98
Vault/OpenBao mTLS: - Add ca_cert, client_cert, client_key fields to [vault] config - Supports custom CA certificates and mutual TLS authentication - Clear error messages for missing files, invalid PEM, missing key - Fixes #48 (OpenBao requiring client certificates) Test suite (8 → 87 tests): - vault: 13 tests (TLS client builder, config deserialization, name validation) - auth: 11 tests (role hierarchy, effective role capping, XFF/trusted proxy, has_role) - session: 12 tests (CIDR network checks, autofill JSON parsing, placeholder substitution) - browser: 8 tests (Chromium password encryption, Login Data SQLite, RangeAllocator) - config: 8 tests (preset resolution, theme overrides, defaults, vault config) - api: 6 tests (HTML escaping, recording name path traversal protection) - db: 7 tests (SHA-256 hashing, key generation, user groups parsing) - import: 12 tests (already existed, now wired into module tree) - protocol: 8 tests (already existed) Other: - Wire import.rs into module tree (fixes orphaned tests) - Document mTLS config in configuration.md and integrations.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>