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

Archive Index This month's Index

Subject: [libssh2] [ libssh2-Bugs-1592645 ] Public key can not be readed from file

[libssh2] [ libssh2-Bugs-1592645 ] Public key can not be readed from file

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 08 Nov 2006 06:02:23 -0800

Bugs item #1592645, was opened at 2006-11-08 15:00
Message generated for change (Comment added) made by esanchezm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1592645&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Esteban Sánchez (esanchezm)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Public key can not be readed from file

Initial Comment:
If the public key file does not finish with '\n' or
'\r' the pubic key is not readed and the connection can
not be established using
libssh2_userauth_publickey_fromfile()

This kind of files can be done by copy-pasting a public
key in an empty file using notepad in Windows. I attach
one of this files. You can try to reproduce with any
private key.

----------------------------------------------------------------------

>Comment By: Esteban Sánchez (esanchezm)
Date: 2006-11-08 15:02

Message:
Logged In: YES
user_id=1203199

I add a patch to solve this bug. This works on my system,
but may be buggy...

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1592645&group_id=125852

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2006-11-12

the libssh2 team