prompter type question

Sam Hartman hartmans at MIT.EDU
Thu Mar 18 09:53:42 EDT 2010

>>>>> "Will" == Will Fiveash <will.fiveash at> writes:

    >> preauth.

    Will> What is the intention of the KRB5_PROMPT_TYPE_PREAUTH define
    Will> and how does that differ from the KRB5_PROMPT_TYPE_PASSWORD?
    Will> I ask because I was under the impression the
    Will> KRB5_PROMPT_TYPE_PREAUTH type is currently being used for a
    Will> prompt requesting a PIN.  Is it to be used for all preauth
    Will> related prompts including the prompt I'm adding which request
    Will> the user insert their smart card?  If that is the case then
    Will> I'm confused as to when KRB5_PROMPT_TYPE_PASSWORD should be
    Will> set.

The main difference presumably is whether the prompter will echo the
response.  Also, a GUI prompter could reasonably ignore the text for a
password or new password prompt, using its own localization, etc, but
could not do that for a preauth prompt.

More information about the krbdev mailing list