Now logic for output looks like: password from stdin (stays as was) keys: private to stdout OR private to file (via -o flag) and public to stdout stderr for errors and password prompt
Generate age keys from passphrase
Description
This utility (age-gen-passphrase) generates secret and public keys (into stdout) from your entered passphrase or piped stdin Strong password highly recomended
Password selection
To keep entropy at at the same level of \geq 2^{256} bits, as in private key of curve25519 (which is used in age encryption), you should use long password.
Exact amount of required characters can be calculated by formula: \lceil 256 / log_2(Nchars) \rceil
TODO
[ ] piped/terminal output as raw/verbose [ ] handle broken pipe signal since program will so much depend on pipes
Description
Languages
Go
89.4%
Nix
10.6%