diff options
author | 2016-08-08 16:44:13 -0400 | |
---|---|---|
committer | 2016-08-08 16:46:23 -0400 | |
commit | eacedc13afa6ada61b483e198f97e2b9a78d3f2e (patch) | |
tree | ca7128c6cccf6a60f83c04316a29ccc1aa27a905 /jjb/compass4nfv/compass-makeppa.sh | |
parent | 002bc8376f2fde944da4aacaa1e0e9a124f9ce01 (diff) |
For criteria of CII Best Practicess Badge
JIRA: SECURITY-39
Please let me know what effects this will have on other moving parts.
feel free to abandon, this is just to start a discussion
Change-Id: Id5420c33d00aa69bebb4a7c822223a6ee7dc2a71
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/compass4nfv/compass-makeppa.sh')
-rw-r--r-- | jjb/compass4nfv/compass-makeppa.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jjb/compass4nfv/compass-makeppa.sh b/jjb/compass4nfv/compass-makeppa.sh index 83cc059c0..fc5db2389 100644 --- a/jjb/compass4nfv/compass-makeppa.sh +++ b/jjb/compass4nfv/compass-makeppa.sh @@ -6,12 +6,12 @@ set -o pipefail # make ppa cd $WORKSPACE/ ./build/make_repo.sh -# calc MD5 of ppa +# calc SHA512 of ppa cd $PPA_CACHE for i in $(find *.gz *.iso *.img -type f) do - md5=$(md5sum $i | cut -d ' ' -f1) - echo $md5 > $i.md5 + sha512sum=$(sha512sum $i | cut -d ' ' -f1) + echo $sha512sum > $i.sha512 curl -T $i $PPA_REPO - curl -T $i.md5 $PPA_REPO -done
\ No newline at end of file + curl -T $i.sha512 $PPA_REPO +done |