about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README24
-rwxr-xr-xayu4
-rw-r--r--ayu.mdoc4
3 files changed, 28 insertions, 4 deletions
diff --git a/README b/README
index d286406..97ffcd9 100644
--- a/README
+++ b/README
@@ -8,3 +8,27 @@ Dependencies
 
 - age
 - tree
+
+
+Caveats
+-------
+
+For the utility to work, you have to generate your own keypair with age-keygen(1)
+The private key should be placed as ~/.config/ayu/age.key and the public key should be placed as ~/.ayu/.age-id
+
+e.g. age-keygen -o ~/.config/ayu/age.key and the output should be copied into the public key file.
+
+
+Anti-features
+-------------
+
+1) built-in integration with Git
+2) built-in automatic keypair generation
+
+neither of those are included and probably will never be. 
+Just use the CLI tools by themselves, lol.
+
+License
+-------
+
+Discordian Public License
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
 
diff --git a/ayu.mdoc b/ayu.mdoc
index 3ae2983..6d31d8f 100644
--- a/ayu.mdoc
+++ b/ayu.mdoc
@@ -1,4 +1,4 @@
-.Dd 2021-12-05
+.Dd 2021-12-06
 .Dt ayu 1
 .Os
 .Sh NAME
@@ -39,7 +39,7 @@ You have to generate your own keypair using
 The private key should be placed on 
 .Em ~/.config/ayu/age.key
 and the public key to 
-.Em ~/.config/ayu/age.pub
+.Em ~/.ayu/.age-id
 for the utility to work
 .Pp
 Side note: if the utility is invoked without any arguments, it defaults