summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-11-03 17:35:26 +0100
committerErich Eckner <git@eckner.net>2024-11-03 17:35:26 +0100
commit781fea9d7997685cd2bc7e9d24f29d80b6245f23 (patch)
tree7b28787b3bbcea1dcd902d9614b2f3cc2675a72f
parent5fba1443ac308d2f68ebe8932ac9d486a27dc40f (diff)
downloadykverify-781fea9d7997685cd2bc7e9d24f29d80b6245f23.tar.xz
save shared_secret in current directory
* now, we can run the script for different users from their home
-rwxr-xr-xinit2
1 files changed, 0 insertions, 2 deletions
diff --git a/init b/init
index 091fa60..0d3ee44 100755
--- a/init
+++ b/init
@@ -1,7 +1,5 @@
#!/bin/bash
-cd "$(dirname "$(readlink -e "$0")")"
-
echo y \
| ykpersonalize -2 -ochal-resp -ochal-hmac -ohmac-lt64 -oserial-api-visible 2>&1 \
| sed 's@^key: h:@@;t;d' \