]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add PAC ticket signature APIs
authorIsaac Boukris <iboukris@gmail.com>
Fri, 7 Jan 2022 18:46:24 +0000 (13:46 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 12 Jan 2022 18:28:07 +0000 (13:28 -0500)
commitee4e3c5c9eee061048d5b7393b8f3820d1a563a8
tree492c3933a2dccc08378f380a82a7536b214cf05d
parent5c394dc54c9196c300bd99a66a3257692f520920
Add PAC ticket signature APIs

Microsoft added a third PAC signature over the ticket to prevent
servers from setting the forwardable flag on evidence tickets.  Add
new APIs to generate and verify ticket signatures, as well as defines
for this and other new PAC buffer types.  Deprecate the old signing
functions as they cannot generate ticket signatures.  Modify several
error returns to better match the protocol errors generated by Active
Directory.

[ghudson@mit.edu: adjusted contracts for KDC requirements; simplified
and commented code changes; wrote commit message.  rharwood@redhat.com
also did some work on this commit.]

ticket: 9043 (new)
doc/appdev/refs/api/index.rst
doc/appdev/refs/macros/index.rst
src/include/krb5/krb5.hin
src/lib/krb5/krb/deps
src/lib/krb5/krb/int-proto.h
src/lib/krb5/krb/pac.c
src/lib/krb5/krb/pac_sign.c
src/lib/krb5/krb/t_pac.c
src/lib/krb5/libkrb5.exports
src/lib/krb5_32.def
src/plugins/kdb/test/kdb_test.c