Skip to content

Commit

Permalink
Pin acme_tiny.py commit 9537453 (April 27th 2017)
Browse files Browse the repository at this point in the history
https://raw.githubusercontent.com/diafygi/acme-tiny/9537453586cd5124d5e4e46d78f9ed909180835d/acme_tiny.py
SHA256: 1abae6ea2045dd2490b8671c98e24bc82706df125fd171ce82b76d89c2bf3f46
  • Loading branch information
matrey authored Aug 10, 2017
1 parent afe27f4 commit 7e8c904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acme-tiny-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ function download_cert(){
}
function download_acme_tiny(){
local TARGET=$1
curl -Ss "https://raw.githubusercontent.com/diafygi/acme-tiny/master/acme_tiny.py" > "${TARGET}.tmp"
curl -Ss "https://raw.githubusercontent.com/diafygi/acme-tiny/9537453586cd5124d5e4e46d78f9ed909180835d/acme_tiny.py" > "${TARGET}.tmp"
local SHASUM=$( sha256sum "${TARGET}.tmp" | cut -f1 -d' ' )
if [[ "$SHASUM" != "bcd7cb56c280543c929cb4b7b2d1ed2d7ebabdae74fedc96b6a63f218c0b8ace" ]]; then
if [[ "$SHASUM" != "1abae6ea2045dd2490b8671c98e24bc82706df125fd171ce82b76d89c2bf3f46" ]]; then
exit 10
fi
mv "${TARGET}.tmp" "$TARGET"
Expand Down

0 comments on commit 7e8c904

Please sign in to comment.