]> git.ipfire.org Git - pakfire.git/commit
daemon: Completely destroy the Kerberos credentials cache on update
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Apr 2025 16:53:11 +0000 (16:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Apr 2025 16:53:11 +0000 (16:53 +0000)
commitf75daee66f755d4ee6a2927cfa5f3ef7702fcba5
tree6a73e33f6b3f37433a95798e6e3d1a2982db5f99
parent19483ee172b2c7b4248839f8f278fc0bd584a91a
daemon: Completely destroy the Kerberos credentials cache on update

This is required because on Debian, cURL is linked against Heimdal which
does not seem to be able to skip any deleted tickets in the file.
Instead it always uses the first ticket which would eventually have
expired. Therefore we destroy the entire cache and write it again so
Heimdal cannot get confused.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/daemon.c