<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/krb5.git/src/plugins/certauth, branch master</title>
<subtitle>github.com: krb5/krb5
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/krb5.git/'/>
<entry>
<title>Support KRB5_CERTAUTH_HWAUTH_PASS in certauth</title>
<updated>2021-10-28T19:43:19+00:00</updated>
<author>
<name>Ken Hornstein</name>
<email>kenh@cmf.nrl.navy.mil</email>
</author>
<published>2021-09-30T21:10:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/krb5.git/commit/?id=d22ed9b9216b35b0bd7cc0bfc9fea37060c273ec'/>
<id>d22ed9b9216b35b0bd7cc0bfc9fea37060c273ec</id>
<content type='text'>
If a certauth module returns KRB5_CERTAUTH_HWAUTH_PASS, the certauth
accumulator sets the hw-authent flag in the ticket (like it would for
KRB5_CERTAUTH_HWAUTH), but defers authorization to other modules (like
it would for KRB5_PLUGIN_NO_HANDLE).

[ghudson@mit.edu: simplify tests by removing the HWAUTH returns from
the test2 module and allowing it to pass by authenticating as nocert]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a certauth module returns KRB5_CERTAUTH_HWAUTH_PASS, the certauth
accumulator sets the hw-authent flag in the ticket (like it would for
KRB5_CERTAUTH_HWAUTH), but defers authorization to other modules (like
it would for KRB5_PLUGIN_NO_HANDLE).

[ghudson@mit.edu: simplify tests by removing the HWAUTH returns from
the test2 module and allowing it to pass by authenticating as nocert]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor static analysis defects</title>
<updated>2020-10-23T00:15:26+00:00</updated>
<author>
<name>Robbie Harwood</name>
<email>rharwood@redhat.com</email>
</author>
<published>2020-10-15T22:15:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/krb5.git/commit/?id=b27461141810fddd299764928649148c5d0e99f3'/>
<id>b27461141810fddd299764928649148c5d0e99f3</id>
<content type='text'>
Remove an unused variable in krb5_ldap_create().  Handle the return
value from krb5_dbe_get_string() in the certauth test plugin module.
Handle the return value from k5_expand_path_tokens() in
k5_rc_default().  Remove dead assignments in
krb5_get_credentials_for_user() and kg_accept_krb5().

[ghudson@mit.edu: squashed and edited commit message; simplified
k5_rc_default() change]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove an unused variable in krb5_ldap_create().  Handle the return
value from krb5_dbe_get_string() in the certauth test plugin module.
Handle the return value from k5_expand_path_tokens() in
k5_rc_default().  Remove dead assignments in
krb5_get_credentials_for_user() and kg_accept_krb5().

[ghudson@mit.edu: squashed and edited commit message; simplified
k5_rc_default() change]
</pre>
</div>
</content>
</entry>
<entry>
<title>make regen</title>
<updated>2020-03-26T05:01:32+00:00</updated>
<author>
<name>Greg Hudson</name>
<email>ghudson@mit.edu</email>
</author>
<published>2020-03-26T05:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/krb5.git/commit/?id=e5c911946ba98b2e90db6456e822788f678bdade'/>
<id>e5c911946ba98b2e90db6456e822788f678bdade</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow certauth modules to set hw-authent flag</title>
<updated>2020-02-27T20:16:35+00:00</updated>
<author>
<name>Greg Hudson</name>
<email>ghudson@mit.edu</email>
</author>
<published>2020-02-24T20:58:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/krb5.git/commit/?id=50fb43b4a2d97ce2cd53e1ced30e8e8224fede70'/>
<id>50fb43b4a2d97ce2cd53e1ced30e8e8224fede70</id>
<content type='text'>
In PKINIT, if a certauth module returns KRB5_CERTAUTH_HWAUTH from its
authorize method, set the hw-authent flag in the ticket.

ticket: 8879 (new)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In PKINIT, if a certauth module returns KRB5_CERTAUTH_HWAUTH from its
authorize method, set the hw-authent flag in the ticket.

ticket: 8879 (new)
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid repeating typedef in certauth_plugin.h</title>
<updated>2017-08-21T14:51:32+00:00</updated>
<author>
<name>Greg Hudson</name>
<email>ghudson@mit.edu</email>
</author>
<published>2017-08-14T15:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/krb5.git/commit/?id=da47c655f084b511ea1f6142b6f571b5198915b7'/>
<id>da47c655f084b511ea1f6142b6f571b5198915b7</id>
<content type='text'>
Repeating an identical typedef is allowed by C11, but not C99 or C89.
Use the underlying structure type in certauth_plugin.h so that it can
safely be included along with kdb.h.

Also constify the name field in the vtable.

ticket: 8561
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Repeating an identical typedef is allowed by C11, but not C99 or C89.
Use the underlying structure type in certauth_plugin.h so that it can
safely be included along with kdb.h.

Also constify the name field in the vtable.

ticket: 8561
</pre>
</div>
</content>
</entry>
<entry>
<title>Add certauth pluggable interface</title>
<updated>2017-03-23T17:11:09+00:00</updated>
<author>
<name>Matt Rogers</name>
<email>mrogers@redhat.com</email>
</author>
<published>2017-02-28T20:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/krb5.git/commit/?id=b619ce84470519bea65470be3263cd85fba94f57'/>
<id>b619ce84470519bea65470be3263cd85fba94f57</id>
<content type='text'>
Add the header include/krb5/certauth_plugin.h, defining a pluggable
interface to control authorization of PKINIT client certificates.

Add the "pkinit_san" and "pkinit_eku" builtin certauth modules and
related PKINIT crypto X.509 helper functions.  Add authorize_cert() as
the entry function for certauth plugin module checks called in
pkinit_server_verify_padata().  Modify kdcpreauth_moddata to hold the
list of certauth module handles, and load the modules when the PKINIT
kdcpreauth server plugin is initialized.  Change
crypto_retrieve_X509_sans() to return ENOENT when no SAN is found.

Add test modules in plugins/certauth/test.  Create t_certauth.py with
basic certauth tests.  Add plugin interface documentation in
doc/plugindev/certauth.rst and doc/admin/krb5_conf.rst.

[ghudson@mit.edu: simplified code, edited docs]

ticket: 8561 (new)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the header include/krb5/certauth_plugin.h, defining a pluggable
interface to control authorization of PKINIT client certificates.

Add the "pkinit_san" and "pkinit_eku" builtin certauth modules and
related PKINIT crypto X.509 helper functions.  Add authorize_cert() as
the entry function for certauth plugin module checks called in
pkinit_server_verify_padata().  Modify kdcpreauth_moddata to hold the
list of certauth module handles, and load the modules when the PKINIT
kdcpreauth server plugin is initialized.  Change
crypto_retrieve_X509_sans() to return ENOENT when no SAN is found.

Add test modules in plugins/certauth/test.  Create t_certauth.py with
basic certauth tests.  Add plugin interface documentation in
doc/plugindev/certauth.rst and doc/admin/krb5_conf.rst.

[ghudson@mit.edu: simplified code, edited docs]

ticket: 8561 (new)
</pre>
</div>
</content>
</entry>
</feed>
