12 Commits
Author SHA1 Message Date
sduesterhaupt cc2ca834d2 feat(edh-keygen): configure shared DH parameter permissions
Add configurable ownership and permission defaults for shared DH
parameter directories and files.

Set shared DH parameter defaults to root:root, directory mode 0755, and file
mode 0644 so non-root TLS services can traverse the directory and read DH
parameter files.

Enforce configured ownership and modes after synchronization and document the
security boundary between public DH parameters and TLS private keys.
2026-09-14 21:00:04 +02:00
sduesterhaupt 27f665bbf7 feat(edh-keygen): support user and oneshot service actions
Validate configured systemd units before applying service-specific DH
parameter synchronization.

Synchronize per-service DH parameters before restarting active units. Query
system-wide and per-user systemd managers with LoadState, ActiveState,
SubState, and Type.

Restart active units, start inactive or failed Type=oneshot units, and leave
inactive or failed non-oneshot units without a service action. Skip missing
units, unavailable user managers, and invalid or incomplete service
definitions without creating misleading synchronization messages.

Add robust error handling for DH parameter generation, permission changes,
directory creation, global synchronization, and temporary file cleanup.
1.0.0
2026-09-06 14:03:01 +02:00
sduesterhaupt cc9f6106a5 Typo has been fixed 2026-02-22 16:04:56 +01:00
sduesterhaupt 23ae5f3f2c Some typos have been fixed 2026-02-08 15:49:55 +01:00
sduesterhaupt dd7e9d5953 Convert legacy user.group notation to user:group 2026-02-08 15:20:07 +01:00
sduesterhaupt 59ada2477a Only service lines (without =) are processed by the service loop 2025-05-19 23:33:18 +02:00
sduesterhaupt f2676498cd Parameter 'key_sizes' has been added to the config 2025-05-19 21:54:42 +02:00
sduesterhaupt 80034ba0e7 Typo with enumerated list has been fixed 2025-05-18 15:22:37 +02:00
sduesterhaupt afa4c7532d Typo has been fixed 2025-05-18 15:14:39 +02:00
sduesterhaupt d6ee9b8341 Content has been refined 2025-05-18 15:10:25 +02:00
sduesterhaupt f67991ab87 Initial commit 2025-05-18 14:56:41 +02:00
sduesterhaupt 99d8cf6272 Initial commit 2025-05-18 12:08:05 +02:00