9 Commits

Author SHA1 Message Date
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