summaryrefslogtreecommitdiffstats
path: root/heat/ONAP/openstack_encrypted_key.sh
diff options
context:
space:
mode:
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