Skip to content

Commit

Permalink
Improve unable decode private key error messages (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgiepoo authored Dec 9, 2024
1 parent 9902f2f commit e13e63c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_appcast/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit e13e63c

Please sign in to comment.