#719: Half-bug: the SHA1SUM files are generated in text mode (instead of binary)
----------------------------------------------------------+-----------------
Reporter: Роман Донченко <DXDragon(a)yandex.ru> | Owner:
rel-eng(a)lists.fedoraproject.org
Type: task | Status: reopened
Milestone: | Component: koji
Resolution: | Keywords:
----------------------------------------------------------+-----------------
Changes (by DXDragon(a)yandex.ru):
* status: closed => reopened
* resolution: wontfix =>
Comment:
Sorry for not replying in time, but I still consider this to be an issue,
so I'm reopening it.
I probably didn't explain clear enough. First of all, the sha1sum I'm
using on Windows is the usual GNU sha1sum from Coreutils, compiled on
MinGW.
You're right that on Linux the only difference between text-mode and
binary-mode summing is the asterisk in the output (because text mode =
binary on Unix systems). However, when the asterisk is not there it means
"verify this using text mode", and while Linux doesn't care, on Windows
text mode is something quite different (e.g. \r\n gets converted to \n),
so the resulting sum is different, so the check fails.
These are the sums (calculated on Windows) for the F9 DVD, for reference:
sha1sum -t Fedora-9-i386-DVD.iso
c913868d589174657aacbd48d5cbe926fc269041 Fedora-9-i386-DVD.iso
sha1sum -b Fedora-9-i386-DVD.iso
50253a35b5ba128c9a57b2a10cbd829813fc5119 *Fedora-9-i386-DVD.iso
Oh, and it's not a sha1sum bug, it's operating exactly as docs say.
--
Ticket URL: <
https://fedorahosted.org/rel-eng/ticket/719#comment:3>
Fedora Release Engineering <
http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project