akulij
a873717f17
move flags parsing out of main function
2025-02-27 21:27:36 +00:00
akulij
c3c506e206
move cmd utility location to follow projects name
2025-02-27 20:02:49 +00:00
akulij
6ded6ec767
rename project from age-gen-passphrase to age-passgen
2025-02-27 20:01:44 +00:00
akulij
5522a1265e
FIX: missing --entropy-level flag in --help
2025-02-27 19:52:00 +00:00
akulij
a9943d2358
use entropy level for password
2025-02-27 03:02:39 +00:00
akulij
7e28ea3c94
add --entropy-level flag
2025-02-27 01:51:29 +00:00
akulij
dbe48ec586
fix usage info
2025-02-27 00:00:48 +00:00
akulij
14439a6479
use flags --output and --raw-output
...
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
2025-02-26 23:22:47 +00:00
akulij
3b1079985a
add usage flags
2025-02-26 23:07:36 +00:00
akulij
2a22ce4cc5
delete password hash wich however stayed till this commit
2025-02-26 21:44:50 +00:00
akulij
7527faa139
go fmt
2025-02-26 21:44:34 +00:00
akulij
c935f4ba81
make key output behaviour closer to the one in age-keygen
2025-02-26 21:44:01 +00:00
akulij
721e68a64e
change error print method
...
used specific for errors function
this one also stops program
2025-02-26 18:33:24 +00:00
akulij
6c40441f70
implement password getter
...
get password via hidden user input or raw piped stdin
2025-02-26 18:23:30 +00:00
Akulij
666fb84a66
add super simple and naive password input
2025-02-26 21:05:38 +05:00
Akulij
a5eef4512f
Initial working PoC
2025-02-26 20:46:21 +05:00