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

Allow SSH/SFTP without a public key #56

Open
ldub opened this issue Jul 8, 2020 · 1 comment
Open

Allow SSH/SFTP without a public key #56

ldub opened this issue Jul 8, 2020 · 1 comment

Comments

@ldub
Copy link

ldub commented Jul 8, 2020

If you pass in a null pointer for the public_key, libssh2 itself will generate a public key from the private key:

https://github.com/libssh2/libssh2/blob/482055695011fabb55f3cb7598356d47a0429068/src/userauth.c#L1520-L1530

It would be extremely handy to allow this in libssh2-hs.

Would you consider implementing this or accepting a PR if I did it?

@portnov
Copy link
Owner

portnov commented Jul 9, 2020

Hello.
Yes, a PR would be 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