Commit ef3748ef authored by gnomus's avatar gnomus
Browse files

add tresor

parent 2ddd44d4
password=sesamaenderdich password=sesamaenderdich
...@@ -12,3 +12,8 @@ password="$(grep password ${basedir}/${config} 2>/dev/null|cut -d= -f2|tr -d ' \ ...@@ -12,3 +12,8 @@ password="$(grep password ${basedir}/${config} 2>/dev/null|cut -d= -f2|tr -d ' \
if [ -z "${password}" ]; then if [ -z "${password}" ]; then
echo "WARNING: password in ${config} is missing!" >&2 echo "WARNING: password in ${config} is missing!" >&2
fi fi
tresor="$(grep tresor ${basedir}/${config} 2>/dev/null|cut -d= -f2|tr -d ' \t')"
if [ -z "${password}" ]; then
echo "WARNING: tresor in ${config} is missing!" >&2
. $(dirname $(readlink "$0"))/shared
echo "Welcome to the Vault!"
echo "---------------------"
echo "Your Key is: ${tresor}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment