]> git.ipfire.org Git - thirdparty/krb5.git/commit
Use KCM_OP_RETRIEVE in KCM client 1178/head
authorGreg Hudson <ghudson@mit.edu>
Sat, 27 Mar 2021 03:38:54 +0000 (23:38 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 5 Apr 2021 21:05:02 +0000 (17:05 -0400)
commit795ebba8c039be172ab93cd41105c73ffdba0fdb
treebe86e67a6c2b005a24963cdb92ab5ec88a4f9e3d
parent06afae820a44c1dc96ad88a0b16c3e50bc938b2a
Use KCM_OP_RETRIEVE in KCM client

In kcm_retrieve(), try KCM_OP_RETRIEVE.  Fall back to iteration if the
server doesn't implement it, or if we can an answer incompatible with
KRB5_TC_SUPPORTED_KTYPES.

In kcmserver.py, implement partial decoding for creds and cred tags so
that we can do a basic principal name match.

ticket: 8997 (new)
src/include/kcm.h
src/lib/krb5/ccache/cc_kcm.c
src/tests/kcmserver.py
src/tests/t_ccache.py