No longer shell escape the DM password when calling pkisilent.

pkisilent was modified to handle escaping characters itself in
BZ https://bugzilla.redhat.com/show_bug.cgi?id=769388

This removes the workaround from ticket 1636.

https://fedorahosted.org/freeipa/ticket/2529
This commit is contained in:
Rob Crittenden
2012-03-13 21:53:06 -04:00
committed by Martin Kosek
parent 4a2f812eb4
commit 8f71f42ef7
2 changed files with 7 additions and 18 deletions

View File

@@ -660,9 +660,6 @@ class CAInstance(service.Service):
args.append("-clone")
args.append("false")
# pkisilent does not escape the arguments before passing them to shell
args[2:] = [ipautil.shell_quote(i) for i in args[2:]]
# Define the things we don't want logged
nolog = (self.admin_password, self.dm_password,)