Bug#591659: gnome-keyring: Clients are unable to create a defaut keyring when LANG=fr_FR.UTF-8: not valid par_d\xffffffc3\xffffffa9faut

Olivier Guerrier olivier at guerrier.com
Wed Aug 4 14:01:45 UTC 2010


Package: gnome-keyring
Version: 2.30.3-1
Severity: normal


Step to reproduce:

On a fresh install (with no existing keyring). Try to create a keyring named 'par_défaut'. 
The file ~/.gnome2/keyrings/par_défaut.keyring is created, but if you try to see its content,
you'll get lots of errors like:
(seahorse:6140): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 56: Invalid UTF-8 encoded text in name - not valid ' par_d\xffffffc3\xffffffa9faut'

This issue has been verified with the following clients: network-manager, gnome-keyring-manager, seahorse.

Unfortunatly, when you use network-manager and want to add a new passphrase, if there is no existing keyring the system try to automatically create a 'par_défaut' keyring, but as it is not able to read again from it, you get a serie of par_défaut_1 par_défaut_2 par_défaut_N etc.

Probably the same with other utf8 locales if the default filename contains non ascii characters

Workaround:

- Open seahorse
- create a new keyring and name it 'default'
- set it as the default keyring (right click/defaut)
- rm ~/.gnome2/keyrings/par_défaut*

Now you can connect to wifi network and have your passphrase remembered.

Following is the same explanation in French:

Si vous avez le message d'erreur suivant en essayant d'enregistrer un mot de passe ou une passphrase via gnome-keyring pour la première fois, et que vous avez le message d'erreur suivant:
(seahorse:6140): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1 char 56: Invalid UTF-8 encoded text in name - not valid ' par_d\xffffffc3\xffffffa9faut'
(ou équivalent), alors une solution de contournement est:
- De lancer seahorse
- Créer un nouveau trousseau en le nommant 'default' (ou autre nom sans accents)
- Faites en le trousseau par défaut (clic droit/par défaut)
- effacer les anciens fichiers trousseau: rm ~/.gnome2/keyrings/par_défaut*

Maintenant network-manager (et d'autres) doivent pouvoir enregistrer les mots de passe.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (90, 'stable'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-keyring depends on:
ii  dbus-x11                      1.2.24-1   simple interprocess messaging syst
ii  gconf2                        2.28.1-3   GNOME configuration database syste
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.24-1   simple interprocess messaging syst
ii  libgcr0                       2.30.3-1   Library for Crypto UI related task
ii  libgcrypt11                   1.4.5-2    LGPL Crypto library - runtime libr
ii  libglib2.0-0                  2.24.1-1   The GLib library of C routines
ii  libgp11-0                     2.30.3-1   Glib wrapper library for PKCS#11 -
ii  libgtk2.0-0                   2.20.1-1   The GTK+ graphical user interface 
ii  libtasn1-3                    2.7-1      Manage ASN.1 structures (runtime)

Versions of packages gnome-keyring recommends:
ii  libpam-gnome-keyring          2.30.3-1   PAM module to unlock the GNOME key

gnome-keyring suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list