From 2fe50f3098aba9d604a812604cecb75279f445bf Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 23 Nov 2015 12:01:45 +0100 Subject: Fix escaping of password fields to prevent interpolation Some password and pin fields are missing from the no_interpolation list. One entry is misspelled. A '%' in password field such as pki_clone_pkcs12_password causes an installation error. https://fedorahosted.org/pki/ticket/1703 Signed-off-by: Christian Heimes --- base/server/python/pki/server/deployment/pkiparser.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'base/server/python') diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py index 09619d557..d2b37d062 100644 --- a/base/server/python/pki/server/deployment/pkiparser.py +++ b/base/server/python/pki/server/deployment/pkiparser.py @@ -339,11 +339,15 @@ class PKIConfigParser: 'pki_admin_password', 'pki_backup_password', 'pki_client_database_password', + 'pki_client_pin', 'pki_client_pkcs12_password', + 'pki_clone_pkcs12_password', 'pki_ds_password', + 'pki_one_time_pin', 'pki_pin', - 'pki_replicationdb_password', - 'pki_security_domain_password') + 'pki_replication_password', + 'pki_security_domain_password', + 'pki_token_password') print('Loading deployment configuration from ' + config.user_deployment_cfg + '.') -- cgit