about summary refs log tree commit diff stats
path: root/ayu
diff options
context:
space:
mode:
authorNova li Gensokyo <novaburst@kalli.st>2021-12-06 10:57:05 +0000
committerNova li Gensokyo <novaburst@kalli.st>2021-12-06 10:57:05 +0000
commite7eeaeacd280d6cc77d49bd2f4f21b9abdaf79c9 (patch)
treefcd0153784e9d06496984013c7875ba26a91ae09 /ayu
parent7495ce54348be1c9524569f8895de538c5c4bf16 (diff)
downloadayu-e7eeaeacd280d6cc77d49bd2f4f21b9abdaf79c9.tar.gz
Hypothesize and test.
Diffstat (limited to 'ayu')
-rwxr-xr-xayu4
1 files changed, 2 insertions, 2 deletions
diff --git a/ayu b/ayu
index f32af68..a4e9dcd 100755
--- a/ayu
+++ b/ayu
@@ -5,7 +5,7 @@ ayu_dir="$HOME/.config/ayu"
 
 # Path to the age(1) keys
 ayu_key="$ayu_dir/age.key"
-ayu_pub="$ayu_dir/age.pub"
+ayu_pub="$ayu_store/.age-id"
 
 # Path to the password store
 ayu_store="$HOME/.ayu"
@@ -16,7 +16,7 @@ test -d $ayu_store || mkdir -p $ayu_store
 
 if ! [ -f $ayu_key ];then
 	printf "First generate your own age(1) key with age-keygen(1) and place it as $ayu_key. \n"
-	printf "e.g: age-keygen -o $ayu_key \n"
+	printf "e.g: age-keygen -o $ayu_key and public key should be on $ayu_pub \n"
 	exit 1
 fi