KPasswordDialog

Waldo Bastian bastian at kde.org
Wed Nov 3 14:26:51 GMT 2004


I have added to the KDE4 TODO:
- Replace KPasswordEdit with KLineEdit and adjust KPasswordDialog accordingly.

Cheers,
Waldo

On Wednesday 03 November 2004 14:43, George Staikos wrote:
> A few issues have come up recently with KPasswordDialog and, more
> importantly, KPasswordEdit.  I think both of these classes need to be
> deprecated, and KPasswordDialog rewritten.  Here's why:
>
> 1) KLineEdit provides everything that KPasswordDialog does, but better, in
> that it allows selection without setting the X selection or clipboard.  (it
> makes editting easier, and there is a wishlist for this)
> 2) It doesn't work properly with UTF-8 passwords  (there is a bug report
> for this)
> 3) KPasswordDialog doesn't seem to be fixable without breaking binary
> compatibility or doing messy things
>
> I notice the careful attention to using a char* for storing the password,
> but is this really necessary?  I think QString is perfectly acceptable - we
> have many other ways people can steal passwords from memory anyway.
>
> The final question is, given all of this, does anyone feel like taking on
> this job?  It should be rather straightforward...

-- 
bastian at kde.org   |   SUSE LINUX 9.2: Order now!   |   bastian at suse.com
  http://www.suse.de/us/private/products/suse_linux/preview/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041103/18e23cae/attachment.sig>


More information about the kde-core-devel mailing list