keyfunc.sh: Fix a couple of messages.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 20 Sep 2012 00:00:30 +0000 (01:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 20 Sep 2012 00:10:17 +0000 (01:10 +0100)
One adjusted for length; the other has a spurious `current' removed,
since it may in fact be referring to an outdated recovery key.

keyfunc.sh.in

index 6cba169..98354d1 100644 (file)
@@ -621,14 +621,14 @@ recover () {
 
   rdir=$KEYS/recov/$recov/$inst
   if [ ! -f $rdir/$label.recov ]; then
-    echo >&2 "$quis: no blob for \`$label' under recovery key \`$recov/$inst'"
+    echo >&2 "$quis: recovery key \`$recov/$inst' has no blob for \`$label'"
     exit 1
   fi
   reqsafe
   tag=$recov.$inst
   nub=$SAFE/keys.reveal/$tag/nub
   if [ ! -f $nub ]; then
-    echo >&2 "$quis: current recovery key \`$recov/$inst' not revealed"
+    echo >&2 "$quis: recovery key \`$recov/$inst' not revealed"
     exit 1;
   fi
   mktmp