Description of problem:
foreman-maintain lower cases the uppercase characters while saving hammer credentials
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Say Satellite hammer password is CHANGEME!@#$%
2. Install rubygem-foreman_maintain
3. Run any foreman-maintain command: Example:
# foreman-maintain upgrade check --target-version 6.3.z
Running preparation steps required to run the next scenarios
Hammer username [admin]:
The foreman-maintain fails with invalid credentials even though you enter the right password
/etc/foreman-maintain/foreman-maintain-hammer.yml saves the password as `changeme!@#$%`
All the upper case characters are lowercased. As far as I checked, the special characters look fine.
credentials should be saved properly
Changing the credentials in /etc/foreman-maintain/foreman-maintain-hammer.yml works fine.
Looks to me like the common ask() method is downcasing user's responses, and would affect uppercase usernames too. Will address this.
*** Bug 1518203 has been marked as a duplicate of this bug. ***
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21721 has been resolved.
This works perfectly with the update to foreman-maintain 0.1
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
*** Bug 1523702 has been marked as a duplicate of this bug. ***