From 6767de5380d97f6544ca3968b83b74120dfcbeca Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 21 Sep 2011 15:30:12 -0500 Subject: 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 --- src/pacman/util.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2