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-02 08:19:30 +0200
commite365df91b9f39e89bcff3f6e93cd43297e276374 (patch)
tree4e0846f4934cd9df2c1675d654fa5c2088961fd4
parentee61c5561be94d3a24ad05643dca8338c47b3b84 (diff)
downloadpki-e365df91b9f39e89bcff3f6e93cd43297e276374.tar.gz
pki-e365df91b9f39e89bcff3f6e93cd43297e276374.tar.xz
pki-e365df91b9f39e89bcff3f6e93cd43297e276374.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 e234e194d..0082a8555 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',