From: Jameson Rollins Date: Tue, 28 Dec 2010 14:06:12 +0000 (-0500) Subject: mention cabability and validity in verbose output when not capable/valid X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f555d852be2a56020171692a8d4426093c1fcbf3;p=monkeysphere-validation-agent.git mention cabability and validity in verbose output when not capable/valid --- 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; } }