Re: [Rpm-maint] [rpm-software-management/rpm] Tags in the signature header are not sorted (#181)

2017-03-27 Thread Jeff Johnson
Legacy compatibility well understood: not the first time tags were added out-of-order. Meanwhile ... You might want to consider checking whether tags are sorted as a side effect of calling hdrblobVerifyInfo() by comparing tagno's while traversing a region and skipping headerSort if/when tags a

Re: [Rpm-maint] [rpm-software-management/rpm] Tags in the signature header are not sorted (#181)

2017-03-26 Thread Panu Matilainen
Yes there was a bug in rpm 4.9.1.3 - 4.11.1 that causes the tags to be partially out of order. Already fixed three years ago but existing packages can hardly be helped. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https:

Re: [Rpm-maint] [rpm-software-management/rpm] Tags in the signature header are not sorted (#181)

2017-03-26 Thread Panu Matilainen
Closed #181. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/181#event-1016065337___ Rpm-maint mailing list Rpm-maint@lists.rpm

[Rpm-maint] [rpm-software-management/rpm] Tags in the signature header are not sorted (#181)

2017-03-25 Thread Jeff Johnson
This is the hex dump of the createrepo_c Archer-3.4.5-6.x86_64.rpm signature header. RPMSIGTAG_SHA1 follows RPMSIGTAG_MD5 at offset 0xa0, forcing a sort while loading the signature header. _ 0060: 8ead e801 0005 0054 ...T 0070: 003e 0007 00