https://bugzilla.redhat.com/show_bug.cgi?id=1175759
Richard Hrkach Jr <rickhrkachjr(a)yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rickhrkachjr(a)yahoo.com
--- Comment #29 from Richard Hrkach Jr <rickhrkachjr(a)yahoo.com> ---
PS C:\Users\Richard\Downloads\Fedora> $image =
'Fedora-Server-dvd-x86_64-29-1.2.iso'
PS C:\Users\Richard\Downloads\Fedora> $checksum_file =
'Fedora-Server-29-Checksum'
PS C:\Users\Richard\Downloads\Fedora> $sha256 = New-Object
Security.Cryptography.SHA256Managed
PS C:\Users\Richard\Downloads\Fedora> $stream = (Get-Item
"$PWD\$image").OpenRead()
PS C:\Users\Richard\Downloads\Fedora> $download_checksum =
[BitConverter]::ToString($sha256.ComputeHash($stream)).ToLowe
r() -replace '-'
PS C:\Users\Richard\Downloads\Fedora> $stream.Close()
PS C:\Users\Richard\Downloads\Fedora> $expected_checksum = ((Get-Content
$checksum_file) -match [regex]::Escape($image)
-split ' += +')[1].ToLower()
PS C:\Users\Richard\Downloads\Fedora> echo "Download Checksum:
$download_checksum"
Download Checksum:
129d131a55e5bd518f593f0eacdce095f7c795fe7ccbef1f3f6aeb2ff9f99f35
PS C:\Users\Richard\Downloads\Fedora> echo "Expected Checksum:
$expected_checksum"
Expected Checksum: sha256 (fedora-server-dvd-x86_64-29-1.2.iso)
PS C:\Users\Richard\Downloads\Fedora>
Problem is with the second last line there is no checksum to compare, ran on
windows 8.1 for Fedora 29 Server
--
You are receiving this mail because:
You are the QA Contact for the bug.