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

Empty ssh-keygen #10

Open
germs12 opened this issue May 19, 2015 · 1 comment
Open

Empty ssh-keygen #10

germs12 opened this issue May 19, 2015 · 1 comment

Comments

@germs12
Copy link

germs12 commented May 19, 2015

I am experiencing a very odd issue with the deploy_key resource. When I provide the name ads_dev-chef-ads1_deploy_key my keys are generated but empty. The files appear, but nothing is in them.

I have appended a single character to the file name and it works. But remove that character and you get empty files.

-rw------- 1 kpdev kpdev 1675 May 19 00:10 aads_dev-chef-ads1_deploy_key
-rw------- 1 kpdev kpdev  382 May 19 00:10 aads_dev-chef-ads1_deploy_key.pub
-rw------- 1 kpdev kpdev    0 May 19 00:07 ads_dev-chef-ads1_deploy_key
-rw------- 1 kpdev kpdev    0 May 19 00:07 ads_dev-chef-ads1_deploy_key.pub

I have removed the cache, deleted the whole ~/.ssh/ folder and the results are always the same. I have even gone so far as to manually run the command and it works.

ssh-keygen -t rsa -q -C '' -f '/home/kpdev/.ssh/ads_dev-chef-ads1_deploy_key' -P "" produces the appropriate output, but not through cookbook-deploy_key

c10l pushed a commit that referenced this issue May 22, 2015
@c10l
Copy link
Owner

c10l commented May 22, 2015

Thanks for reporting this @germs12 . I was not able to reproduce it though. You can check here the code I used.
If you could share your code and perhaps more information about the system you're running on, or a consistent way to reproduce the issue, that would be helpful.

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