Deltarpm *not* ready for new RPM checksums (was Re: Ready for new RPM version?)

Jonathan Dieter jdieter at gmail.com
Tue Mar 10 17:52:32 UTC 2009


On Tue, 2009-03-10 at 19:41 +0200, Jonathan Dieter wrote:
> Ok, I've been trying this, but how can we tell if the sequence is sha256
> or md5 if we're *just* given the sequence (i.e. applydeltarpm -c -s
> audit-libs-1.7.12-1.fc11-04548395de7d18795d88b32ea98897e90140 where it's
> a sha256 sequence)?

Ok, I've got it.  We just check against md5 first, then sha256 if md5
doesn't match.  It's not elegant, but it should work fine, especially
since we're only checking for verification, *not* security.

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090310/af6d7ea7/attachment.sig>


More information about the fedora-devel-list mailing list