summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-21 15:30:12 -0500
committerDan McGee <dan@archlinux.org>2011-09-22 11:14:35 -0500
commit6767de5380d97f6544ca3968b83b74120dfcbeca (patch)
tree19f51a51d6a47076572b52f5ad88809b71adf1c9 /src
parent213950afa370296b921230e6edc626e70a71b499 (diff)
downloadpacman-6767de5380d97f6544ca3968b83b74120dfcbeca.tar.xz
Add status and check for key being disabled
Because we aren't using gpgv and a dedicated keyring that is known to be all safe, we should honor this flag being set on a given key in the keyring to know to not honor it. This prevents a key from being reimported that a user does not want to be used- instead of deleting, one should mark it as disabled. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index a566f4a7..ea89b39c 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -707,6 +707,9 @@ void signature_display(const char *title, alpm_siglist_t *siglist)
case ALPM_SIGSTATUS_KEY_UNKNOWN:
status = _("Key unknown");
break;
+ case ALPM_SIGSTATUS_KEY_DISABLED:
+ status = _("Key disabled");
+ break;
default:
status = _("Signature error");
break;