#2913 pki commands using '-C' to read a complex password from a file do not succeed
Closed: fixed 6 years ago Opened 6 years ago by tvaughan.

If my password is the following autogenerated password:

hsqLLkjaZyfw0QlCmrnYdYXTzH3bGDeF-_%=_-_@%%_++-%%-=%_-%@-_==+%%+%

Running the following command:

pki -d ~/.dogtag/pki-tomcat/ca/alias -C ~/.dogtag/pki-tomcat/ca/password.conf -n 'caadmin' cert-find

Results in the following output:

Error: Incorrect client security database password.

If I do not use -C and instead copy and paste the password in at the prompt, everything works as expected and I receive the certificate list.

Expected Result: Any valid password, regardless of content, should work when read from a password file.


Metadata Update from @mharmsen:
- Custom field component adjusted to None
- Custom field feature adjusted to None
- Custom field origin adjusted to None
- Custom field proposedmilestone adjusted to None
- Custom field proposedpriority adjusted to None
- Custom field reviewer adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

6 years ago

Metadata Update from @edewata:
- Issue close_status updated to: fixed
- Issue set to the milestone: 10.6.0 (was: 0.0 NEEDS_TRIAGE)
- Issue status updated to: Closed (was: Open)

6 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/3031

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