Package: ksshaskpass
Version: 0.5.3-1+b1
Severity: normal

$ ksshaskpass "f<b>oo</b> bar"

when ksshaskpass gets passed text containing '<' characters, it
interprets them as markup, contrary to what the classical ssh-askpass
(and all other askpass implementations i'm aware of, apart from
ssh-askpass-fullscreen which the same bug was reported against[1]) does.

in the same vein, newlines in the input are silently discarded, while
all other impementations show them as line breaks.

tracing this down in the code, i read the KPasswordDialog::setPrompt
function, which passes the input data to QLabel::setText without ever
calling QLabel::setTextFormat. not sure how to tell the KPasswordDialog
to consider the text plain text properly.

please bring ksshaskpass in line with the other askpass implementations.


best regards
chrysn

[1] http://bugs.debian.org/568779

Attachment: signature.asc
Description: Digital signature

Reply via email to