Bug #21721
closedforeman-maintain lower cases the uppercase characters while saving hammer credentials
Description
From the Bugzilla
~~~~~~~~~~~~~~~
Description of problem:
foreman-maintain lower cases the uppercase characters while saving hammer credentials
Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.0.11-1.el7sat.noarch
How reproducible:
Always
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
================================================================================
Setup hammer:
Hammer username [admin]:
Hammer password:
Invalid credentials
Actual results:
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.
Expected results:
credentials should be saved properly
Additional info:
Changing the credentials in /etc/foreman-maintain/foreman-maintain-hammer.yml works fine.
Updated by Anurag Patel over 7 years ago
- Project changed from Foreman to Foreman Maintain
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/126 added
Updated by Kavita Gaikwad over 7 years ago
- Has duplicate Bug #21793: foreman-maintain does not accept passwords in Capital letters added
Updated by Anonymous over 7 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_maintain|52dc72e1a8f9ea5b40facb9ff9534764b59e0df7.