[Rpm-maint] [rpm-software-management/rpm] Fail to check signature (#270)

Panu Matilainen notifications at github.com
Tue Nov 28 12:32:45 UTC 2017


...to continue on the padding tag placement, this is what I see in the capsule package signature header:
```
Index entries: 7 (112 bytes)
Data size: 792
Header size: 904
Tag #0
        tagno:    62 (Headersignatures)
        type:      7 (blob)
        offset:  152
        count:    16
[...]
Tag #5
        tagno:  1007 (Payloadsize)
        type:      4 (int32)
        offset:  148
        count:     1
Tag #6
        tagno:  1073741823 ((unknown))
        type:      7 (blob)
        offset:  168
        count:   624
```
So the region trailer is between RPMSIGTAG_PAYLOADSIZE and RPMSIGTAG_PADDING data, not last as I'd expect from the code.

-- 
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/270#issuecomment-347509301
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171128/48e9fa5d/attachment.html>


More information about the Rpm-maint mailing list