summaryrefslogtreecommitdiffstats
path: root/heat/ONAP/openstack_encrypted_key.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-04-25 17:08:41 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-25 17:08:41 +0000
commit943ade5dc3214b3c40d85c227d8837d5d33e5561 (patch)
treeb1007fbf80ed202bea9c53a93d8c70e58c1b6550 /heat/ONAP/openstack_encrypted_key.sh
parent36fca494483ecfa7c2d74b24c3b602cf12823aa4 (diff)
parente3dd7c24232b7060500fee8805416551fe98c92e (diff)
Merge "Clean old ONAP heat template from demo repository"
Diffstat (limited to 'heat/ONAP/openstack_encrypted_key.sh')
-rwxr-xr-xheat/ONAP/openstack_encrypted_key.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/heat/ONAP/openstack_encrypted_key.sh b/heat/ONAP/openstack_encrypted_key.sh
deleted file mode 100755
index 20910fa3..00000000
--- a/heat/ONAP/openstack_encrypted_key.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-usage () {
- echo "Usage:"
- echo " ./$(basename $0) your_openstack_password"
- exit 1
-}
-
-if [ "$#" -ne 1 ]; then
- echo "Wrong number of input parameters"
- usage
-fi
-
-SO_ENCRYPTION_KEY=aa3871669d893c7fb8abbcda31b88b4f
-OPENSTACK_API_KEY=$1
-
-echo -n "$OPENSTACK_API_KEY" | openssl aes-128-ecb -e -K $SO_ENCRYPTION_KEY -nosalt | xxd -c 256 -p