-
Notifications
You must be signed in to change notification settings - Fork 152
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
Authenticate from in-memory keypair #77
Comments
Sounds plausible to me! |
Hi there, I want to use I'm using the
|
@promethe42 it may mean that libgit2 didn't correctly detect libssh2 support or otherwise something different is missing? I'm not entirely sure :( |
LibSSH2 has support for WinCNG. I'll see if it also runs fine :) |
Ok I tried to make it work on Windows but to no avail. What I did instead to make SSH auth more seamless is to parse https://github.com/aerys/gpm/blob/master/src/gpm/ssh_config.pest |
Can this issue be closed? It sounds like #80 resolved the original request. If there's something else left to do, can that be opened as a separate issue? |
Yes, I think you're right that this is closed by #80! |
libssh2 has
libssh2_userauth_publickey_frommemory
, which allows you to authenticate a user using an in-memory keypair. It apparently only works when linking against OpenSSL, but given that we do that oncfg(unix)
, providing this method under#[cfg(unix)]
seems like something we could do?The text was updated successfully, but these errors were encountered: