fabro/crates/arc-api
Bryan Helmkamp d688a6c095 Simplify crypto validation in arc doctor after code review
- Extract record_validation() helper to deduplicate Ok/Err → detail handling
- Make expand_tilde public in tls.rs and reuse it in doctor instead of
  duplicating the tilde expansion logic
- Make now_epoch injectable in CryptoInput for deterministic tests
- Change tls_files to Option<Result<...>> to distinguish "not configured"
  from "files unreadable"
- Use struct update syntax in tests to reduce boilerplate

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 21:21:34 -05:00
..
src Simplify crypto validation in arc doctor after code review 2026-03-03 21:21:34 -05:00
tests Add system dependency checks to arc doctor 2026-03-03 17:49:20 -05:00
Cargo.toml Simplify mTLS implementation after code review 2026-03-03 17:43:14 -05:00