From e13e63c85e8f5b33d46681f6956c0362eac307fc Mon Sep 17 00:00:00 2001 From: Zorg Date: Sun, 8 Dec 2024 17:47:08 -0800 Subject: [PATCH] Improve unable decode private key error messages (#2675) --- generate_appcast/main.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_appcast/main.swift b/generate_appcast/main.swift index 60476ca75..df3163a50 100644 --- a/generate_appcast/main.swift +++ b/generate_appcast/main.swift @@ -26,11 +26,11 @@ func loadPrivateKeys(_ account: String, _ privateDSAKey: SecKey?, _ privateEdStr print("Error: specifying private key as the argument is no longer supported.") return nil } else { - print("Error: Private key not found in decoded argument, which has \(data.count) bytes. Please provide a valid key.") + print("Error: Private key not decoded from the argument, which has \(data.count) bytes. Please provide a valid key and confirm the contents of the key are correct.") return nil } } else { - print("Error: Private key not found in the argument. Please provide a valid key.") + print("Error: Private key not decoded from the argument because it isn't base64 encoded. Please provide a valid key and confirm the contents of the key are correct.") return nil } }