#493 interpolation in pkispawn scripts should not apply to passwords
Closed: Fixed None Opened 11 years ago by vakwetu.

This is from a case where an IPA user had a percent sign and left parentheses in his DM passwords.

2013-01-24T20:18:55Z DEBUG stderr=Traceback (most recent call last):
File "/usr/sbin/pkispawn", line 220, in <module>
main(sys.argv)
File "/usr/sbin/pkispawn", line 158, in main
rv = parser.read_pki_configuration_file()
File "/usr/lib/python2.7/site-packages/pki/deployment/pkiparser.py",
line 229, in read_pki_configuration_file
config.pki_subsystem_dict = dict(self.pki_config.items('CA'))
File "/usr/lib64/python2.7/ConfigParser.py", line 655, in items
for option in options]
File "/usr/lib64/python2.7/ConfigParser.py", line 691, in _interpolate
self._interpolate_some(option, L, rawval, section, vars, 1)
File "/usr/lib64/python2.7/ConfigParser.py", line 732, in
_interpolate_some
"'%%' must be followed by '%%' or '(', found: %r" % (rest,))
ConfigParser.InterpolationSyntaxError: '%' must be followed by '%' or
'(', found: '%'


Metadata Update from @vakwetu:
- Issue assigned to kaskahn
- Issue set to the milestone: 10.0.2

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1064

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata