mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Martin Kosek
parent
4a2f812eb4
commit
8f71f42ef7
@@ -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,)
|
||||
|
||||
|
Reference in New Issue
Block a user