From 71a46c9bd64fa84494b26746cdc722ad32dedf6e Mon Sep 17 00:00:00 2001 From: Sebastian Marsching Date: Sat, 18 Oct 2025 13:01:30 +0200 Subject: [PATCH] Fixed #18065: ensure that private_key_bits is always an int. --- app/Http/Requests/SettingsSamlRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/SettingsSamlRequest.php b/app/Http/Requests/SettingsSamlRequest.php index 53a3521018..c9d91d2ba0 100644 --- a/app/Http/Requests/SettingsSamlRequest.php +++ b/app/Http/Requests/SettingsSamlRequest.php @@ -109,7 +109,7 @@ class SettingsSamlRequest extends FormRequest ]; $pkey = openssl_pkey_new([ - 'private_key_bits' => config('app.saml_key_size'), + 'private_key_bits' => (int) config('app.saml_key_size'), 'private_key_type' => OPENSSL_KEYTYPE_RSA, ]);