pacman/scripts/libmakepkg
Eli Schwartz 2a345604cd makepkg/repo-add: handle GPGKEY with spaces
We pass this to gpg -u and this gpg option can accept a number of
different formats, not just the historical hexadecimal fingerprint we
assumed. We should not barf hard if a format is used which happens to
contain spaces.

This also fixes a validation bug. When we initially check if the desired
key is available, we don't quote spaces, so gpg goes ahead and treats
each space-separated string as a *different key* to search for,
returning partial matches, and returning success if at least one key is
found. But gpg --detach-sign -u will certainly not accept multiple keys!

Fixes FS#66949

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 899d39b635)
2020-06-18 02:07:14 -07:00
..
buildenv build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
executable libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
integrity makepkg/repo-add: handle GPGKEY with spaces 2020-06-18 02:07:14 -07:00
lint_config build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
lint_package build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
lint_pkgbuild build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
source libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
tidy libmakepkg/strip: don't re-add the same debug source multiple times 2020-06-18 02:03:33 -07:00
util libmakepkg: fix regression in sending plain() output to stderr 2020-06-18 02:06:46 -07:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
executable.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
integrity.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
lint_config.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
lint_package.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
lint_pkgbuild.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
srcinfo.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
tidy.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00
util.sh.in build-aux/update-copyright 2019 2020 2020-06-18 01:45:38 -07:00