Files
blackbox/bin/blackbox_decrypt_all_files

21 lines
488 B
Bash
Executable File

#!/usr/bin/env 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 "$@"