Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20929 - [gnome-keyring] can't remember passwords with locale zh_CN.utf8

Attached to Project: Arch Linux
Opened by Iven Hsu (ivenvd) - Friday, 24 September 2010, 09:07 GMT
Last edited by Ionut Biru (wonder) - Monday, 04 October 2010, 12:07 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I'm using zh_CN.utf8, the keyrings are saved in ~/.gnome2/keyrings/默认密钥.keyring, ~/.gnome2/keyrings/默认密钥_1.keyring, and so on.

But when I want to access to them, for example, in nm-applet, it outputs:
** Message: <info> No keyring secrets found for Auto AAP17-F2/802-11-wireless-security; asking user.

When I try to edit them via seahorse, seahorse outputs like this:
(seahorse:6532): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 111: Invalid UTF-8 encoded text in name - not valid ' \xffffffe9\xffffffbb\xffffff98\xffffffe8\xffffffae\xffffffa4\xffffffe5\xffffffaf\xffffff86\xffffffe9\xffffff92\xffffffa5'

I think it's a problem about encoding or related. I removed ~/.gnome2/keyrings/, and restart Arch with en_US.utf8, and it just works well.

Additional info:
gnome-keyring 2.30.3-2
libgnome-keyring 2.30.1-2

Steps to reproduce:
1. Change locale to zh_CN.utf8 in /etc/rc.conf
2. Rename ~/.gnome2/keyrings
3. Restart computer
4. Connect to wireless network via network manager, and save password with gnome-keyring
5. Disconnect wireless, and Reconnect, it will ask you for password again
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 04 October 2010, 12:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnome-keyring 2.32.0
Comment by Iven Hsu (ivenvd) - Friday, 24 September 2010, 09:21 GMT
Seems already fixed upstream, in this commit: http://git.gnome.org/browse/gnome-keyring/commit/?id=9072f847743e22eb6a96c70d1cac8bf506df8902
I'm not sure if it works.
Comment by Ionut Biru (wonder) - Friday, 24 September 2010, 09:25 GMT
i don't intend to backport it only for couples of days/weeks. gnome 2.32 is close to release date
Comment by Iven Hsu (ivenvd) - Friday, 24 September 2010, 09:30 GMT
Oh, I see. It's before September 27th. I'll wait for it, thanks.

Loading...