Open source TPM software for Bootstrapping and Maintaining Trust
Go to file
Anderson Toshiyuki Sasaki eca2d398c1
Implement verifier graceful shutdown
The included patches implement graceful shutdown for both pull and push
models, cancelling pending operations, and waiting for critical
in-flight operations to finish before shutting down.

Backport the following upstream PRs:
 - https://github.com/keylime/keylime/pull/1809
   - Document supported configuration options
   - Sync missing and removed options from configuration templates
 - https://github.com/keylime/keylime/pull/1868
   - Remove 'enable_authentication' from agent config templates
 - https://github.com/keylime/keylime/pull/1855
   - Add push-model documentation
 - https://github.com/keylime/keylime/pull/1869
   - Add verifier graceful shutdown
 - https://github.com/keylime/keylime/pull/1883
   - Ignore SIGTERM and SIGINT signals on Manager and parent processes
 - https://github.com/keylime/keylime/pull/1886
   - Move socket from /tmp to /var/run/keylime

Also, update the keylime-selinux to the latest release (43.2.1) to
include the following changes:

 - https://github.com/RedHat-SP-Security/keylime-selinux/pull/33
   - Allow Keylime to perform socket operation on /var/run/keylime
 - https://github.com/RedHat-SP-Security/keylime-selinux/pull/34
   - Allow Keylime to read /proc/net to populate certificates Subject
     Alternative Names (SAN)

Documentation updates and configuration template updates were included
to allow the graceful shutdown patch to apply cleanly.

This also modifies the test runner to use pytest, adding python3-pytest
to the BuildRequires. This was necessary to make the fixtures created in
conftest.py to be used, which is not available when running with
unittest.

Resolves: RHEL-151493
Resolves: RHEL-151408

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2026-04-17 17:09:33 +02:00
.fmf Added Fedora CI tmt test plan 2022-02-17 20:39:08 +01:00
.gitignore Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
0001-Fix-timestamp-conversion-to-use-UTC-timezone.patch Updating for Keylime release v7.14.1 2026-02-13 13:04:41 +00:00
0002-Fix-efivar-availability-check-in-test_create_mb_poli.patch Updating for Keylime release v7.14.1 2026-02-13 13:04:41 +00:00
0003-Close-DB-sessions-to-prevent-connection-exhaustion.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0004-Include-thread-safe-session-management.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0005-Address-some-improvements-from-code-review.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0006-Fix-race-condition-on-in-SessionManager.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0007-Fix-linter-errors-in-PersistableModel.get-and-.all.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0008-refactor-Remove-dead-code-AuthSession.authenticate_a.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0009-db-Clean-up-scoped-session-after-each-request.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0010-fix-Check-active-flag-in-_extract_identity-and-guard.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0011-fix-Add-fork-safety-to-DBManager-via-dispose.patch Add patches to fix DB connection leaks 2026-03-23 11:28:49 +01:00
0012-fix-mem-leak-remove-unbounded-functools.cache-from-l.patch Remove unbounded functools.cache from latest_attestation 2026-04-01 09:06:48 +00:00
0013-fix-verifier-race-condition-on-agent-delete.patch Fix verifier race condition on agent delete 2026-04-14 11:25:21 +02:00
0014-push-attestation-documentation.patch Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
0015-remove-enable-authentication-config-option.patch Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
0016-docs-push-attestation-config-tables.patch Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
0017-verifier-graceful-shutdown.patch Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
0018-ignore-sigterm-sigint-manager-parent-processes.patch Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
0019-move-socket-var-run.patch Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
changelog Opt in to rpmautospec 2022-07-07 12:36:01 -03:00
ci_tests.fmf tests: Update CI test plan for C10S 2024-05-09 15:56:26 +02:00
gating.yaml Add rhel-10 gating.yaml 2024-06-24 16:05:26 +00:00
keylime-fix-db-connection-leaks.patch Fix DB connection leaks 2025-08-08 17:04:40 +02:00
keylime.spec Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00
keylime.sysusers Updating for Keylime release v6.4.2 2022-07-08 15:39:47 -03:00
keylime.tmpfiles Fix tmpfiles.d configuration related to the cert store 2025-07-24 09:12:44 +01:00
README.md Added the README 2019-12-13 15:07:05 +00:00
sources Implement verifier graceful shutdown 2026-04-17 17:09:33 +02:00

keylime

The keylime package