Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nkakouros opened this issue Jan 12, 2019 · 1 comment
Open

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

nkakouros opened this issue Jan 12, 2019 · 1 comment

Comments

@nkakouros
Copy link

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.

@cornfeedhobo
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants