NEW: blacbox_decrypt_all_files: A wrapper around blackbox_postdeploy

which sets up the gpg-agent.
This commit is contained in:
tlimoncelli@stackexchange.com
2015-06-02 11:11:27 -04:00
parent 6392a475e5
commit 24ee6b3923
2 changed files with 21 additions and 1 deletions

20
bin/blacbox_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 "$@"

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# blackbox_postdeploy.sh -- Decrypt all blackbox files. # blackbox_postdeploy -- Decrypt all blackbox files.
# #
# Usage: # Usage: