]> git.ipfire.org Git - thirdparty/krb5.git/commit
Only require one valid pkinit anchor/pool value 1163/head
authorKen Hornstein <kenh@cmf.nrl.navy.mil>
Thu, 25 Feb 2021 01:20:39 +0000 (20:20 -0500)
committerGreg Hudson <ghudson@mit.edu>
Mon, 8 Mar 2021 23:33:04 +0000 (18:33 -0500)
commit414cf4152c9743ca3aaef4cf9fb13628ec5f7896
treed3aa642f6baa6a1e7926ba680eeabc280fa3a37c
parent61375be10beed5e95ea241e22fc580483caabf52
Only require one valid pkinit anchor/pool value

When processing pkinit_anchor or pkinit_pool values, return
successfully if at least one value is successfully loaded (or if none
are configured).

pkinit_identity_prompt() was the backstop against trying anonymous
PKINIT without configured anchors.  After this change it no longer is,
so add an explicit check for no anchors in pkinit_client_process().

[ghudson@mit.edu: added code to clear ignored errors; made minor style
edits; added no-anchors check]

ticket: 8988 (new)
src/plugins/preauth/pkinit/pkinit_clnt.c
src/plugins/preauth/pkinit/pkinit_identity.c