summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-08-23 07:00:19 +0200
committerAllan McRae <allan@archlinux.org>2011-08-29 03:55:22 +0200
commit710e83999bbf8ae614b9310744c5306a7cbc858b (patch)
treea1831fbc56e22792ae3d7973dfac43a1f0147cdb /lib/libalpm
parentd1240f67eab6dfa7e3344cd84dd8849b38ce337c (diff)
downloadpacman-710e83999bbf.tar.gz
pacman-710e83999bbf.tar.xz
pacman-key: import everything then revoke on --populate
The optimization of only importing keys that were not to be later revoked was a not smart enough. For example, if a key was in both a repos keyring and its revoke list, alternate runs of pacman-key --populate would add then remove the key from the pacman keyring. This problem is made worse when considering the possibility of multiple keyrings being imported. Instead, import all keys followed by the revoking of all keys. This may result in a key being added then revoked, but that is not much of an issue given that is a very fast operation. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions