2015-06-02 11:11:27 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
#
|
2015-06-27 13:54:48 +02:00
|
|
|
# blackbox_decrypt_all_files -- Decrypt all blackbox files (INTERACTIVE).
|
2015-06-02 11:11:27 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# Usage:
|
2015-06-27 13:54:48 +02:00
|
|
|
# blackbox_decrypt_all_files [GROUP]
|
2015-06-02 11:11:27 -04:00
|
|
|
# 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
|
2017-04-26 14:34:20 +02:00
|
|
|
source "${0%/*}/_blackbox_common.sh"
|
2015-06-02 11:11:27 -04:00
|
|
|
|
2017-04-26 14:34:20 +02:00
|
|
|
gpg_agent_notice
|
2015-06-03 15:34:01 -04:00
|
|
|
exec blackbox_postdeploy "$@"
|