summaryrefslogtreecommitdiffstats
path: root/ipalib/util.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-12-06 18:07:59 -0500
committerSimo Sorce <ssorce@redhat.com>2012-01-11 17:34:15 -0500
commit417b9fb9c142775f5a1484dbda1b9ea5b6329668 (patch)
tree39527645526ae1584329531365c5c9f5ec34322a /ipalib/util.py
parentc08296adff58517934b3ea3e4a6581b55fbc2d0c (diff)
downloadfreeipa.git-417b9fb9c142775f5a1484dbda1b9ea5b6329668.tar.gz
freeipa.git-417b9fb9c142775f5a1484dbda1b9ea5b6329668.tar.xz
freeipa.git-417b9fb9c142775f5a1484dbda1b9ea5b6329668.zip
ipa-kdb: Verify the correct checksum in PAC validation
This patch requires a forthcoming change in MIT libraries which allows to pass NULL for the server_key to the krb5_pac_verify() function. In most cases we should always only check the KDC checksum to verify the PAC validity. The only exception is when we are releasing a ticket to a client from another realm. In this case the only signature we can check is the server checksum, and we use the cross-realm key to validate in this case. The previous code was working for normal cases because the kdc uses the same key to create the server and the kdc checksum for a TGT, but that is not true for evidence tickets (s4u2proxy) or cross-realm TGTs. Fixes: https://fedorahosted.org/freeipa/ticket/2169
Diffstat (limited to 'ipalib/util.py')
0 files changed, 0 insertions, 0 deletions