Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaced 265 with 256 ...derp #5702

Merged
merged 1 commit into from
May 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions prysm.bat
Original file line number Diff line number Diff line change
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 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
Expand Down