Project

General

Profile

Actions

Bug #21721

closed

foreman-maintain lower cases the uppercase characters while saving hammer credentials

Added by Anurag Patel over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Steps to Reproduce:
1. Say Satellite hammer password is CHANGEME!@#$%
2. Install rubygem-foreman_maintain
3. Run any foreman-maintain command: Example:
  1. 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.


Related issues 1 (0 open1 closed)

Has duplicate Foreman Maintain - Bug #21793: foreman-maintain does not accept passwords in Capital lettersDuplicateAshish Humbe11/28/2017Actions
Actions #1

Updated by Anurag Patel over 6 years ago

  • Project changed from Foreman to Foreman Maintain
Actions #2

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/126 added
Actions #3

Updated by Kavita Gaikwad over 6 years ago

  • Has duplicate Bug #21793: foreman-maintain does not accept passwords in Capital letters added
Actions #4

Updated by Anonymous over 6 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF