FS#39913 - [gnome-keyring] Passwords keyring disappears on upgrade to 3.12.0-1
Attached to Project:
Arch Linux
Opened by Steven Haigh (CRCinAU) - Thursday, 17 April 2014, 00:28 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 July 2015, 04:35 GMT
Opened by Steven Haigh (CRCinAU) - Thursday, 17 April 2014, 00:28 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 July 2015, 04:35 GMT
|
Details
Description:
When upgrading to 3.12.0-1, the Passwords key rings disappear. This causes anything that has stored a password in the gnome-keyring to fail - and therefore not remember stored passwords. Downgrading to 3.10.1-2 restores the Passwords key ring and operates as it should. |
This task depends upon
Downgrading to 3.10.1-2 and rebooting restores the login passwords keyring.
/usr/bin/gnome-keyring-daemon --daemonize --login
I believe the passwords are the same - or maybe blank as I use lightdm autologin + XFCE. If not, I at least used whatever worked with 3.10.2-1 :)
Adding this to /etc/profile restored functionality for me:
export GNOME_KEYRING_CONTROL=$XDG_RUNTIME_DIR/keyring
After this, logging out and in again restored full keyring functionality.
https://github.com/GNOME/gnome-keyring/commit/2ca51a0aef5b1bc41f2e71d2b65edc8478dab69d
I fixed this by creating an new script to launch at startup:
#!/bin/bash
source /etc/X11/xinit/xinitrc.d/30-dbus
eval $(/usr/bin/gnome-keyring-daemon --replace --daemonize --components=gpg,pkcs11,secrets,ssh)
export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK
I then disabled the "Launch GNOME services" option from within XFCE.
This seems to init gnome-keyring-daemon properly. As we replace the instance launched by dbus, it fixes the problem - although in an ugly way.
At this stage, I have to do the following:
1) Add this to /etc/profile
export GNOME_KEYRING_CONTROL=$XDG_RUNTIME_DIR/keyring
2) Launch gnome-keyring at login via:
#!/bin/bash
source /etc/X11/xinit/xinitrc.d/30-dbus
eval $(/usr/bin/gnome-keyring-daemon --replace --daemonize --components=gpg,pkcs11,secrets,ssh)
export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK
Both of these are required - however it does work after the above two steps.