From c00946ee20f55f23b41ac2360949a2bd8a6ec929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Ozevic=CC=8C?= Date: Mon, 26 Apr 2021 10:07:38 +0300 Subject: [PATCH] Fixed error message in case sign_update can't find the key in the keychain --- sign_update/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign_update/main.swift b/sign_update/main.swift index a40cbbc2..8eacef62 100644 --- a/sign_update/main.swift +++ b/sign_update/main.swift @@ -21,7 +21,7 @@ func findKeysInKeychain() -> (Data, Data) { if res == errSecSuccess, let encoded = item as? Data, let keys = Data(base64Encoded: encoded) { return (keys[0..<64], keys[64..<(64+32)]) } else if res == errSecItemNotFound { - print("ERROR! Signing key not found. Please run generate_keys tool first or provide path to pem file as a second parameter.") + print("ERROR! Signing key not found. Please run generate_keys tool first or provide key with -f or -s parameter.") } else if res == errSecAuthFailed { print("ERROR! Access denied. Can't get keys from the keychain.") print("Go to Keychain Access.app, lock the login keychain, then unlock it again.")