Ever since 3.0 (probably even before) the encryption of database fields that was used is invalid, it uses RSA to encrypt blobs instead of using ciphers within envelope. It also stores null and empty strings as plain, and to make it even better it trims spaces out of the input for some reason. To conclude security... if decryption fails it falls back to use the blob as plain text. This logic was untouched, under the hope that we slowly remove usages of it. AAA does not use it any more, we should remove all. For now, we remove the trim() as if the password of trim() actually works so far it will keep working, new passwords with leading/trailing spaces will be rejected. The risk is if for some reason we have " "* in database field it will be rejected as valid password, fixing it will be re-set password by user to empty one.
This is an automated message. This Bugzilla report has been opened on a version which is not maintained anymore. Please check if this bug is still relevant in oVirt 3.5.4. If it's not relevant anymore, please close it (you may use EOL or CURRENT RELEASE resolution) If it's an RFE please update the version to 4.0 if still relevant.
Hi, Could you provide any steps how to test it ? If I understand it correctly, just try to set new password with leading/trailing spaces ? Thank you.
(In reply to Petr Kubica from comment #2) > Could you provide any steps how to test it ? > If I understand it correctly, just try to set new password with > leading/trailing spaces ? yes... but which password...? in 3.6 we are left only with storage password, I am unsure how you set these, tal? in 3.5 you can use the engine-config -s AdminPassword and play with the admin password.
Target release is set to 3.5.5 so I verified it in rhevm-3.5.5-0.1.el6ev.noarch Now user can set the password with leading/trailing spaces in the password.
Fixed bug tickets must have version flags set prior to fixing them. Please set the correct version flags and move the bugs back to the previous status after this is corrected.
oVirt 3.5.5 has been released including fixes for this issue.