diff options
| author | kar <kar@13f0.net> | 2025-01-01 14:17:48 -0500 |
|---|---|---|
| committer | kar <kar@13f0.net> | 2025-01-01 14:36:53 -0500 |
| commit | fc2f7db3b2f5b6f0258e94143ba88378dd58f5c5 (patch) | |
| tree | d6d3e1394a740e85c431980ba30a1d780e9eabd9 /README | |
| parent | 6d923b6894eb8402a5f1e2e43e4249744ac06064 (diff) | |
rename angou to kasi
Having a Japanese word as a project name sounds very childish when not
I am not Japanese myself.
Using a conlang is childish too when I don't know any words in it? I
refuse to believe that.
Diffstat (limited to 'README')
| -rw-r--r-- | README | 24 |
1 files changed, 12 insertions, 12 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | angou (暗号) | 1 | kasi ("veil"/"conceal" in Esperanto) |
| 2 | ============ | 2 | ==================================== |
| 3 | A simple password manager written in POSIX shell. | 3 | A simple password manager written in POSIX shell. |
| 4 | 4 | ||
| 5 | Dependencies | 5 | Dependencies |
| @@ -9,13 +9,13 @@ Dependencies | |||
| 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 | - can possibly be replaced with ls if you add KASI_LIST in your ~/.profile |
| 13 | - 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 |
| 14 | command with the ANGOU_CLIPBOARD command that accepts stdin) | 14 | command with the KASI_CLIPBOARD command that accepts stdin) |
| 15 | - a password generator | 15 | - a password generator |
| 16 | - script uses contrib/random from this repo by default and expects it in your | 16 | - script uses contrib/random from this repo by default and expects it in your |
| 17 | path | 17 | path |
| 18 | - can change by setting ANGOU_GEN_USER and ANGOU_GEN_PASS in your ~/.profile | 18 | - can change by setting KASI_GEN_USER and KASI_GEN_PASS in your ~/.profile |
| 19 | 19 | ||
| 20 | Configuration | 20 | Configuration |
| 21 | ------------- | 21 | ------------- |
| @@ -23,17 +23,17 @@ In your ~/.profile or wherever you set environment variables, add something | |||
| 23 | like this if you use age: | 23 | like this if you use age: |
| 24 | export AGE_KEY=/nas/ssh/id_ed25519 | 24 | export AGE_KEY=/nas/ssh/id_ed25519 |
| 25 | export AGE_PUB=${AGE_KEY}.pub | 25 | export AGE_PUB=${AGE_KEY}.pub |
| 26 | export ANGOU_DIR=/nas/angou-age | 26 | export KASI_DIR=/nas/kasi-age |
| 27 | export ANGOU_ENCRYPT="age -R $AGE_PUB" | 27 | export KASI_ENCRYPT="age -R $AGE_PUB" |
| 28 | export ANGOU_DECRYPT="age -d -i $AGE_KEY -o -" | 28 | export KASI_DECRYPT="age -d -i $AGE_KEY -o -" |
| 29 | 29 | ||
| 30 | If you use GnuPG, then add: | 30 | If you use GnuPG, then add: |
| 31 | export GPG_ID="user@email.tld" # or your key id | 31 | export GPG_ID="user@email.tld" # or your key id |
| 32 | export ANGOU_DECRYPT="gpg -qd" | 32 | export KASI_DECRYPT="gpg -qd" |
| 33 | export ANGOU_ENCRYPT="gpg -er $GPG_ID -o -" | 33 | export KASI_ENCRYPT="gpg -er $GPG_ID -o -" |
| 34 | 34 | ||
| 35 | For some other file encryptor, you'd need to be able to output the encrypted | 35 | For some other file encryptor, you'd need to be able to output the encrypted |
| 36 | file to stdout or change the last line of edit() that runs $ANGOU_ENCRYPT. | 36 | file to stdout or change the last line of edit() that runs $KASI_ENCRYPT. |
| 37 | 37 | ||
| 38 | Why should I use this over password-store? | 38 | Why should I use this over password-store? |
| 39 | ------------------------------------------ | 39 | ------------------------------------------ |
| @@ -41,7 +41,7 @@ Don't. For a serious answer, it's because this doesn't depend on bash. | |||
| 41 | 41 | ||
| 42 | Migrating from password-store | 42 | Migrating from password-store |
| 43 | ----------------------------- | 43 | ----------------------------- |
| 44 | Set the ANGOU_DIR environment variable to your password store directory. | 44 | Set the KASI_DIR environment variable to your password store directory. |
| 45 | 45 | ||
| 46 | Auto-complete | 46 | Auto-complete |
| 47 | ------------- | 47 | ------------- |
