[krbdev.mit.edu #8537] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Feb 23 12:53:34 EST 2017


Add test cases for preauth fallback behavior

Add options to icred for performing optimistic preauth and setting
preauth options, and for choosing between the normal and stepwise
interfaces.  Add options to the test preauth module to allow induced
failures at several points in processing, factoring out some padata
manipulation functions into a new file to avoid repeating too much
code.  Add test cases to t_preauth.py using the new facilities to
exercise and verify several preauth fallback scenarios.  Amend the
tryagain test case in t_pkinit.py to look for more trace log messages.

https://github.com/krb5/krb5/commit/748beda1e36d76bed8b06b272ecb72988eede94b
Author: Greg Hudson <ghudson at mit.edu>
Commit: 748beda1e36d76bed8b06b272ecb72988eede94b
Branch: master
 src/plugins/preauth/test/Makefile.in |    4 +-
 src/plugins/preauth/test/cltest.c    |   86 +++++++++++++------
 src/plugins/preauth/test/common.c    |   61 +++++++++++++
 src/plugins/preauth/test/common.h    |   41 +++++++++
 src/plugins/preauth/test/deps        |   14 +++-
 src/plugins/preauth/test/kdctest.c   |   96 +++++++++++++--------
 src/tests/icred.c                    |   67 +++++++++++----
 src/tests/t_general.py               |    1 +
 src/tests/t_pkinit.py                |   12 ++-
 src/tests/t_preauth.py               |  156 +++++++++++++++++++++++++++++++++-
 10 files changed, 451 insertions(+), 87 deletions(-)



More information about the krb5-bugs mailing list