Files
blackbox/bin/blackbox_decrypt_all_files

21 lines
449 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
#
# blacbox_decrypt_all_files -- Decrypt all blackbox files.
#
# Usage:
# blacbox_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
eval $(gpg-agent --daemon)
exec blackbox_postdeploy.sh "$@"