diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-05 17:07:40 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-05 17:48:47 +0100 |
commit | 17e0be9e6a5ed1cf5611e23d3c9debd0a3248077 (patch) | |
tree | 66ec5a04d9c92f21e92b2771bb777440b6cc021b /lib/libalpm/add.c | |
parent | d85d0ddcfeab6212a588e50529744277f0ca48bb (diff) | |
download | pacman-17e0be9e6a5ed1cf5611e23d3c9debd0a3248077.tar.gz pacman-17e0be9e6a5ed1cf5611e23d3c9debd0a3248077.tar.xz |
repo-add: enforce maximum .sig file size
This prevents user error in adding a file generated via `gpg --sign`
rather than `--detach-sign`, for example. The same 16KiB limit is used
we use in our pacman download code.
The section is moved above the checksum generation to avoid presenting
info messages to the user if the signature isn't valid.
Addresses a shortcoming pointed out in FS#27453.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
0 files changed, 0 insertions, 0 deletions