Closed stdevel closed 6 years ago
Looks like the library does not decrypt the login information at all; encrypted information are handed to katprep tools:
$ katprep_snapshot -C katprep_crypt.auth -d
Authentication container password:
...
DEBUG:katprep_snapshot:Arguments: None
DEBUG:katprep_snapshot:Output file will be: './errata-snapshot-report-st-katello01-20180720-1433.json'
DEBUG:ForemanAPIClient:Hostname/User/Pass: st-katello01.stankowic.loc/svc-katprep/s/gAAAAA...
Investigating in branch bug-crypted_authcontainer-issue85
.
katprep_populate
, katprep_parameters
and katprep_maintenane
where using AuthContainers with missing password parameter - therefore even correct passwords were ignored. Fixed in commit fcd2fc9cf6fbfe1fad2efde2ecb79a2b6e1a7ae4.
Fixed in commit 12f2c96a2d0769a8458abc8846b101f5d9282fe9.
Describe the bug Currently, it is not possible to utilize encrypted authentication containers. Authentication data is only submitted correctly when the authentication container is unencrypted.
To Reproduce
katprep_authconfig file.auth password
katprep_snapshot
Expected behavior Authentication information is decrypted with the specified password and used for authentication.
Screenshots See log below.
Environment (please complete the following information):
Additional context