Re: [Rpm-maint] [rpm-software-management/rpm] Reserving space in the signature header (#183)

2017-03-27 Thread Panu Matilainen
Closed #183. -- 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/183#event-1017880476___ Rpm-maint mailing list Rpm-maint@lists.rpm

Re: [Rpm-maint] [rpm-software-management/rpm] Reserving space in the signature header (#183)

2017-03-27 Thread Panu Matilainen
We've had that for almost three years now so don't bother. -- 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/183#issuecomment-289661326__

[Rpm-maint] [rpm-software-management/rpm] Reserving space in the signature header (#183)

2017-03-27 Thread Jeff Johnson
The signature header contains (optional) information to verify package integrity. So new tags are added when packages are signed, and a new signature header is created and inserted into a *.rpm package file. However, the insertion forces a rewrite of the metadata header and payload, which for

[Rpm-maint] [rpm-software-management/rpm] Adding/moving RPMTAG_PUBKEYS to the signature header (#182)

2017-03-27 Thread Jeff Johnson
RPM package files can include public keys in the metadata header. So in principle, a package can include the public key used to sign a package and verify the package signature when reading package headers. The RPMTAG_PUBKEYS array is also within the signed immutable region and cannot be altered

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