Files
heimdal/lib/hdb
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-01-15 18:54:57 +11:00
2022-01-15 18:54:57 +11:00
2022-01-14 17:10:16 -06:00
2022-01-15 18:54:57 +11:00
2022-01-15 18:54:57 +11:00
2022-03-18 18:33:53 -05:00
2022-01-17 17:32:24 -06:00
2022-01-17 17:32:24 -06:00
2022-01-14 17:10:16 -06:00
2022-01-20 12:41:39 -06:00
2017-04-29 01:05:59 -04:00
2022-01-15 18:54:57 +11:00
2022-01-20 12:41:39 -06:00