krb5_get_init_creds_password with empty password and no prompter

Greg Hudson ghudson at MIT.EDU
Mon May 27 13:06:24 EDT 2013

On 05/22/2013 03:41 AM, Stef Walter wrote:
> Just got back to this now. Attached is a patch, and test case for this
> issue. Let me know if you'd like it revised. Happy to adjust it.

I wound up changing the design a bit, because I never liked the
overloading of empty buffer and known value into a single krb5_data
object.  So I separated those out, and made krb5_get_as_key_password
responsible for allocating storage when it reads a password.  I also had
to do some work for the automated test suite.

Also, if you wouldn't mind taking a look at:

Using the style checker can save a bunch of time during review.  Also,
if you're preparing these using a github fork or would find it easy to
do so, making a pull request is more convenient for us than sending
patches to krbdev.


More information about the krbdev mailing list