Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

Alter the contract for the kdcpreauth request_body callback so that it
returns an alias to the encoded body instead of a fresh copy. At the
beginning of AS request processing, save a copy of the encoded request
body, or the encoded inner request body for FAST requests. Previously
the request_body callback would re-encode the request structure, which
in some cases has been modified by the AS request code.

No kdcpreauth modules currently use the request_body callback, but
PKINIT will need to start using it in order to handle FAST requests
correctly.

https://github.com/krb5/krb5/commit/b87d9d3c376c2623ae9eb0cfc8da50985c7bb592
Commit By: ghudson
Revision: 25473
Changed Files:
U trunk/src/include/krb5/preauth_plugin.h
U trunk/src/kdc/do_as_req.c
U trunk/src/kdc/do_tgs_req.c
U trunk/src/kdc/fast_util.c
U trunk/src/kdc/kdc_preauth.c
U trunk/src/kdc/kdc_util.h
U trunk/src/plugins/preauth/cksum_body/cksum_body_main.c
From: tlyu@mit.edu
Subject: SVN Commit
Download (untitled) / with headers
text/plain 1.2KiB

pull up r25473 from trunk

------------------------------------------------------------------------
r25473 | ghudson | 2011-11-14 16:45:33 -0500 (Mon, 14 Nov 2011) | 16 lines

ticket: 7017
subject: Simplify and fix kdcpreauth request_body callback
target_version: 1.10
tags: pullup

Alter the contract for the kdcpreauth request_body callback so that it
returns an alias to the encoded body instead of a fresh copy. At the
beginning of AS request processing, save a copy of the encoded request
body, or the encoded inner request body for FAST requests. Previously
the request_body callback would re-encode the request structure, which
in some cases has been modified by the AS request code.

No kdcpreauth modules currently use the request_body callback, but
PKINIT will need to start using it in order to handle FAST requests
correctly.

https://github.com/krb5/krb5/commit/70490a73456d3100d819ece8c4dcc59b39a9b690
Commit By: tlyu
Revision: 25508
Changed Files:
U branches/krb5-1-10/src/include/krb5/preauth_plugin.h
U branches/krb5-1-10/src/kdc/do_as_req.c
U branches/krb5-1-10/src/kdc/do_tgs_req.c
U branches/krb5-1-10/src/kdc/fast_util.c
U branches/krb5-1-10/src/kdc/kdc_preauth.c
U branches/krb5-1-10/src/kdc/kdc_util.h
U branches/krb5-1-10/src/plugins/preauth/cksum_body/cksum_body_main.c