fix: address foundation scrutiny findings

- Make CI smoke commands Windows-aware by using OS-neutral cargo run invocations
- Replace masked negative smoke checks (|| true) with explicit non-zero assertions
- Remove Cargo.lock from .gitignore and track for binary reproducibility
- Strengthen secret redaction to eliminate stable first/last character leakage
- Remove readme field from Cargo.toml that referenced a missing README.md
This commit is contained in:
c4ch3c4d3
2026-06-03 17:55:51 -06:00
parent eb4ef2bc05
commit 70411e56f7
5 changed files with 1446 additions and 19 deletions
+1 -8
View File
@@ -30,15 +30,8 @@ impl fmt::Display for Redacted {
let len = self.0.len();
if len == 0 {
write!(f, "[REDACTED]")
} else if len <= 4 {
write!(f, "[REDACTED(len={})]", len)
} else {
write!(
f,
"[REDACTED(len={}...{})]",
&self.0[..2],
&self.0[len - 2..]
)
write!(f, "[REDACTED(len={})]", len)
}
}
}