about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README6
-rwxr-xr-xayu8
-rw-r--r--ayu.mdoc12
3 files changed, 14 insertions, 12 deletions
diff --git a/README b/README
index 64cd948..8952f95 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-ayu
+ayu (あゆ)
 ===
 
 Not-so standard unix password manager, written in (mostly) posix shell
@@ -8,9 +8,9 @@ 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
+The private key should be placed as ~/.config/ayu/sec.age and the public key should be placed as ~/.config/ayu/pub.age
 
-e.g. age-keygen -o ~/.config/ayu/age.key and the output should be copied into the public key file.
+e.g. age-keygen -o ~/.config/ayu/sec.age and the output should be copied into the public key file.
 
 
 Anti-features
diff --git a/ayu b/ayu
index bc10594..719f037 100755
--- a/ayu
+++ b/ayu
@@ -3,14 +3,14 @@
 # ayu(1) - an actually boring password manager, which uses age(1) as backend.
 
 # Path to the program's directory
-ayu_dir="$HOME/.config/ayu"
+ayu_dir="${ayu_dir:-~/.config/ayu}"
 
 # Path to the password store
-ayu_store="$HOME/.ayu"
+ayu_store="${ayu_store:-/.ayu}"
 
 # Path to the age(1) keys
-ayu_key="$ayu_dir/age.key"
-ayu_pub="$ayu_store/.age-id"
+ayu_key="${ayu_key:-${ayu_dir}/sec.age}"
+ayu_pub="${ayu_pub:-${ayu_dir}/pub.age}"
 
 EDITOR=${EDITOR:-vi}
 
diff --git a/ayu.mdoc b/ayu.mdoc
index 3749354..73cce9e 100644
--- a/ayu.mdoc
+++ b/ayu.mdoc
@@ -1,4 +1,4 @@
-.Dd 2021-12-13
+.Dd January 21, 2022
 .Dt ayu 1
 .Os
 .Sh NAME
@@ -11,10 +11,12 @@ as backend, instead of
 .Xr gpg 1
 for encryption
 .Pp
-This program is in early status of development, but is generally usable as replacement to either
+This program is generally stable by now, and can be used as replacement to either
 .Xr angou 1
 or
 .Xr pass 1
+.Pp
+There may be breaking changes but shouldn't be much.
 .Sh USAGE
 .Ss Add an entry
 .Nm ayu
@@ -64,14 +66,14 @@ You have to generate your own keypair using
 .Xr age-keygen(1)
 .Pp
 The private key should be placed on 
-.Em ~/.config/ayu/age.key
+.Em ~/.config/ayu/sec.age
 and the public key to 
-.Em ~/.ayu/.age-id
+.Em ~/.config/ayu/pub.age
 for the utility to work
 .Pp
 Side note: if the utility is invoked without any arguments, it defaults
 to listing the entries on the password store.
 .Pp
 .Sh AUTHORS
-.An Nova li Gensokyo
+.An Aoi Koizumi
 .Mt novaburst@kalli.st