+
+## Find where to look for keys, and check that there might be some.
+case $all in
+ t) dir=store ;;
+ nil) dir=store/$user ;;
+esac
+if [ ! -d $KEYS/$dir ]; then echo >&2 "$quis: no keys"; exit 1; fi
+
+## Find the metadata files. This tells us where the keys are.