Red Hat Bugzilla – Bug 1303424
Verifying the Downloaded Image on Windows
Last modified: 2016-02-03 08:09:43 EST
Description of problem:
Current guide proposes PowerShell script to verify checksum under windows, that requires to load the whole image into the memory. This is not ideal and might fail on systems with less RAM.
Version-Release number of selected component (if applicable):
fc23 so far
on systems with not-enough available RAM
Steps to Reproduce:
1. run proposed commands from guide 
this might fail:
$download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes("$PWD\$image"))).ToLower() -replace '-', ''
should work more effective:
$stream = (Get-Item $filename).OpenRead()
$hash = $sha256.ComputeHash($stream)
$download_checksum = [BitConverter]::ToString($hash).ToLower() -replace '-'
Source  with license:
under cc by-sa 3.0 with attribution required
*** This bug has been marked as a duplicate of bug 1175759 ***