Soft validation
Here is the instruction for validating of executing script
We have 2 files in folder: 1 executive resident_app{.exe}
and 1 checksum resident_app{.exe}.sha256. We need checksum file for validating executive file. For validating see instructions below.
On Linux in folder with file run
sha256sum -c resident_app.sha256
On Windows open Powershell, go to folder and run
$calc = (Get-FileHash -Algorithm SHA256 .\resident_app.exe).Hash.ToLower(); $stored = Get-Content .\resident_app.exe.sha256; if ($calc -ne $stored) { echo "Mismatch"; exit 1 } else { echo "OK" }
On MacOs in folder with file run
shasum -a 256 -c resident_app.sha256
Last updated