From d55569ed5185aa5d39cc95804c45a4fa3c0a371a Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 6 Oct 2014 15:09:21 -0400 Subject: [PATCH] Reworded invalide private key data to be more generic --- awx/main/models/credential.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/credential.py b/awx/main/models/credential.py index 446b303981..d8be5aa576 100644 --- a/awx/main/models/credential.py +++ b/awx/main/models/credential.py @@ -222,7 +222,7 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique): """ cert = '' data = data.strip() - validation_error = ValidationError('Invalid SSH private key') + validation_error = ValidationError('Invalid private key') # Set up the valid private key header and footer. begin_re = r'(-{4,})\s*BEGIN\s+([A-Z0-9]+)?\s*PRIVATE\sKEY\s*(-{4,})'