novawoo / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Support password changing during 'password' authentication #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The SSH RFC seems to imply 'password' authentication needs to support
changing your password if the server requests it.

Ref: RFC 4252 Section 8 (paragraph 5)

SSH_MSG_USERAUTH_PASSWD_CHANGEREQ

Original issue reported on code.google.com by kenny@the-b.org on 3 Nov 2008 at 7:01

GoogleCodeExporter commented 9 years ago
The starting point is at com/trilead/ssh2/auth/AuthenticationManager.java:311 
and
should be the same as authenticateInteractive where the packet coming back 
requesting
the password change is SSH_MSG_USERAUTH_INFO_REQUEST. An example can be seen in
Section 4 of RFC 4256 (http://www.faqs.org/rfcs/rfc4256.html)

Original comment by kenny@the-b.org on 3 Nov 2008 at 7:57