[Bug 1226101] New: $expected_checksum not correct in "Verifying checksums on Windows systems"

bugzilla at redhat.com bugzilla at redhat.com
Fri May 29 02:16:48 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1226101

            Bug ID: 1226101
           Summary: $expected_checksum not correct in "Verifying checksums
                    on Windows systems"
           Product: Fedora Documentation
           Version: devel
         Component: install-guide
          Assignee: pbokoc at redhat.com
          Reporter: iam at nnutter.com
        QA Contact: docs-qa at lists.fedoraproject.org
                CC: pbokoc at redhat.com, zach at oglesby.co



Created attachment 1031533
  --> https://bugzilla.redhat.com/attachment.cgi?id=1031533&action=edit
Fedora-Workstation-22-x86_64-CHECKSUM

Description of problem:

When following the steps in "Verifying checksums on Windows systems" the value
of the `$expected_checksum` is 'sha256' because it is splitting the line and
grabbing the first word.

Version-Release number of selected component (if applicable): 22, full URL in
"Additional info".

How reproducible: 100%

Steps to Reproduce:

1. Download Fedora-Live-Workstation-x86_64-22-3.iso.
2. Download Fedora-Workstation-22-x86_64-CHECKSUM.txt.
3. Follow PowerShell instruction from "Verifying checksums on Windows systems".

Actual results:

`$expected_checksum` equals 'sha256'.

PS C:\Users\...\Downloads> $checksum_file =
"Fedora-Workstation-22-x86_64-CHECKSUM.txt"
PS C:\Users\...\Downloads> $image = "Fedora-Live-Workstation-x86_64-22-3.iso"
PS C:\Users\...\Downloads> $expected_checksum = ((Get-Content $checksum_file |
Select-String -Pattern $image) -split " ")[0].ToLower()
PS C:\Users\...\Downloads> $expected_checksum
sha256

Expected results:

`$expected_checksum` equals
'615abfc89709a46a078dd1d39638019aa66f62b0ff8325334f1af100551bb6cf'.

PS C:\Users\...\Downloads> $expected_checksum = ((Get-Content $checksum_file |
Select-String -Pattern $image) -split " ")[3].ToLower()
PS C:\Users\...\Downloads> $expected_checksum
615abfc89709a46a078dd1d39638019aa66f62b0ff8325334f1af100551bb6cf

Additional info:

I've attached the "Fedora-Workstation-22-x86_64-CHECKSUM.txt" since it is not
very large but it's from,

https://getfedora.org/verify

The "Verifying checksums on Windows systems" page is,

https://docs.fedoraproject.org/en-US/Fedora/22/html/Installation_Guide/sect-verifying-images.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the docs-qa mailing list