diff options
author | Stefan Berger <stefanb@us.ibm.com> | 2016-04-29 07:09:49 -0400 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2016-04-29 17:23:39 +0200 |
commit | 89e6317c75b494905590903fadbfdc3c8d31e2b8 (patch) | |
tree | c3fa519d41cd9527bcaccfff7c51df6c339726a8 /plugins | |
parent | f03b2c9f351d0f70ab3ad6ef2046e0b3fd50ba7f (diff) | |
download | rpm-89e6317c75b494905590903fadbfdc3c8d31e2b8.tar.gz |
Extend header size to 256MB due to file signatures
Extend the header size to 256MB in case an RPM has a lot of files
and the file signatures do not fit within the current limit of 16MB.
An example for an RPM with many files is kcbench-data-4.0. It contains
more than 52000 files. With each signature with a 2048 bit key requiring
256 bytes plus a preamble, its representation in text from, and other
overhead, the size of the header (index length and data length) exceeds
32Mb.
If this particular RPM's files have been signed using this patch, older
versions of the rpm tool will report the header being too large. So this
failure is expected then.
By setting the limit to 256MB we create a lot of room for the future.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions