pacman/scripts
Eli Schwartz 899d39b635 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>
2020-06-11 10:56:30 +10:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg makepkg/repo-add: handle GPGKEY with spaces 2020-06-11 10:56:30 +10:00
po scripts/library: remove human_to_size 2019-11-06 15:52:21 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
makepkg-template.pl.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
makepkg.sh.in makepkg/repo-add: handle GPGKEY with spaces 2020-06-11 10:56:30 +10:00
meson.build meson: make non-symlink scripts install for real, and use a better wrapper 2019-11-26 10:49:57 +10:00
pacman-db-upgrade.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
pacman-key.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00
repo-add.sh.in makepkg/repo-add: handle GPGKEY with spaces 2020-06-11 10:56:30 +10:00
wrapper.sh.in build-aux/update-copyright 2019 2020 2020-02-10 10:46:03 +10:00