1 crypto-install - Baseline setup for GnuPG and OpenSSH
5 This program is released under GNU General Public License v3 or any
10 Run the script to install a baseline setup for both GnuPG and OpenSSH.
12 Existing files are detected and not touched in the process, so running
13 it is always safe to do.
17 - `--no-gui` disables the GUI, which means text mode will be enabled for
18 everything including the passphrase input
19 - `--no-gpg` disables the GnuPG key generation and related setup
21 - `--no-ssh` does the same for the OpenSSH setup
22 - `--gpg-home` sets the directory for the GnuPG files (defaults to the
23 value of `GNUPGHOME` or `~/.gnupg`)
24 - `--ssh-home` does the same for OpenSSH files (defaults to `~/.ssh`)
26 There is also `-h/--help` and `-v/--version` as expected.
30 - `FULLNAME`, `EMAIL`, `USER` are used to pre-fill the corresponding
35 Until I set up a better routine:
37 git clone https://github.com/Ferada/crypto-install.git
39 git clone git@github.com:Ferada/crypto-install.git
42 python setup.py install
44 Using `--prefix` with `install` the path may be changed to just locally
45 install it for e.g. the current user.
49 There is a `Makefile` available to run common commands, e.g.:
51 make # checks PEP8, runs tests, builds final file
52 make run # run the built program
53 make clean # remove build folder
55 If you have [`git-hooks`](https://github.com/icefox/git-hooks)
56 installed, then the two hooks in `git_hooks` will run the tests and
57 check for PEP8 compatibility before committing as well. Run
58 `git hooks --install` in the checked out folder to register the hooks
63 Currently working simultaneously on the English and German version.
66 To run with a different language set, use:
68 TEXTDOMAINDIR=locale LANGUAGE=de_DE ./crypto-install
70 (I would really like to if that environment variable is okay to use
73 **TODO**: If the application is installed, you should only have to set
74 the `LANGUAGE` environment variable instead, as the default locale
75 directory will be set during the installation (to
76 `prefix/share/locale` probably).
78 To start off with a new translation, use:
81 msginit -l en_US # or whatever language code
83 You'll have to confirm, or edit the email address and author.
84 Afterwards, edit the new `.po` file as usual.
86 Please read the `gettext` documentation (`info gettext`) for more
91 - Tweak default parameters; it should also be possible to tweak them,
92 e.g. via a `--paranoid` setting.