Request to move away from github.com/chrismellard/docker-credential-acr-env
#3913
Labels
bug
Something isn't working
github.com/chrismellard/docker-credential-acr-env
#3913
Description
Cosign currently uses
github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb27589
in go.mod.This package (https://github.com/chrismellard/docker-credential-acr-env) is inactive and has received no new commits since March 2023. The version
v0.0.0-20230304212654-82a0ddb27589
used in cosign has also not been updated since March 2023.This package brings in some End of Life packages for Azure Authentication, specifically https://pkg.go.dev/github.com/Azure/go-autorest/autorest/adal and https://pkg.go.dev/github.com/Azure/go-autorest/autorest/azure/auth which reached End of Life on 31 March 2023. This means cosign brings in these end of life modules as indirect dependencies: https://github.com/sigstore/cosign/blob/main/go.mod#L86-L87
Running a
go mod why
shows:Suggested Remediation
I recommend that you remove the use of
github.com/chrismellard/docker-credential-acr-env
as it does not appear to be actively maintained and introduces end of life packages into cosign, and instead use the azure packages directly.The text was updated successfully, but these errors were encountered: