I want subversion to encrypt my passwords on a Fedora server without the gnome desktop running. However I did start in the gnome GUI for a sanity test and did the normal mods to:
password-stores = gnome-keyring
store-passwords = yes
[global]
store-passwords = yes
store-plaintext-passwords = no
Then I deleted the ~/.subversion/auth
dir, performed an svn operation and presto, password stored in the gnome-keyring and not plain-text. Then I ssh'd to the same server and ran:
export `gnome-keyring-daemon`
which gave me a funny error:
gnome-keyring-daemon: couldn't lookup ssh component setting: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Not running within active session)gnome-keyring-daemon: couldn't lookup pkcs11 component setting: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Not running within active session)
At this point I'm stuck. Only other thing I can say is that when the gnome desktop is running I can export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oCE5teZHWJ,guid=39013abab7d3f9e97422b8d94e45a9c2
on the ssh client and that works.
Check here: http://technicalprose.blogspot.com/2011/06/using-subversion-with-gnome-keyring.html
Mark Bannister has good instructions and a great script that pulls it all together.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With