15 lines
611 B
Markdown
15 lines
611 B
Markdown
# Generate age keys from passphrase
|
|
|
|
## Description
|
|
This utility (age-passgen) 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
|
|
[X] piped/terminal output as raw/verbose
|
|
[ ] handle broken pipe signal since program will so much depend on pipes
|