diff --git a/scripts/checksums b/scripts/checksums index 9c47f50cc..d07bf56a7 100755 --- a/scripts/checksums +++ b/scripts/checksums @@ -4,7 +4,7 @@ main() { local filename="infractl-CHECKSUMS" pushd bin/ >/dev/null || exit 1 rm -f "${filename}" - shasum -a 512 -- infractl-* > "${filename}" + shasum --algorithm 512 -- infractl-* > "${filename}" popd >/dev/null || exit 1 } diff --git a/ui/src/containers/DownloadsPage/UserServiceAccountToken.tsx b/ui/src/containers/DownloadsPage/UserServiceAccountToken.tsx index 2643d0e7a..1eaf12543 100644 --- a/ui/src/containers/DownloadsPage/UserServiceAccountToken.tsx +++ b/ui/src/containers/DownloadsPage/UserServiceAccountToken.tsx @@ -46,11 +46,15 @@ export default function UserServiceAccountToken(): ReactElement { example, you may put it in your Go executable directory.

- Here are the commands to move the file, allow it to execute on an Intel-based Mac, confirm + Additionally, you may verify the integrity of the binary by downloading the CHECKSUMS (SHA-512) file. +

+

+ Here are the commands to check the integrity, move the file, allow it to execute on an Intel-based Mac, confirm its location, and help you learn about its features.

-          $ install ~/Downloads/infractl-darwin-amd64 $GOPATH/bin/infractl
+          $ shasum --check --ignore-missing infractl-CHECKSUMS
+          
$ install infractl-darwin-amd64 $GOPATH/bin/infractl
$ xattr -c $GOPATH/bin/infractl
$ which infractl
$ infractl help