[15603] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

prompter type question

daemon@ATHENA.MIT.EDU (Will Fiveash)
Tue Mar 16 15:48:57 2010

Date: Tue, 16 Mar 2010 14:09:49 -0500
From: Will Fiveash <will.fiveash@oracle.com>
To: MIT Kerberos Dev List <krbdev@mit.edu>
Message-ID: <20100316190949.GA20151@sun.com>
Mail-Followup-To: MIT Kerberos Dev List <krbdev@MIT.EDU>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

I'm looking at modifying the pkinit preauth plugin to prompt the user to
insert their token and press Enter if the code doesn't find a token.
While making this mod I came across these defines in krb5.h:

/*
 * Prompter enhancements
 */

#define KRB5_PROMPT_TYPE_PASSWORD            0x1
#define KRB5_PROMPT_TYPE_NEW_PASSWORD        0x2
#define KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN  0x3
#define KRB5_PROMPT_TYPE_PREAUTH             0x4

My question; what is the proper prompt type for the prompt I'm creating
(a reminder prompt that isn't asking for a PIN or password)?

-- 
Will Fiveash
Oracle
http://opensolaris.org/os/project/kerberos/
Sent from mutt, a sweet text MUA.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post