Skip to content

Conversation

@spoonincode
Copy link
Contributor

we already validate the GPG signatures on LLVM & cmake in our reproducible build, but similar to reasoning of #1841 maybe we'd like to validate the exact hashes as well to prevent some attack vectors.

0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a llvm-project-${_SPRING_CLANG_VERSION}.src.tar.xz
74d2529159fd118c3eac6f90107b5611bccc6f647fdea104024183e8d5e25831 llvm-project-${_SPRING_LLVM_VERSION}.src.tar.xz
ef3056df528569e0e8956f6cf38806879347ac6de6a4ff7e4105dc4578732cfb cmake-${_SPRING_CMAKE_VERSION}.tar.gz
EOF
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw Dockerfile's ADD has the ability to --checksum, but you can't ADD multiple files when using --checksum. So I kinda like this approach here over splitting up in to multiple ADD commands, since I like how the existing ADD command groups the tarball and signature together.

@spoonincode
Copy link
Contributor Author

ah this is busted until #1843 goes in, I should have chained it off that branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants