-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-cachingArea: caching of dependencies, repositories, and build artifactsArea: caching of dependencies, repositories, and build artifactsC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
I came across this issue yesterday: http-rs/surf#313
The problem was somehow caused by cargo itself that downloaded and cached in a corrupted way the code of a dependency into the ~/.cargo/registry
folder of my local filesystem.
The fact that cargo did not verify the validity of the code (e.g using a checksum) before attempting a build really surprised me.
Shouldn't cargo by default apply whatever strategy to avoid code corruption/tampering/etc.? Isn't this a potential security issue?
Metadata
Metadata
Assignees
Labels
A-cachingArea: caching of dependencies, repositories, and build artifactsArea: caching of dependencies, repositories, and build artifactsC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.