On Sun, Aug 1, 2010 at 12:59 PM, Nico Kadel-Garcia <nka...@gmail.com> wrote: >> AFAIK it's possible to run gnome-keyring without X. > > It's painful. Take a glance at > http://superuser.com/questions/141036/use-of-gnome-keyring-daemon-without-x, > which documents manually editing /etc/pam.d/ login settings. It's also > heavily dependent on X libraries.
Subversion and GNOME keyring work well without X. In your login script you just want: $ export `gnome-keyring-daemon` Subversion will prompt you for password to unlock the keyring when it is locked. In logout script you want: $ kill $GNOME_KEYRING_PID One problem is that GNOME does not provide any CLI for working with the keyring. CollabNet created a keyring_tool that lets you do this. It is packaged in the RPM we provide for Linux. $ keyring_tool Keyring tools is application that lets you manage keyrings. Usage: keyring_tool {--list | -t} List all the existing keyring names. keyring_tool {--setdef=keyring_name | -s keyring_name} Set given keyring as default keyring. keyring_tool {--getdef | -g} Get keyring name of default keyring. keyring_tool {--create=keyring_name | -c keyring_name} [-p password] Create a given keyring with a password. keyring_tool {--delete=keyring_name | -d keyring_name} Delete a given keyring. keyring_tool {--lock=keyring_name | -l keyring_name} Lock a given keyring. keyring_tool {--unlock=keyring_name | -u keyring_name} [-p password] Unlock given keyring with a password. keyring_tool {--modify=keyring_name | -m keyring_name} [-p password] [-n new_password] Modify given keyring, old password with a new password. keyring_tool {--info=keyring_name | -i keyring_name} Get information of a given keyring. keyring_tool {--version | -v} print version information. keyring_tool {--help | -h} Print this help. -- Thanks Mark Phippard http://markphip.blogspot.com/