diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 24 |
1 files changed, 22 insertions, 2 deletions
| @@ -56,10 +56,20 @@ for processes that were not spawned by that same *etoolkit* session. | |||
| 56 | 56 | ||
| 57 | ## Installation | 57 | ## Installation |
| 58 | 58 | ||
| 59 | ### pip (pypi) | 59 | ### Arch Linux |
| 60 | 60 | ||
| 61 | ```bash | 61 | ```bash |
| 62 | pip install etoolkit | 62 | # fetch sgs' developer key from the keyserver and sign it |
| 63 | pacman-key --recv-keys A6645797661E2F473DD3FF06BCE70555C3BB08F7 | ||
| 64 | pacman-key --lsign-key A6645797661E2F473DD3FF06BCE70555C3BB08F7 | ||
| 65 | |||
| 66 | # add sgs' repository in /etc/pacman.conf and require packages to be signed | ||
| 67 | [sgs] | ||
| 68 | Server = https://pkg.pichove.org/archlinux/$repo/os/$arch | ||
| 69 | SigLevel = PackageRequired | ||
| 70 | |||
| 71 | # install etoolkit | ||
| 72 | pacman -S python-etoolkit | ||
| 63 | ``` | 73 | ``` |
| 64 | 74 | ||
| 65 | 75 | ||
| @@ -72,6 +82,14 @@ for processes that were not spawned by that same *etoolkit* session. | |||
| 72 | emerge dev-python/etoolkit | 82 | emerge dev-python/etoolkit |
| 73 | ``` | 83 | ``` |
| 74 | 84 | ||
| 85 | |||
| 86 | ### pip (pypi) | ||
| 87 | |||
| 88 | ```bash | ||
| 89 | pip install etoolkit | ||
| 90 | ``` | ||
| 91 | |||
| 92 | |||
| 75 | ## Encryption & decryption scheme | 93 | ## Encryption & decryption scheme |
| 76 | 94 | ||
| 77 | The etoolkit encryption format is currently at version 2. | 95 | The etoolkit encryption format is currently at version 2. |
| @@ -262,6 +280,8 @@ When all values are fetched from a given instance (and its parents) and then | |||
| 262 | decrypted, they are further processed by replacing macros with their | 280 | decrypted, they are further processed by replacing macros with their |
| 263 | corresponding values. Currently the following macros are supported: | 281 | corresponding values. Currently the following macros are supported: |
| 264 | 282 | ||
| 283 | - **%e{MYVAR}** - the current value of the env. var. *MYVAR* | ||
| 284 | |||
| 265 | - **%e** - the current value of the env. var. corresponding to the same key | 285 | - **%e** - the current value of the env. var. corresponding to the same key |
| 266 | 286 | ||
| 267 | - **%h** - the home directory of the user running *etoolkit* (~/) | 287 | - **%h** - the home directory of the user running *etoolkit* (~/) |
