Subject: [libssh2] #204: Enhance authentication to return partial success codes

[libssh2] #204: Enhance authentication to return partial success codes

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Fri, 24 Dec 2010 02:44:46 -0000

#204: Enhance authentication to return partial success codes
-----------------------------+----------------------------------------------
  Reporter: riordanmr | Owner:
      Type: enhancement | Status: new
  Priority: normal | Milestone: 1.2.8
 Component: API | Version: 1.2.7
  Keywords: authentication | Blocks:
Blocked By: |
-----------------------------+----------------------------------------------
 Let's enhance libssh2_userauth_password_ex and libssh2_userauth_publickey
 (and friends) to return a code to indicate that the password or public key
 was successful, but that more authentication is required by the server.
 This would make it easier to deal with servers that require both password
 and public key.

 Likely this would be done by defining a new error code,
 LIBSSH2_ERROR_AUTHENTICATION_PARTIAL_SUCCESS.

 As mentioned by Peter Stuge, this would entail looking at the "partial
 success" field in SSH_MSG_USERAUTH_FAILURE responses.

 I plan on taking a stab at this.

-- 
Ticket URL: <http://trac.libssh2.org/ticket/204>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-24