Subject: libssh2 general question

libssh2 general question

From: Alan Ong <sarcasigan_at_gmail.com>
Date: Thu, 7 Oct 2010 17:44:17 +0800

Hello,

I am currently using libssh2 to create a SFTP client that uses ssh2
protocol, SHA-1, and aest128-ctr. Based on my research, libssh2
chooses the "best" mutually supported algorithm
(http://comments.gmane.org/gmane.network.ssh.libssh2.devel/4028) for
cipher, so does that mean that if the SFTP server uses aes128-ctr
cipher, then libssh2 automatically chooses aes-128-ctr as default
cipher?

Another question, how do i set libssh2 to use hmac-sha1? I have browse
the API document, and I have not found a function that could set the
mac hashing to hmac-sha1.

Thank you for your time.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-07