summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2015-11-23 12:01:45 +0100
committerEndi S. Dewata <edewata@redhat.com>2016-04-05 22:46:26 +0200
commit8c554aadf788026ce720ab3218a3a46086ffa914 (patch)
tree3ad3e1f1c9745d04ee273acd117a2c19eb07c32a
parentaa5f83fe574cdf1e53236e7d05bf8dd8532143b7 (diff)
downloadpki-8c554aadf788026ce720ab3218a3a46086ffa914.tar.gz
pki-8c554aadf788026ce720ab3218a3a46086ffa914.tar.xz
pki-8c554aadf788026ce720ab3218a3a46086ffa914.zip
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 <cheimes@redhat.com>
-rw-r--r--base/server/python/pki/server/deployment/pkiparser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py
index 8ccea422d..61bf75fe7 100644
--- a/base/server/python/pki/server/deployment/pkiparser.py
+++ b/base/server/python/pki/server/deployment/pkiparser.py
@@ -331,8 +331,11 @@ 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_replication_password',
'pki_security_domain_password',