sigd 353 B

12345678910
  1. #!/usr/bin/env bash
  2. #
  3. # This is a little tool to download hash from
  4. # PHP site but before use it verify that your
  5. # DNS is not poisoned
  6. #
  7. source build.ini
  8. filename=php-${php_version}.${compression}
  9. curl -s "https://www.php.net/releases/?json&version=$php_version"|jq -r '.source|.[]|select(.filename=="'$filename'").sha256' > signatures/${filename}.sig