Hi,
 
I am planning to use libssh2's port forwarding feature in my project 
(http://grdc.sourceforge.net).
 
I ran into a problem. I was successfully authenticated with the SSH server 
using libssh2_userauth_password and libssh2_userauth_publickey_fromfile with 
empty passphrase. However, when I tried to use a private key protected by a 
passphrass, I NEVER succeed.
I decided to take a look at the libssh2 source code before I ask but I quickly 
found that libssh2 seems to totally ignore passphrase:
 
In libgcrypt.c:
244: int
245: _libssh2_dsa_new_private(libssh2_dsa_ctx ** dsa,
246:                          LIBSSH2_SESSION * session,
247:                          FILE * fp, unsigned const char *passphrase)
248: {
..
255:     (void) passphrase;
..
and no more code using passphrase...
 
Is this a known problem or a planning feature? I am looking at the latest 1.0.
 
Thanks for your great work, and sorry if someone else asked the same question 
before.
 
Vic

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to