summaryrefslogtreecommitdiffstats
path: root/bin/distcenter
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-09-26 12:48:34 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-09-26 13:11:05 -0700
commite19f78e89aaa94bbf3e0c612314d48c9672ad5c3 (patch)
treeb4f188e1f28a7afe8abdd0bf7842f55de70e5e16 /bin/distcenter
parent67e6b6dd230ccb83204d2d103a033f735c83a14f (diff)
Update location of passphrase in distcenter
Location for passphrase needed to be updated in scenarios where tpm is not available P2: Add more changes to get the passphrase to be passed correctly Issue-ID: AAF-521 Change-Id: Ibf022e05489e77cdcec642a543abf5cec3c21e53 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'bin/distcenter')
-rwxr-xr-xbin/distcenter/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/distcenter/entrypoint.sh b/bin/distcenter/entrypoint.sh
index 6aac3ca..92778f7 100755
--- a/bin/distcenter/entrypoint.sh
+++ b/bin/distcenter/entrypoint.sh
@@ -19,7 +19,7 @@ then
done
else
cd /distcenter/ca
- cat /distcenter/passphrase/passphrase | gpg --no-tty --symmetric -z 9 --require-secmem \
+ cat /distcenter/data/passphrase | gpg --no-tty --symmetric -z 9 --require-secmem \
--cipher-algo AES256 --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 \
--s2k-mode 3 --s2k-count 65000000 --compress-algo BZIP2 \
--passphrase-fd 0 privkey.pem