[krbdev.mit.edu #8200] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Jul 8 18:24:59 EDT 2015


Test client_keyblock kdcpreauth callback

Add internal clpreauth and kdcpreauth modules named "test" which can
exercise the client_keyblock callback (as well as get_string and
get_as_key on the client side).  Add tests to t_etype_info.py to
verify that the callback matches the etype info sent by the KDC.

In the KDC's load_preauth_plugins(), correct a test for the end of
pa_type_list so that we can use a negative preauth type number for the
test module.  (RFC 4120 reserves negative preauth type values for
unregistered use.)

https://github.com/krb5/krb5/commit/be20a5f5cee8d6c4072d1b81712520dbf9f6eefd
Author: Greg Hudson <ghudson at mit.edu>
Commit: be20a5f5cee8d6c4072d1b81712520dbf9f6eefd
Branch: master
 src/Makefile.in                       |    1 +
 src/configure.in                      |    1 +
 src/kdc/kdc_preauth.c                 |    2 +-
 src/plugins/preauth/test/Makefile.in  |   21 +++++
 src/plugins/preauth/test/cltest.c     |  107 +++++++++++++++++++++++++
 src/plugins/preauth/test/kdctest.c    |  137 +++++++++++++++++++++++++++++++++
 src/plugins/preauth/test/test.exports |    2 +
 src/tests/t_etype_info.py             |   21 +++++
 8 files changed, 291 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list