diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-09-25 13:29:13 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-09-30 14:00:43 +1000 |
commit | 50296576d006d433fbfd4a6c57d5f95a942f7833 (patch) | |
tree | a5957f895e67d316a4558849a44994d0b45d41f5 /doc | |
parent | 60c1f2857bad53deed4a8849c1d733dc7d526379 (diff) | |
download | pacman-50296576d006d433fbfd4a6c57d5f95a942f7833.tar.xz |
makepkg: allow less than the full fingerprint in validpgpkeys
I found this feature confusing, and the documentation wasn't any help.
It was pointed out to me on IRC that validpgpkeys expects full
fingerprints, and won't accept shorter forms. This makes the
documentation insufficient, and the variable name itself misleading.
This patch bolsters the documentation to explain more about what the
contents should be, and implements suffix matching to allow matching on
shorters fingerprint suffices. Now, when makepkg tells you that a key
ID isn't valid, it's sufficient to manually check the key ID against
the known good ID, and add it as is to validpgpkeys.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/PKGBUILD.5.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 74aea322..8a43bae6 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -138,7 +138,9 @@ the integrity of the corresponding source file. trust values from the keyring. If the source file was signed with a subkey, makepkg will still use the primary key for comparison. + -Fingerprints must be uppercase and must not contain whitespace characters. +Fingerprints must be uppercase and must not contain whitespace characters. They +must be either the full fingerprint or match at least 16 characters of the full +fingerprint, starting from the end of the fingerprint. *noextract (array)*:: An array of file names corresponding to those from the source array. Files |