From f11520377893841e4da73da842fb7bb0cf86b7ed Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 13 May 2024 08:43:31 +0200 Subject: [PATCH] OpenSSL signatures need a newline after base64 string --- application/controllers/Lotw.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Lotw.php b/application/controllers/Lotw.php index 2bae0a643..a74e0f8c0 100644 --- a/application/controllers/Lotw.php +++ b/application/controllers/Lotw.php @@ -976,7 +976,7 @@ class Lotw extends CI_Controller { openssl_free_key($pkeyid); } $signature_b64 = base64_encode($signature); - return $signature_b64; + return $signature_b64."\n"; } } else { log_message('error', 'Error signing LoTW log.');