-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.16.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Create image pull secret with whitespace in the beginning/end of username and password, decode the auth in the '.dockerconfigjson' of the secret, it still contains whitespace in password.
Version-Release number of selected component (if applicable):
4.16.0-0.nightly-2024-07-29-134911
How reproducible:
Always
Steps to Reproduce:
1.Create image pull secret with whitespace in the beginning/end of username and password, eg: ' testuser ',' testpassword '
2.Check on the secret details page, reveal values of ".dockerconfigjson", decode the value of 'auth'.
3.
Actual results:
1. Secret is created.
2. There is not whitespace in value for username and password. But the decoded result of 'auth' contains whitespace in password.
$ echo 'dGVzdHVzZXI6ICB0ZXN0cGFzc3dvcmQgIA==' | base64 -d
testuser: testpassword
Expected results:
1. Should not contain whitespace in password after decode auth. eg:
testuser:testpassword
Additional info:
- links to
-
RHEA-2024:6122
OpenShift Container Platform 4.18.z bug fix update