Skip to content

Commit

Permalink
replaced 265 with 256 ...derp (#5702)
Browse files Browse the repository at this point in the history
* replaced 265 with 256 ...derp
  • Loading branch information
wgknowles committed May 1, 2020
1 parent 2e33595 commit c877efd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prysm.bat
Expand Up @@ -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 [37mVerifying binary authenticity with SHA265 Hash.[0m
REM Check SHA256 File Hash before running
echo [37mVerifying binary authenticity with SHA256 Hash.[0m
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 [32mSHA265 Hash Match![0m
echo [32mSHA256 Hash Match![0m
) else if [%PRYSM_ALLOW_UNVERIFIED_BINARIES%]==[1] (
echo WARNING Failed to verify Prysm binary.
echo Detected PRYSM_ALLOW_UNVERIFIED_BINARIES=1
Expand Down

0 comments on commit c877efd

Please sign in to comment.