summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorShokara Kou <kou@13f0.net>2022-09-07 18:42:36 -0400
committerShokara Kou <kou@13f0.net>2022-09-07 18:42:36 -0400
commit32341a174c86712cabb9243caf9e88f4d7feec50 (patch)
tree6fa60f2b070406b95b30a39569588ac56ff83f81 /README
parent46924111a8fb9e7a51bb3cb50f306b2334f46f24 (diff)
make angou-age the main angou to be tool-independent
Angou no longer strictly depends on age or gnupg as the encrypt and decrypt commands are user changeable.
Diffstat (limited to 'README')
-rw-r--r--README23
1 files changed, 21 insertions, 2 deletions
diff --git a/README b/README
index 8d20e2c..08521d1 100644
--- a/README
+++ b/README
@@ -5,13 +5,32 @@ A simple password manager written in POSIX shell.
5Dependencies 5Dependencies
6------------ 6------------
7- POSIX-compliant environment 7- POSIX-compliant environment
8- gnupg 8- age, gnupg, or any other utility to {en,de}crypt files
9- tree (for listing all your passwords and their directories) 9- tree (for listing all your passwords and their directories)
10 - a simple version is available in https://github.com/pyr/tree 10 - a simple version is available in https://github.com/pyr/tree
11 and in OpenBSD's ports 11 and in OpenBSD's ports
12 - can possibly be replaced with ls if you add ANGOU_LIST in your ~/.profile
12- xsel (for copying password to clipboard, but can be changed to a different 13- xsel (for copying password to clipboard, but can be changed to a different
13 command with the ANGOU_CLIPBOARD command that accepts stdin) 14 command with the ANGOU_CLIPBOARD command that accepts stdin)
14 15
16Configuration
17-------------
18In your ~/.profile or wherever you set environment variables, add something
19like this if you use age:
20export AGE_KEY=/nas/ssh/id_ed25519
21export AGE_PUB=${AGE_KEY}.pub
22export ANGOU_DIR=/nas/angou-age
23export ANGOU_ENCRYPT="age -R $AGE_PUB"
24export ANGOU_DECRYPT="age -d -i $AGE_KEY -o -"
25
26If you use GnuPG, then add:
27export GPG_ID="user@email.tld" # or your key id
28export ANGOU_DECRYPT="gpg -qd"
29export ANGOU_ENCRYPT="gpg -er $GPG_ID -o -"
30
31For some other file encryptor, you'd need to be able to output the encrypted
32file to stdout or change the last line of edit() that runs $ANGOU_ENCRYPT.
33
15Why should I use this over password-store? 34Why should I use this over password-store?
16------------------------------------------ 35------------------------------------------
17Don't. For a serious answer, it's because this doesn't depend on bash. 36Don't. For a serious answer, it's because this doesn't depend on bash.
@@ -23,4 +42,4 @@ Set the ANGOU_DIR environment variable to your password store directory.
23Auto-complete 42Auto-complete
24------------- 43-------------
25If you use ksh, all you'd have to do is source contrib/autocomplete.ksh in your 44If you use ksh, all you'd have to do is source contrib/autocomplete.ksh in your
26kshrc. 45kshrc. \ No newline at end of file