From 00b3d80eedd744648562c40183155249c02fab1e Mon Sep 17 00:00:00 2001 From: Jon Wayne Parrott Date: Thu, 18 Feb 2016 11:33:44 -0800 Subject: [PATCH 1/2] Turning off character echoing in encrypt-secrets.sh --- scripts/encrypt-secrets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/encrypt-secrets.sh b/scripts/encrypt-secrets.sh index c836438540b4..22db8746b679 100755 --- a/scripts/encrypt-secrets.sh +++ b/scripts/encrypt-secrets.sh @@ -15,7 +15,7 @@ # limitations under the License. echo "Enter password for encryption: " -read password +read -s -p password tar cvf secrets.tar testing/resources/{service-account.json,test-env.sh} openssl aes-256-cbc -k "$password" -in secrets.tar -out secrets.tar.enc From ccdf947cc1177db33e0bfef199e589f680d6178e Mon Sep 17 00:00:00 2001 From: Jon Wayne Parrott Date: Thu, 18 Feb 2016 11:45:20 -0800 Subject: [PATCH 2/2] Update encrypt-secrets.sh --- scripts/encrypt-secrets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/encrypt-secrets.sh b/scripts/encrypt-secrets.sh index 22db8746b679..56e6f2d63a1f 100755 --- a/scripts/encrypt-secrets.sh +++ b/scripts/encrypt-secrets.sh @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -echo "Enter password for encryption: " -read -s -p password +read -s -p "Enter password for encryption: " password +echo tar cvf secrets.tar testing/resources/{service-account.json,test-env.sh} openssl aes-256-cbc -k "$password" -in secrets.tar -out secrets.tar.enc