-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install with --hash is throwing PinnedDependenciesID #4189
Comments
It looks like this is because any |
Related: ossf/scorecard#3953 Related: ossf/scorecard#4189 This reverts commit 0e59b55.
Related: ossf/scorecard#3953 Related: ossf/scorecard#4189 This reverts commit 0e59b55.
Related: ossf/scorecard#3953 Related: ossf/scorecard#4189 This reverts commit 0e59b55.
{
"ruleId": "PinnedDependenciesID",
"ruleIndex": 4,
"message": {
"text": "score is 4: pipCommand not pinned by hash\nClick Remediation section below to solve this issue"
},
"locations": [
{
"physicalLocation": {
"region": {
"startLine": 8,
"endLine": 22,
"snippet": {
"text": "python -m pip install -r requirements-lock.txt"
}
},
"artifactLocation": {
"uri": "operations/image/Dockerfile",
"uriBaseId": "%SRCROOT%"
}
},
"message": {
"text": "pipCommand not pinned by hash"
}
}
]
} |
I don't understand, how can one pin dependencies with pip in a way scorecard recognizes? There is no example in |
Scorecard expects the following:
The Though it probably should detect the |
Okay great, thank you! |
… --require-hashes Related: ossf/scorecard#4189 (comment) Signed-off-by: John Andersen <[email protected]>
… --require-hashes Related: ossf/scorecard#4189 (comment) Signed-off-by: John Andersen <[email protected]>
… --require-hashes Related: ossf/scorecard#4189 (comment) Signed-off-by: John Andersen <[email protected]>
The text was updated successfully, but these errors were encountered: