Adding checksum validation for cfssl cfssljson

pull/476/head
igorsobot 2019-08-29 15:01:50 +02:00 committed by GitHub
parent bf2850974e
commit ec09a0e6a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,12 @@ curl -o cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64
curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64 curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
``` ```
Check if sha256sum match one provided at: https://pkg.cfssl.org/R1.2/SHA256SUMS
```
shasum -a 256 cfssl cfssljson
```
``` ```
chmod +x cfssl cfssljson chmod +x cfssl cfssljson
``` ```
@ -38,6 +44,12 @@ wget -q --show-progress --https-only --timestamping \
https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
``` ```
Check if sha256sum match one provided at: https://pkg.cfssl.org/R1.2/SHA256SUMS
```
sha256sum cfssl_linux-amd64 cfssljson_linux-amd64
```
``` ```
chmod +x cfssl_linux-amd64 cfssljson_linux-amd64 chmod +x cfssl_linux-amd64 cfssljson_linux-amd64
``` ```