Re: Issues with multiple pkinit KDC certauth plugins

Greg Hudson <[email protected]> Mon, 17 May 2021 12:29:04 -0400
Newsgroups gmane.comp.encryption.kerberos.devel
Message-ID <[email protected]>
On 5/9/21 10:47 PM, Ken Hornstein wrote:
> It occurs to me that the simplest solution here would be to
> add an additional return code that meant "pass + add hwauth to
> ticket".  Like it could be called KRB5_CERTAUTH_HWAUTH_PASS.  Or
> KRB5_CERTAUTH_HWAUTH_NO_HANDLE, or something else.

In hindsight, adding a new method would probably have been cleaner, so
that we could ask "does this cert indicate the use of hardware"
independently of "does this cert authorize this principal".

However, since we're halfway in on shoehorning both questions into one
method, I guess it's no less clean at this point to add another entry in
the answer matrix.  So, this is fine.
_______________________________________________
krbdev mailing list             [email protected]
https://mailman.mit.edu/mailman/listinfo/krbdev