https://bugs.kde.org/show_bug.cgi?id=441948

            Bug ID: 441948
           Summary: password should be percent-encoded and never sent to
                    log
           Product: systemsettings
           Version: 5.21.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_printer_manager
          Assignee: dantt...@gmail.com
          Reporter: k...@equaeghe.nospammail.net
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
When setting up a network printer that requires authentication using a password
with reserved characters, the printer is not created. Creating the printer with
a dummy password and then later editing /etc/cups/printers.conf by hand to
replace the dummy with the percent-encoded real password does work.

Clearly, the password should be percent-encoded before creating the full url
for cups. (N.B.: the login is percent-encoded as appropriate.)

STEPS TO REPRODUCE
1. Make sure to use a password with reserved characters
2. Configure network printer (e.g., smb) that requires authentication
3. Setup network printer and add login and password in boxes provided

OBSERVED RESULT
* New printer not created
* Error in log indicating that printer url is malformed (password is in
cleartext in the log!!!)

EXPECTED RESULT
* Password is percent-encoded
* Password is never ever sent to the system's log

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to