www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: SSH2 host key length and hash compute

Re: SSH2 host key length and hash compute

From: Kalpesh Parekh <kalpesh.ork2_at_gmail.com>
Date: Thu, 4 Jul 2013 03:07:09 -0700

Thanks Alex,

So far it has been helpful.

So based on the RFC, I understand that the host key received from the
server has following components
K_S || f || s

I need to parse the K_S part for RSA key. How do I do that.

Also, how can I implement a generic logic for getting the bit strength from
the host key.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-07-04

the libssh2 team