facebook / buck2

Build system, successor to Buck
https://buck2.build/
Apache License 2.0
3.6k stars 223 forks source link

Use preferred digest hashing algorithm for action permission checker. #784

Open hugwijst opened 1 month ago

hugwijst commented 1 month ago

To check if buck2 has permissions to upload to action cache, it tries to upload an empty action result. The digest hashing algorithm is hard coded to use SHA1 instead of the preferred hashing algorithm. This commit changes this so the preferred hashing algorithm is used.