[krbdev.mit.edu #8233] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Aug 26 13:29:49 EDT 2015


Add secure cookie support

Remove the existing support for creating trivial cookies.  Add new
functions to fast_util.c for reading and generating secure cookies.
Add new kdcpreauth callbacks "get_cookie" and "set_cookie" to allow
preauth mechs to retrieve and set cookie values.

Based on a patch by Nathaniel McCallum.

https://github.com/krb5/krb5/commit/4e15c03b54464b661c6578f78de3bd348163fc07
Author: Greg Hudson <ghudson at mit.edu>
Commit: 4e15c03b54464b661c6578f78de3bd348163fc07
Branch: master
 doc/appdev/refs/macros/index.rst     |    1 +
 src/include/krb5/kdcpreauth_plugin.h |   21 ++
 src/include/krb5/krb5.hin            |    2 +
 src/kdc/do_as_req.c                  |   40 +++-
 src/kdc/fast_util.c                  |  363 +++++++++++++++++++++++++++-------
 src/kdc/kdc_preauth.c                |   24 ++-
 src/kdc/kdc_util.h                   |   20 ++-
 src/kdc/reqstate.h                   |    3 +-
 8 files changed, 382 insertions(+), 92 deletions(-)



More information about the krb5-bugs mailing list