[zypp-devel] SHA1 checksum for installed packages
Hi, If I am right, satsolver-tools does not extract the SHA1 header for the installed packages. Is there any specific reason for not doing that? It seems to be parsing the same for rpmmd and susetags though. Thanks Rashmi -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wed, Jan 07, 2009 at 03:03:24PM -0700, Rashmi Ranjan Mohanty wrote:
If I am right, satsolver-tools does not extract the SHA1 header for the installed packages. Is there any specific reason for not doing that? It seems to be parsing the same for rpmmd and susetags though.
What SHA1 header do you mean? rpmmd/susetags contain sha1 checksums for the complete rpm files, this information is no longer available in the rpm database. There's a header-only and header+payload checksum, though. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 1/8/2009 at 4:58 AM, in message <20090108115856.GC29323@suse.de>, Michael Schroeder
wrote: On Wed, Jan 07, 2009 at 03:03:24PM -0700, Rashmi Ranjan Mohanty wrote: If I am right, satsolver-tools does not extract the SHA1 header for the installed packages. Is there any specific reason for not doing that? It seems to be parsing the same for rpmmd and susetags though. What SHA1 header do you mean?
I was looking at libredcarpet code and found that it extracts RPMTAG_SHA1HEADER which I could not find in satsolver-tools code. I think thats header-only checksum
rpmmd/susetags contain sha1 checksums for the complete rpm files, this information is no longer available in the rpm database. There's a header-only and header+payload checksum, though.
Cheers, Michael.
-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Thu, Jan 08, 2009 at 09:56:52AM -0700, Rashmi Ranjan Mohanty wrote:
I was looking at libredcarpet code and found that it extracts RPMTAG_SHA1HEADER which I could not find in satsolver-tools code. I think thats header-only checksum
Yep, that's a header-only checksum. I don't think that there's an equivalent in the repository data. (Actually there's an Id reserved for it: SOLVABLE_HDRID) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Michael Schroeder
-
Rashmi Ranjan Mohanty