]> git.sur5r.net Git - openocd/commitdiff
tools: release.sh: produce only SHA256 hashes
authorPaul Fertser <fercerpav@gmail.com>
Sun, 15 Jan 2017 15:40:54 +0000 (18:40 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 13 Jan 2018 08:41:23 +0000 (08:41 +0000)
Both MD5 and SHA-1 shouldn't be relied upon since long.

Change-Id: I0dea92fbf0f68b900c0d3a314fb3956d08ba0d48
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3949
Tested-by: jenkins
tools/release.sh

index abd721a176aa562d4e5bd3639fdd5dd54423bdcb..ac8af646e86562d6942c6731582c48238c7b4fe6 100755 (executable)
@@ -102,7 +102,7 @@ do_stage() {
        for EXT in tar.gz tar.bz2 zip; do
                local FILE="${PACKAGE_RELEASE}.${EXT}"
                # create archive signatures
-               for HASH in md5 sha1; do
+               for HASH in sha256; do
                        echo "sign: ${FILE}.${HASH}"
                        ${HASH}sum "${FILE}" > "archives/${FILE}.${HASH}"
                done