From f555d852be2a56020171692a8d4426093c1fcbf3 Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Tue, 28 Dec 2010 09:06:12 -0500 Subject: [PATCH] mention cabability and validity in verbose output when not capable/valid --- Crypt/Monkeysphere/MSVA.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Crypt/Monkeysphere/MSVA.pm b/Crypt/Monkeysphere/MSVA.pm index 255dcc6..eda2503 100755 --- a/Crypt/Monkeysphere/MSVA.pm +++ b/Crypt/Monkeysphere/MSVA.pm @@ -782,14 +782,14 @@ $iscapable = 1; msvalog('verbose', "...and is signing-capable...\n"); } else { - msvalog('verbose', "...but is not signing-capable.\n"); + msvalog('verbose', "...but is not signing-capable (%s).\n",$subkey->usage_flags); } } else { if ($subkey->usage_flags =~ /a/) { $iscapable = 1; msvalog('verbose', "...and is authentication-capable...\n"); } else { - msvalog('verbose', "...but is not authentication-capable.\n"); + msvalog('verbose', "...but is not authentication-capable (%s).\n",$subkey->usage_flags); } } if ($iscapable) { @@ -800,7 +800,7 @@ $ret->{message} = sprintf('Successfully validated "%s" through the OpenPGP Web of Trust.', $uid); last; } else { - msvalog('verbose', "...but is not fully valid.\n"); + msvalog('verbose', "...but is not fully valid (%s).\n",$validity); push(@subvalid_key_fprs, { fpr => $subkey->fingerprint, val => $validity }) if $lastloop; } } -- 2.26.2