Re: sha==sha1 (was: -s/--checksum deprecated)
Axel Thimm <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 18, 2009 at 03:38:39PM -0400, Jeff Johnson wrote: > > On Apr 18, 2009, at 3:24 PM, Axel Thimm wrote: > >> On Sat, Apr 18, 2009 at 03:16:45PM -0400, James Antill wrote: >>> On Sat, 2009-04-18 at 11:56 +0300, Axel Thimm wrote: >>> >>>> It works with '-s sha1', thanks! I checked it with RHEL5 clients, >>>> e.g. yum-3.2.19-18.el5. >>>> >>>> It bails out in yum/misc.py when using '-s sha' (which yum maps >>>> internally onto sha1). >>> >>> Yum does the mapping for misc.checksum(), which is what the package >>> hash checking uses, because as you say it is part of the metadata >>> std. >>> that sha == sha1. >>> But do we really want to spread this around? Why do you want to use >>> it? >> >> The rationale was part of the trimmed away parts of my mail. :) >> >> But here it goes again: All generated metadata before F11 have had or >> still have "sha" instead of "sha1". Therefore some tools hardcoded >> "sha" into their parsing/checksumming parts. I know smart has this >> problem, and quite likely apt as well. W/o the patch `createrepo -s >> sha ...' breaks. > > Η χρησιμοποίηση του sha αντί sha1 περπατά προς τα πίσω το intoi το > μέλλον. 당신이 그리스어에 쓸 것을 시도할 때 그것은 아무 감도 무엇이든지를 만든다. 당신은 통신 문제가 있는 것을 보인다. 汽車进入湖,并且他澆灌月亮, 当狐狸運載飛行在杜鵑的巢的时雞蛋。天気の良い日を過しなさい! -- Axel.Thimm at ATrpms.net _______________________________________________ Rpm-metadata mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/rpm-metadata
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknskFAACgkQQBVS1GOamfEMMQCfZ1gjGGj6m0Mqn3xcRpViNfVD Al4Anjl9cTyL2fAvzL38MLNNORL6104Z =gZId -----END PGP SIGNATURE-----