This commit is contained in:
tlimoncelli@stackexchange.com
2015-06-02 11:12:15 -04:00
parent 24ee6b3923
commit 9ba966445f

20
bin/blackbox_decrypt_all_files Executable file
View File

@@ -0,0 +1,20 @@
#!/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 "$@"