keyboard-interactive

Markus Friedl markus at openbsd.org
Fri Jan 11 00:50:03 EST 2002


On Thu, Jan 10, 2002 at 08:23:41AM -0500, Nicolas Williams wrote:
> On Wed, Jan 09, 2002 at 09:48:07PM -0600, Mark D. Roth wrote:
> > On Wed Jan 09 23:21 2002 +0100, Markus Friedl wrote:
> > OK, so how about this:
> > 
> >  * Call the main loop from the PAM conversation function with some
> >    state telling it where it was called from.
> 
> Bingo. Make the mainloop reentrant.

yes, this uglyness is currently used:

    dispatch_run()
	input_userauth_request()
	    userauth_kbdint()
		auth2_pam()
		    pam_authenticate()
			do_pam_conversation_kbd_int()
			    dispatch_run()

now we receive a USERAUTH_REQUEST(pubkey) and should
call input_userauth_request()......



More information about the openssh-unix-dev mailing list