]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3927] Doc and chmod fixes
authorFrancis Dupont <fdupont@isc.org>
Wed, 9 Jul 2025 15:52:42 +0000 (17:52 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 9 Jul 2025 15:52:42 +0000 (17:52 +0200)
doc/sphinx/arm/security.rst
src/lib/asiolink/testutils/ca/meson.build [new file with mode: 0644]
src/lib/asiolink/testutils/meson.build

index ae856e4e3fac536271139d0326cd85f24ba84429..b8e71c056f0ed9520b855afcdb2912d96f648a54 100644 (file)
@@ -373,9 +373,10 @@ in the configuration file.**
 Depending on the database configuration, it is also possible to verify whether the system user matches the
 database username. Consult the MySQL or PostgreSQL manual for details.
 
-Kea supports client SSL/TLS settings for MySQL database and it must be
-configured explicitly for all used connections (configuration,
-reservations, leases, forensic logging).
+Kea supports client SSL/TLS settings for MySQL and PostgreSQL database
+and it must be configured explicitly for all used connections (configuration,
+reservations, leases, forensic logging). See the Database Connectivity
+section (:ref:`database-connectivity`) for details.
 
 Information Leakage Through Logging
 -----------------------------------
diff --git a/src/lib/asiolink/testutils/ca/meson.build b/src/lib/asiolink/testutils/ca/meson.build
new file mode 100644 (file)
index 0000000..9dd552a
--- /dev/null
@@ -0,0 +1,12 @@
+# PostgreSQL requires restricted permissions on the key files.
+current_source_dir = meson.current_source_dir()
+configure_file(
+    command: ['chmod', 'og-rwx', f'@current_source_dir@/kea-client.key'],
+    input: 'kea-client.key',
+    output: 'kea-client.key',
+)
+configure_file(
+    command: ['chmod', 'og-rwx', f'@current_source_dir@/kea-other.key'],
+    input: 'kea-other.key',
+    output: 'kea-other.key',
+)
index f5f5af49dce1f4e04bd2144d8acd5293dd041dbd..8974b6c7e2af0984163442523861385ee8cf3b19 100644 (file)
@@ -48,12 +48,4 @@ elif CRYPTO_DEP.name() == botan.name()
     )
 endif
 
-# PostgreSQL requires restricted permissions on the key files.
-configure_file(
-    command: ['chmod', 'og-rwx', f'@TEST_CA_DIR@/kea-client.key'],
-    output: f'kea-client.key',
-)
-configure_file(
-    command: ['chmod', 'og-rwx', f'@TEST_CA_DIR@/kea-other.key'],
-    output: f'kea-other.key',
-)
+subdir('ca')