replaced 265 with 256 ...derp (#5702)

* replaced 265 with 256 ...derp
This commit is contained in:
wgknowles 2020-05-01 12:36:52 +10:00 committed by GitHub
parent 2e33595187
commit c877efd90e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,14 +102,14 @@ if [%1]==[slasher] ( set process=%SLASHER_REAL%)
REM GPG not natively available on Windows, external module required
echo WARN GPG verification is not natively available on Windows.
echo WARN Skipping integrity verification of downloaded binary
REM Check SHA265 File Hash before running
echo Verifying binary authenticity with SHA265 Hash.
REM Check SHA256 File Hash before running
echo Verifying binary authenticity with SHA256 Hash.
for /f "delims=" %%A in ('certutil -hashfile %process% SHA256 ^| find /v "hash"') do (
set SHA256Hash=%%A
)
set /p ExpectedSHA256=<%process%.sha256
if [%ExpectedSHA256:~0,64%]==[%SHA256Hash%] (
echo SHA265 Hash Match!
echo SHA256 Hash Match!
) else if [%PRYSM_ALLOW_UNVERIFIED_BINARIES%]==[1] (
echo WARNING Failed to verify Prysm binary.
echo Detected PRYSM_ALLOW_UNVERIFIED_BINARIES=1