akulij
b47de3e1b6
implement hex/raw input
v1.1.0
2025-03-03 00:18:43 +00:00
akulij
9cde36c5c2
rename 'sum' variable that contains hashed password to more appropriate name 'secretKey'
2025-03-03 00:18:43 +00:00
akulij
181ac703ae
add --input-type flag
2025-03-03 00:18:37 +00:00
akulij
b6be7799b9
README: fix wrong todo tasks formating
2025-02-28 04:21:59 +00:00
akulij
ecaa3c8a9a
README: remove unnecessary decription header
2025-02-28 01:08:30 +00:00
akulij
f921077964
add option to build and run this repo using nix
2025-02-28 00:15:27 +00:00
akulij
c9cb1bb2d8
README: mark task to add sigpipe handle as done
v1.0.1
2025-02-27 22:19:28 +00:00
akulij
5184859c54
handle sigpipe for user friendliness
2025-02-27 22:18:18 +00:00
akulij
bd018136d6
delete sigint handler since it doesn't do anything
2025-02-27 22:13:45 +00:00
akulij
d924708a1c
fix: signal handler setter doesn't need to be ran asynchronously
2025-02-27 22:12:13 +00:00
akulij
5f13d1d409
change password input method
...
in previous method if press ctrl-c during password enter terminal echo
kept off. It was possible to fix it to set `stty echo` in sigint
handler, but this solution is more elegant
2025-02-27 22:07:41 +00:00
akulij
d5192456ce
handle sigint
2025-02-27 22:07:30 +00:00
akulij
3161afeb3b
README: add task to accept another input as hash
2025-02-27 21:36:40 +00:00
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
v1.0.0
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
adc6b32c3b
check raw/verbose output todo as done
2025-02-26 23:41:24 +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
v0.2.0
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
v0.1.1
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
be0aeac776
README: delete task to rint recipients file from identity
...
age-keygen already can do it
2025-02-26 21:21:24 +00:00
akulij
7ef14e3cd1
README: add todos
2025-02-26 21:07:46 +00:00
akulij
62f4865324
README: add missing part of sentence
2025-02-26 19:38:25 +00:00
akulij
4e395597ab
fix latex equations in readme
2025-02-26 19:35:06 +00:00
akulij
eb8f228db0
Create readme
2025-02-26 19:32:15 +00:00
akulij
721e68a64e
change error print method
...
used specific for errors function
this one also stops program
v0.1.0
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
8e5fcfb1be
go mod tidy
2025-02-26 18:21:12 +00:00
akulij
ccd10d8c7f
install term package as a dependency
2025-02-26 18:20:19 +00:00
akulij
55f720e419
Add language server gopls to shell config
2025-02-26 18:16:55 +00:00
akulij
e8ea9461ed
Create files to develop in nix
2025-02-26 16:36:38 +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