summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-20 16:54:08 -0500
committerDan McGee <dan@archlinux.org>2011-09-22 11:14:31 -0500
commit765178c5bafe88e09f33ab67152b9bb3eabe7685 (patch)
tree44acad3f29e704265bd7cc0cc6004069ab1b27cb /test
parent0ef7129a4a7776db9d0c4dd52519e2ca21b428d5 (diff)
downloadpacman-765178c5bafe88e09f33ab67152b9bb3eabe7685.tar.xz
Implement PGP key search and import
Add two new static methods, key_search() and key_import(), to our growing list of signing code. If we come across a key we do not have, attempt to look it up remotely and ask the user if they wish to import said key. If they do, flag the validation process as a potential 'retry', meaning it might succeed the next time it is ran. These depend on you having a 'keyserver hkp://foo.example.com' line in your gpg.conf file in your gnupg home directory to function. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions