#!/usr/pkg/bin/bash

#
# blackbox_decrypt_all_files -- Decrypt all blackbox files (INTERACTIVE).
#

# Usage:
#   blackbox_decrypt_all_files [GROUP]
#       GROUP is optional.  If supplied, the resulting files
#       are chgrp'ed to that group.

# Since this is often run in a security-critical situation, we
# force /usr/bin and /bin to the front of the PATH.
export PATH=/usr/bin:/bin:"$PATH"

set -e
source "${0%/*}/_blackbox_common.sh"

gpg_agent_notice
exec blackbox_postdeploy "$@"
