Files
heimdal/lib
Nicolas Williams cd2e423d10 hdb: Derive pw_end for virtual services
We derive keysets for virtual host-based service principals, and that
includes the `set_time` field of keys.  But applications using the kadm5
API lose that information.  Our httpkadmind wants to set a Cache-Control
header with an appropriate max-age so that clients know when to re-fetch
keytabs.

We could extract some of the lib/hdb/common.c functions so that
httpkadmind could re-create an HDB_entry from a kadm5 entry then compute
the desired time, but ultimately we already have an appropriate field in
the HDB_entry and kadm5_principal_ent_rec types: "password expiration".

So let's set the `pw_end` of a virtual host-based service's HDB entry to
the time when a client should next fetch the principal's keys, and we'll
use that in httpkadmind as the `pw_expiration` field of the kadm5 entry
type.
2022-04-25 22:24:51 -05:00
..
2022-03-16 15:04:10 -05:00
2022-01-21 10:09:44 +11:00
2022-01-30 14:20:05 -05:00
2022-03-21 13:54:04 -05:00
2022-02-11 15:17:32 -06:00
2017-03-10 15:47:43 -05:00
2022-01-21 23:01:44 -06:00
2016-12-15 12:15:56 -06:00