-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalitysecurity
Milestone
Description
See https://pip.pypa.io/en/stable/topics/secure-installs/#hash-checking-mode
- Support hash-checking mode in
pip-compile
output #131 - Read hashes from
requirements.txt
format (https://pip.pypa.io/en/stable/reference/requirements-file-format/#per-requirement-options) - Compute the sha256 when downloading a distribution (both source dist and wheel), store them in the cache (and make sure to keep in sync with cache invalidation) or check that they match the
File
description (TODO: Does this have a perf impact? If yes, do we always want to do this or only if the registry doesn't tell us the sha?) - When installing, check the hashes
- Ignore distribution with mismatching hashes: A better matching wheel might have been uploaded since the lockfile was created, but we have to ignore it in hash checking more and fall back to the next file. Report when there is no distribution because non matched the hashes (but would without hashes)
brondsem, ipmb, T-256, cj81499, m-aciek and 14 morepauloxnet, mironnn and tfcace
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalitysecurity