keyboard-interactive

Damien Miller djm at mindrot.org
Thu Jan 10 12:53:19 EST 2002


On Thu, 2002-01-10 at 02:08, Mark D. Roth wrote:
>
> > takes care of the potential flexability and doesn't dictate structure to
> > the application developer.
> 
> I may be missing something, but how is this functionally different
> from the way the conversation function works?  The logic is
> essentially this:
> 
>     conversation_function(prompts)
>     {
>         /* do something with them */
> 	return responses;
>     }

This requires that the responses be given in the same function call that
we receive the prompts.

> The while loop is taken care of for you by PAM itself by calling the
> conversation function multiple times.  I don't see how this offers
> less functionality than the semantics you propose above...?

It doesn't allow you to decouple the prompting from the responses.

-d





More information about the openssh-unix-dev mailing list