Bug 147400 - KGpg works incorrectly with non-latin charsets
Summary: KGpg works incorrectly with non-latin charsets
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: KDE (show other bugs)
Version: unspecified
Hardware: x86 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Petr Uzel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 20:47 UTC by Alexander Lavrinenko
Modified: 2008-06-16 11:06 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
First tried to add UserID with KGpg (28.93 KB, image/png)
2006-02-01 21:00 UTC, Alexander Lavrinenko
Details
Next tried to add another UserID again with russian characters (1.26 MB, image/png)
2006-02-01 21:02 UTC, Alexander Lavrinenko
Details
After second try (30.32 KB, image/png)
2006-02-01 21:03 UTC, Alexander Lavrinenko
Details
Procedure of adding UserID from console (39.24 KB, image/png)
2006-02-01 21:05 UTC, Alexander Lavrinenko
Details
How UserID added from console looks like in KGpg (29.54 KB, image/png)
2006-02-01 21:06 UTC, Alexander Lavrinenko
Details
Wrong charset in message (7.18 KB, image/png)
2006-02-01 21:28 UTC, Alexander Lavrinenko
Details
Kgpg and console keys editing (277.58 KB, image/png)
2007-03-20 21:58 UTC, Alexander Lavrinenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Lavrinenko 2006-02-01 20:47:57 UTC
Greetings!

Seems that KGpg is unable to handle unicode correctly. My desktop is localised for russian, and when I try to modify my PGP key with KGpg after I enter Visible Name and Comment in relevant fields in russian, KGpg shows them as question sighs (?????? ??????). Please observe the screenshots attached.
Comment 1 Alexander Lavrinenko 2006-02-01 21:00:49 UTC
Created attachment 66093 [details]
First tried to add UserID with KGpg

Shot of KGpg after I tried to add yet another User ID to my exsisting key - quiestion signs seen instead of russian letters.
Comment 2 Alexander Lavrinenko 2006-02-01 21:02:38 UTC
Created attachment 66094 [details]
Next tried to add another UserID again with russian characters

Here is KGpg's dialog for adding another User ID to the exsisting key - once again, trying to add another ID with non-latin symbols.
Comment 3 Alexander Lavrinenko 2006-02-01 21:03:16 UTC
Created attachment 66095 [details]
After second try

Here how it looks after my second try
Comment 4 Alexander Lavrinenko 2006-02-01 21:05:27 UTC
Created attachment 66097 [details]
Procedure of adding UserID from console

This is successfull attempt to add UserID with UTF-8 from console. This was called with Alt+Return keystroke (or 'Edit from console' right-click menu item) from within KGpg.
Comment 5 Alexander Lavrinenko 2006-02-01 21:06:34 UTC
Created attachment 66098 [details]
How UserID added from console looks like in KGpg

And finally this is how successfully added UserID from console looks like in KGpg.
Comment 6 Alexander Lavrinenko 2006-02-01 21:28:01 UTC
Created attachment 66099 [details]
Wrong charset in message
Comment 8 Lukas Tinkl 2006-06-03 10:58:22 UTC
Fixed in KDE SVN by rev. 547761, will put in autobuild on Monday
Comment 9 Lukas Tinkl 2006-07-17 11:26:39 UTC
Probably no need to, it will appear in next SL version anyway
Comment 10 Alexander Lavrinenko 2007-03-20 21:52:16 UTC
The problem still persists in openSUSE 10.2 with latest updates.
Comment 11 Alexander Lavrinenko 2007-03-20 21:58:42 UTC
Created attachment 125584 [details]
Kgpg and console keys editing

Kgpg screenshot with "Edit key via konsole" konsole opened.
1 - wrong escape sequences instead of unicode symbols
2 - console key editing blocks Kgpg
Comment 13 Lukas Tinkl 2007-05-11 12:03:06 UTC
Hmm, I believe I fixed it some time ago, don't know what happened that it appeared again... :(
Comment 14 Vladimir Nadvornik 2007-10-18 09:47:46 UTC
new maintainer
Comment 15 Petr Cerny 2008-04-30 15:08:46 UTC
Leaving SUSE - reassigning to Vladimir.

I'm suspicious about gpg not using Unicode under some circumstances and confusing pinentry.
Comment 16 Petr Cerny 2008-04-30 15:11:05 UTC
Eh pinentry - I meant Kgpg. As for now, it seems to me, this is related to bug #305752.
Comment 17 Vladimir Nadvornik 2008-05-15 09:24:07 UTC
new maintainer
Comment 18 Petr Uzel 2008-06-16 11:06:24 UTC
The bug is caused by wrong parsing of 'gpg --list-keys --with-colons' output (in kgpg). Closing with wontfix, because
- already fixed in kgpg-4.x
- it's a minor issue not affecting functionality
- backporting the fix from KDE4 would not be trivial (because of major changes in underlying libraries)