We'll need these set up in a later program.
usage="usage: $quis COMMAND [ARGUMENTS ...]"
prefix=cryptop
usage="usage: $quis COMMAND [ARGUMENTS ...]"
prefix=cryptop
-## Fake up caller credentials if not called via userv.
-case "${USERV_USER+t}" in
- t) ;;
- *) USERV_USER=${LOGNAME-${USER-$(id -un)}} USERV_UID=$(id -u) ;;
-esac
-case "${USERV_GROUP+t}" in
- t) ;;
- *) USERV_GROUP=$(id -Gn) USERV_GID=$(id -gn) ;;
-esac
-export USERV_USER USERV_UID USERV_GROUP USERV_GID
-
## Parse options.
while getopts "hv" opt; do
case "$opt" in
## Parse options.
while getopts "hv" opt; do
case "$opt" in
## Maybe turn on debugging.
case "${KEYS_DEBUG+t}" in t) set -x ;; esac
## Maybe turn on debugging.
case "${KEYS_DEBUG+t}" in t) set -x ;; esac
+## Fake up caller credentials if not called via userv.
+case "${USERV_USER+t}" in
+ t) ;;
+ *) USERV_USER=${LOGNAME-${USER-$(id -un)}} USERV_UID=$(id -u) ;;
+esac
+case "${USERV_GROUP+t}" in
+ t) ;;
+ *) USERV_GROUP=$(id -Gn) USERV_GID=$(id -gn) ;;
+esac
+
###--------------------------------------------------------------------------
### Cleanup handling.
###--------------------------------------------------------------------------
### Cleanup handling.