Skip Menu |
 

Subject: new API for storing extra per-principal data in ccache
Patch from Apple that introduces a new API for storing additional data
in the ccache on a per-principal basis.
Download LHA-3506795-cc-gset-config.patch
application/octet-stream 8.3KiB

Message body not shown because it is not plain text.

Over the years there have been many organizations that have stored items
in the credential cache as a service principal with a non-Kerberos
ticket as the data blob. This has been frowned upon and I believe for
good reason.

If we want to make the credential cache an arbitrary storage mechanism
than we should stored typed blobs and permit the registration of blob
types.

Examples of items that organizations have wanted to store in the
credential cache server include:

* X.509 certificates and private keys
* SSH public and private keys
* PGP public and private keys
* configuration data

I think permitting the credential cache to be used in this manner is a
good thing. I simply believe that doing so by constructing arbitrary
service names is not.

Tools that list / manipulate the content of the credential cache will
not understand the non-Kerberos v5 ticket blobs.

The credential cache already has support for typed objects because it
must distinguish between v4 and v5 objects. I believe opening the
registration process to permit third parties to register new types is a
preferable way to go.
From: hartmans@mit.edu
Subject: SVN Commit

Integrate Apple APIs for storing configuration parameters in a ccache.

* krb5_cc_get_config: get a config parameter from a ccache
* krb5_cc_set_config: set a configuration parameter in a ccache
* krb5_is_config_principal: should this principal be skipped during ccache iteration
* klist: skip config principals

https://github.com/krb5/krb5/commit/a9d974df3c88bfa544b3369a95a00d4254946f72
Commit By: hartmans
Revision: 23316
Changed Files:
U users/hartmans/fast-negotiate/src/clients/klist/klist.c
U users/hartmans/fast-negotiate/src/include/krb5/krb5.hin
U users/hartmans/fast-negotiate/src/lib/krb5/ccache/ccapi/stdcc.c
U users/hartmans/fast-negotiate/src/lib/krb5/ccache/ccfns.c
U users/hartmans/fast-negotiate/src/lib/krb5/libkrb5.exports
From: hartmans@mit.edu
Subject: SVN Commit

Integrate Apple APIs for storing configuration parameters in a ccache.

* krb5_cc_get_config: get a config parameter from a ccache
* krb5_cc_set_config: set a configuration parameter in a ccache
* krb5_is_config_principal: should this principal be skipped during ccache iteration
* klist: skip config principals

https://github.com/krb5/krb5/commit/c9926e977dc9a460bebc5050e911c957eae7b8e6
Commit By: hartmans
Revision: 23403
Changed Files:
U branches/fast-negotiate/src/clients/klist/klist.c
U branches/fast-negotiate/src/include/krb5/krb5.hin
U branches/fast-negotiate/src/lib/krb5/ccache/ccapi/stdcc.c
U branches/fast-negotiate/src/lib/krb5/ccache/ccfns.c
U branches/fast-negotiate/src/lib/krb5/libkrb5.exports