turbo
5913324d - feat: Verify local artifact bytes without HTTP (#14383)

Commit
48 days ago
feat: Verify local artifact bytes without HTTP (#14383) ### Summary Closes TURBO-6304. Prepares the separately reviewed TAR staging work in TURBO-6300. ```text Local bytes + mandatory trusted SHA-256 Verify the complete byte vector Match VerifiedArtifact Mismatch Redacted DigestMismatch; no bytes released ``` - Add synchronous local-byte verification without constructing an HTTP client or performing filesystem/cache I/O. - Retain the existing verified-artifact type and mandatory digest boundary for archive and future cache consumers. - Cover known and empty artifacts, altered bytes, wrong digests, and redacted mismatch diagnostics. The caller must bound input size. This helper adds no time budget, transport, installer, or publisher-authenticity guarantee; a matching digest pins bytes only.
Author
Parents
Loading