ssh-keydgen icon indicating copy to clipboard operation
ssh-keydgen copied to clipboard

[Bug] '--as' is not read when stdin is not the terminal

Open nkakouros opened this issue 6 years ago • 1 comments

For instance, this:

printf | ssh-keydgen -t rsa --as 1 -f /tmp/qqq

fails, while:

ssh-keydgen -t rsa --as 1 -f /tmp/qqqqq

works.

nkakouros avatar Jan 12 '19 20:01 nkakouros

Thanks for reporting this. Unfortunately I'm not going to support this tool any further until I can re-evaluate a better scheme. The current approach is not future proof and is tightly coupled to the way golang is consuming the provided "entropy". However, pull requests are welcome.

cornfeedhobo avatar Jan 14 '19 03:01 cornfeedhobo