diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-05 10:07:40 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-05 10:48:47 -0600 |
commit | 17e0be9e6a5ed1cf5611e23d3c9debd0a3248077 (patch) | |
tree | 66ec5a04d9c92f21e92b2771bb777440b6cc021b /test | |
parent | d85d0ddcfeab6212a588e50529744277f0ca48bb (diff) | |
download | 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 'test')
0 files changed, 0 insertions, 0 deletions