[Bug 480818] New: pinentry-qt dialog does not handle dead keys correctly
https://bugzilla.novell.com/show_bug.cgi?id=480818 Summary: pinentry-qt dialog does not handle dead keys correctly Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mmtsales@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-1.4 Firefox/3.0.6 When using gpg, kgpg or kleopatra do decrypt a file, they use pinentry-qt to ask the user for the passphrase. It is impossible to enter the passphrase correctly if it has accented characters in it, because pinentry-qt dialogs do not handle dead keys correctly. For example, if I type "á", it gets "'a" (two asterisks are shown instead of just one). The same problem occurs when I try to change the password (pinentry-qt is used here too). As a result, I can't decrypt my files because of the accented characters in my private key's passphrase and I can't change the passphrase either. The files were encrypted using Kgpg in Fedora, this problem did not exist there. Reproducible: Always Steps to Reproduce: 1. Open Kgpg 2. Try to change the passphrase of a private key of yours by another with accented characters in it Actual Results: Asterisks are shown immediately after a dead key is pressed. Expected Results: An asterisk should be shown only when the next key is pressed after the dead key. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 User mmtsales@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480818#c1 Marcelo Sales <mmtsales@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmtsales@gmail.com Severity|Critical |Normal --- Comment #1 from Marcelo Sales <mmtsales@gmail.com> 2009-03-01 15:57:52 MST --- Changed priority to normal. I was able to decrypt the files by uninstalling pinentry-qt and installing pinentry-gtk2, which worked correctly. So, there's no risk of losing data anymore. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |puzel@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480818#c2 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #2 from Petr Uzel <puzel@novell.com> 2009-03-19 07:11:39 MST --- Marcelo, thanks for the report. The impossibility to use dead keys in pinentry-qt is caused by one of our patches which disables input methods for passphrase input field - it is a hack to circumvent pinentry-qt crashing with scim - see bugs #179996 and #117115. I'm not going to drop the patch from Factory, but I could build a pinentry-qt.rpm without that patch for you - it should work ok if you don't use scim. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 User mmtsales@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480818#c3 --- Comment #3 from Marcelo Sales <mmtsales@gmail.com> 2009-03-19 12:59:13 MST --- Hi, Petr, If the same patch is not going to be applied to pinentry-gtk2, I have no problem using it instead of pinentry-qt. So, once dead keys work correctly with pinentry-gtk2, there's no need to build the package without the patch, thanks for offering. However, pinentry-qt is installed by default for KDE users and maybe it should be fixed anyway, or the default install will be broken. Probably there are other users who will not be able to solve the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 User puzel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480818#c4 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #4 from Petr Uzel <puzel@novell.com> 2009-03-20 04:06:22 MST --- Hi Marcelo,
If the same patch is not going to be applied to pinentry-gtk2
No as there is no problem with SCIM.
However, pinentry-qt is installed by default for KDE users and maybe it should be fixed anyway, or the default install will be broken. Probably there are other users who will not be able to solve the problem.
Although I think that passwords with accented characters isn't the best idea, I've reconsidered my opinion - you are right that this issue deserves some effort to be fixed. So I'm reopening this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 User mmtsales@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480818#c5 --- Comment #5 from Marcelo Sales <mmtsales@gmail.com> 2009-03-20 10:42:36 MST --- Thanks for reopening. About the accented characters, I like to use them in passphrases because they make it much harder for a brute force attack to succeed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480818 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com