Subject: [libssh2] PEM file reader and another libgcrypt status update

[libssh2] PEM file reader and another libgcrypt status update

From: Simon Josefsson <simon_at_josefsson.org>
Date: Tue, 23 Jan 2007 09:31:31 +0100

I just installed a PEM file reader and simple ASN.1 decoder into
lib/pem.c. See libgcrypt.c:_libssh2_{d,r}sa_new_private for how to
use it.

Btw, --with-libgcrypt can now read RSA/DSA private keys and use them
to sign in authentication. DSA authentication works reliably, but RSA
authentication fails in libgcrypt for some reason, and I'll be working
on debugging that today.

Right now when you build with --with-libgcrypt, these are the OpenSSL
symbols left to replace:

jas_at_mocca:~/src/libssh2/src$ nm -B .libs/libssh2.so|grep -i openssl
         U BN_bin2bn@@OPENSSL_0.9.8
         U BN_bn2bin@@OPENSSL_0.9.8
         U BN_clear_free@@OPENSSL_0.9.8
         U BN_CTX_free@@OPENSSL_0.9.8
         U BN_CTX_new@@OPENSSL_0.9.8
         U BN_mod_exp@@OPENSSL_0.9.8
         U BN_new@@OPENSSL_0.9.8
         U BN_num_bits@@OPENSSL_0.9.8
         U BN_rand@@OPENSSL_0.9.8
         U BN_set_word@@OPENSSL_0.9.8
jas_at_mocca:~/src/libssh2/src$

The symbols are all in lib/kex.c.

I'd say the libgcrypt port is now 80 % done.

/Simon

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-01-23